diff --git a/bin/0ecdsa-generate-keypair.js b/bin/0ecdsa-generate-keypair.js index 820ab21..d973ae9 100755 --- a/bin/0ecdsa-generate-keypair.js +++ b/bin/0ecdsa-generate-keypair.js @@ -10,6 +10,6 @@ const privateJwk = json.stringify(await ecdsa.exportKeyJwk(keypair.privateKey)) const publicJwk = json.stringify(await ecdsa.exportKeyJwk(keypair.publicKey)) console.log(` -${prefix ? prefix.toUpperCase() + '_' : ''}PUBLIC_KEY="${publicJwk.replaceAll('"', '\\"')}" -${prefix ? prefix.toUpperCase() + '_' : ''}PRIVATE_KEY="${privateJwk.replaceAll('"', '\\"')}" +${prefix ? prefix.toUpperCase() + '_' : ''}PUBLIC_KEY=${publicJwk} +${prefix ? prefix.toUpperCase() + '_' : ''}PRIVATE_KEY=${privateJwk} `)