Closed
Description
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.