Skip to content

[PB-6403]: feat/public key address lookup#44

Open
jzunigax2 wants to merge 1 commit into
masterfrom
feat/public-key-lookup
Open

[PB-6403]: feat/public key address lookup#44
jzunigax2 wants to merge 1 commit into
masterfrom
feat/public-key-lookup

Conversation

@jzunigax2
Copy link
Copy Markdown
Contributor

  • Added the lookupPublicKeysForAddresses method to AccountService to retrieve public keys for a list of email addresses, handling both internal and external addresses.
  • Enhanced account service tests to cover various scenarios, including cases with no active domains, mixed address types, and malformed addresses.
  • Updated AddressRepository and MailAddressKeysRepository to enforce a maximum batch size of 50 addresses for lookups, with appropriate error handling.
  • Introduced new endpoints in EmailController and EmailService to facilitate recipient key lookups, ensuring proper request validation and response formatting.

… and corresponding tests

- Added the lookupPublicKeysForAddresses method to AccountService to retrieve public keys for a list of email addresses, handling both internal and external addresses.
- Enhanced account service tests to cover various scenarios, including cases with no active domains, mixed address types, and malformed addresses.
- Updated AddressRepository and MailAddressKeysRepository to enforce a maximum batch size of 50 addresses for lookups, with appropriate error handling.
- Introduced new endpoints in EmailController and EmailService to facilitate recipient key lookups, ensuring proper request validation and response formatting.
@jzunigax2 jzunigax2 requested review from apsantiso and xabg2 May 15, 2026 21:53
@jzunigax2 jzunigax2 self-assigned this May 15, 2026
@jzunigax2 jzunigax2 added the enhancement New feature or request label May 15, 2026
@sonarqubecloud
Copy link
Copy Markdown

@jzunigax2 jzunigax2 changed the title feat: public key address lookup [PB-6403]: feat/public key address lookup May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant