1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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?
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren