feat: add ssh-verify.ts

This commit is contained in:
2025-01-19 15:20:34 +08:00
parent eb6357f6bb
commit d3604ea8eb
3 changed files with 106 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
// - https://docs.deno.com/api/node/crypto/~/X509Certificate#property_issuercertificate
// - https://docs.deno.com/api/node/crypto/~/createPublicKey
const {X509Certificate, createPublicKey} = await import('node:crypto');
const {X509Certificate, createPublicKey} = await import("node:crypto");
if (Deno.args.length === 0) {
console.log("Usage: publickey.ts <certificate|publickey|jwk>");