1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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?
respondido hace 3 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años