autotelic / envelope-encryptor

MIT License
1 stars 0 forks source link

GCP Cloud Key Management KMS module #51

Open eadmundo opened 4 months ago

eadmundo commented 4 months ago

RONSEAL

Note:

https://github.com/autotelic/envelope-encryptor/issues/54 is higher priority

We would like ultimately to support GCP. This will look something like:

client library: https://cloud.google.com/nodejs/docs/reference/kms/latest

eadmundo commented 4 months ago

I don't think GCP has a generateDataKey equivalent, so we will need to generate our own and then encrypt it ourselves using the KEK (as per https://cloud.google.com/kms/docs/envelope-encryption which advises generating a DEK locally).