From 637fbac970e302b259d45535d499a64b6cab8ce2 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Fri, 15 Mar 2024 01:07:40 +0100 Subject: [PATCH] [0ecdsa-generate-key] better naming scheme --- bin/0ecdsa-generate-keypair.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/0ecdsa-generate-keypair.js b/bin/0ecdsa-generate-keypair.js index fd9ab0a..820ab21 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="${publicJwk.replaceAll('"', '\\"')}" -${prefix ? prefix.toUpperCase() + '_' : ''}PRIVATE="${privateJwk.replaceAll('"', '\\"')}" +${prefix ? prefix.toUpperCase() + '_' : ''}PUBLIC_KEY="${publicJwk.replaceAll('"', '\\"')}" +${prefix ? prefix.toUpperCase() + '_' : ''}PRIVATE_KEY="${privateJwk.replaceAll('"', '\\"')}" `)