Skip to content

[keyring] change raw RSA keyring to fit spec clarification #257

Closed
@mattsb42-aws

Description

@mattsb42-aws

Per awslabs/aws-encryption-sdk-specification#91, the following changes need to be made to the raw RSA keyring:

  • If only a private key is provided, the keyring MUST NOT derive a private key from it for use on encrypt.
  • If no public key is provided, the keyring MUST throw an exception on encrypt.
  • If a public key and private key that are not part of the same keypair are provided, the keyring MUST throw an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions