Skip to content

DefaultCryptoMaterialsManager should raise an error if signer key is present in encryption context #135

Open
@mattsb42-aws

Description

@mattsb42-aws

Because DefaultCryptoMaterialsManager adds a value to the encryption context if a signed algorithm suite is used, we need to throw an error if the requested encryption context already contains that key.

https://github.com/aws/aws-encryption-sdk-java/blob/eb8702e82759cca53eddc3b5f8423e74ec31aff1/src/main/java/com/amazonaws/encryptionsdk/DefaultCryptoMaterialsManager.java#L55-L58

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions