Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide public API for unpacking a header without decrypting a message #236

Open
farleyb-amazon opened this issue Dec 9, 2021 · 2 comments

Comments

@farleyb-amazon
Copy link
Contributor

We have had requests from customers to be able to unpack the header without attempting to decrypt the message, in order to make a decision about whether or not decryption should be attempted or how that decryption should be configured.

Related:

@jalaziz
Copy link

jalaziz commented Oct 23, 2022

Just ran into a need for this myself.

@seebees
Copy link
Contributor

seebees commented Oct 24, 2022

This does not yet exist for every runtime,
but you can use the ESDK-JS serialize package to do this

https://github.com/aws/aws-encryption-sdk-javascript/tree/master/modules/serialize
https://www.npmjs.com/package/@aws-crypto/serialize

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

No branches or pull requests

3 participants