Hi,Google Cloud Platform's KMS product lets you import encryption keys that you might create yourself. You can then use the GCP KMS npm to use that key programmatically. I wanna upload my private key for JSON web tokens into this system, but I've never done this before. GCP provides docs on how to do this using openSSL (unsurprisingly out of date documentation), but I would like to use node-RSA or another native node solution. I would be fine with crypto.Has anyone ever done this before or have any examples? They give you the public key for the job. They recommend this format `3072 bit RSA - OAEP padding - SHA1 digest + 256 bit AES-KWP`. I'm trying right now using the node-RSA npm. I'm unsure about the AES key at the end. If I generate that or if the npm will do that.Any advice will help. Thanks,
Submitted January 02, 2020 at 03:36PM by maximusprime2328
No comments:
Post a Comment