1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
I've found a workaround for this problem.
const publicKey = '-----BEGIN PUBLIC KEY-----\n' _ kmsPublicKey.replace(/(.{64})/g, '$&' _ '\n' ) + '\n-----END PUBLIC KEY-----';
Yes, it isn't very pretty, but it gets the job done.
KMS team, can there be a option to retrieve the public key with the appropriate header and footer on the getPublicKey
method?
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans