@open-agent-trust/cli
Advanced tools
@@ -55,4 +55,4 @@ "use strict"; | ||
| const kid = `${options.issuerId}-${dateStr}`; | ||
| // Industry standard .pem extension | ||
| const privateKeyPath = path.join(options.outDir, `${options.issuerId}.pem`); | ||
| // Industry standard .pem extension with 'private' in filename for clarity | ||
| const privateKeyPath = path.join(options.outDir, `${options.issuerId}.private.pem`); | ||
| fs.writeFileSync(privateKeyPath, privateKeyBase64Url, { mode: 0o600 }); | ||
@@ -59,0 +59,0 @@ console.log(`✅ Keypair generated successfully!\n`); |
+1
-1
| { | ||
| "name": "@open-agent-trust/cli", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "CLI utilities for the Open Agent Trust Registry", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -25,4 +25,4 @@ import * as ed from '@noble/ed25519'; | ||
| // Industry standard .pem extension | ||
| const privateKeyPath = path.join(options.outDir, `${options.issuerId}.pem`); | ||
| // Industry standard .pem extension with 'private' in filename for clarity | ||
| const privateKeyPath = path.join(options.outDir, `${options.issuerId}.private.pem`); | ||
| fs.writeFileSync(privateKeyPath, privateKeyBase64Url, { mode: 0o600 }); | ||
@@ -29,0 +29,0 @@ |
35058
0.27%