Skip to content

add RSA OAEP#97

Merged
vmidyllic merged 2 commits into
mainfrom
fix/rsa-oaep-anon
Mar 11, 2026
Merged

add RSA OAEP#97
vmidyllic merged 2 commits into
mainfrom
fix/rsa-oaep-anon

Conversation

@vmidyllic

Copy link
Copy Markdown
Contributor

This pull request updates the supported algorithms for anonymous encryption in the utils/accept.go file, aligning them with the definitions provided by the jwa package from lestrrat-go/jwx/v3. The change ensures that the code uses standardized algorithm identifiers.

Cryptographic algorithm updates:

  • Updated the list of valid Anoncrypt algorithms in isAcceptAnoncryptAlgorithms to use jwa.RSA_OAEP_256() and jwa.ECDH_ES_A256KW() string representations, instead of the previous protocol.AnoncryptECDHESA256KW constant.
  • Added an import for the jwa package from lestrrat-go/jwx/v3 to enable usage of these standardized algorithm names.

@vmidyllic vmidyllic merged commit 233ae1c into main Mar 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants