- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi,
Take a look at this example for how to initialize a RawMasterKey with access to the public key and a RawMasterKey with access to the private key:
https://github.com/aws/aws-encryption-sdk-python/blob/keyring/examples/src/master_key_provider/multi/aws_kms_with_escrow.py
The RawMasterKey with access to the public key can be used for encryption, and the RawMasterKey with access to the private key can be used for decryption.
(Note that this links to example on one of our features branches. For future readers of this post, if this link is dead, look for this example on the master branch.)
Hi,
Thanks. Works perfectly.
Curiously, I thought I had tried a pattern similar to that, but in all honesty I am no longer sure :)
Regardless, this is the tonic. I have also tried it with aws_encryption_sdk.stream(), as I will be dealing with bigger files and as expected, it worked perfectly.
I appreciate you taking the time to answer. Thanks!
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- Comment puis-je utiliser les clés asymétriques AWS KMS pour chiffrer un fichier à l'aide d'OpenSSL ?AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans