aws / aws-encryption-sdk-python

AWS Encryption SDK
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/introduction.html
Apache License 2.0
233 stars 83 forks source link

feat(test_vector_handlers): TestVectors test with MPL constructs #650

Closed lucasmcdonald3 closed 3 months ago

lucasmcdonald3 commented 5 months ago

Issue #, if available:

Description of changes:

Out of Scope

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

lucasmcdonald3 commented 5 months ago

So we generate with master key, and then decrypt with JS and master key. How do we test keyring? Does the master key target do both?

That is correct for Python <3.11. For Python 3.11 and 3.12, the matrix is

Generate: [master key, keyring]
Decrypt: [master key, keyring, JS]