feat: update publickey.ts
This commit is contained in:
@@ -20,8 +20,8 @@
|
|||||||
},
|
},
|
||||||
"publickey.ts": {
|
"publickey.ts": {
|
||||||
"script_name": "publickey.ts",
|
"script_name": "publickey.ts",
|
||||||
"script_length": 1138,
|
"script_length": 1148,
|
||||||
"script_sha256": "28bfa62a68cf9a2142048f605a0b2e769f89b48c5c25af9bb0f9b6081bcf8954",
|
"script_sha256": "6be353c25d28e88e973c91f92d93728a7216dd08845fe76a7456121b5c3374a1",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/publickey.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/publickey.ts",
|
||||||
"single_script_file": true
|
"single_script_file": true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
const {X509Certificate, createPublicKey} = await import('node:crypto');
|
const {X509Certificate, createPublicKey} = await import('node:crypto');
|
||||||
|
|
||||||
if (Deno.args.length === 0) {
|
if (Deno.args.length === 0) {
|
||||||
console.log("Usage: certificate.ts <certificate>");
|
console.log("Usage: certificate.ts <certificate|publickey>");
|
||||||
Deno.exit(1);
|
Deno.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user