feat: sign single scripts
This commit is contained in:
@@ -9,12 +9,12 @@
|
|||||||
},
|
},
|
||||||
"cal.ts": {
|
"cal.ts": {
|
||||||
"script_name": "cal.ts",
|
"script_name": "cal.ts",
|
||||||
"script_length": 227,
|
"script_length": 384,
|
||||||
"script_sha256": "cf235682700ea5769f4e236229e0955e9259400316d5bf1d1bfe79664df98ad5",
|
"script_sha256": "41b07170e84fc6d190fea3289f53daff97dea5e10e3820894362951b8c2d75fc",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737306227061,
|
"publish_time": 1737306227061,
|
||||||
"update_time": 1737306304720
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"helloworld.ts": {
|
"helloworld.ts": {
|
||||||
"script_name": "helloworld.ts",
|
"script_name": "helloworld.ts",
|
||||||
@@ -26,21 +26,21 @@
|
|||||||
},
|
},
|
||||||
"hjson.ts": {
|
"hjson.ts": {
|
||||||
"script_name": "hjson.ts",
|
"script_name": "hjson.ts",
|
||||||
"script_length": 292,
|
"script_length": 448,
|
||||||
"script_sha256": "953352a261a8a98311812e679ad0abd851b5012ce7756d9681110b3972bc16aa",
|
"script_sha256": "be48ed87ff1aa9a77197aafb50a24d5da7ce517401b08687e0fce27504a08a08",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/hjson.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/hjson.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737375737613,
|
"publish_time": 1737375737613,
|
||||||
"update_time": 1737375737613
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"kpxcenv.ts": {
|
"kpxcenv.ts": {
|
||||||
"script_name": "kpxcenv.ts",
|
"script_name": "kpxcenv.ts",
|
||||||
"script_length": 3551,
|
"script_length": 3708,
|
||||||
"script_sha256": "5001f64e63bc15fac1ca42ecf689cc5153cde10789014536d717f15387c9edac",
|
"script_sha256": "b0465881ebcd3d028a223fc91bbc742eb27daf69bd8dfc92eeab93c33bf62f04",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/kpxcenv.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/kpxcenv.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737272626141,
|
"publish_time": 1737272626141,
|
||||||
"update_time": 1737285822488
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"post-note.ts": {
|
"post-note.ts": {
|
||||||
"script_name": "post-note.ts",
|
"script_name": "post-note.ts",
|
||||||
@@ -53,21 +53,21 @@
|
|||||||
},
|
},
|
||||||
"print-env.ts": {
|
"print-env.ts": {
|
||||||
"script_name": "print-env.ts",
|
"script_name": "print-env.ts",
|
||||||
"script_length": 156,
|
"script_length": 313,
|
||||||
"script_sha256": "b77d1b8c5ee91ef83e7b1bb72851f6a8f6ed4b0c4ab811fe62f24eebab72149a",
|
"script_sha256": "055c8d63284501de1a2d8336dd20e064f0ba8b294a5e2ac77e2a0ad0f04eb869",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/print-env.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/print-env.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737272626140,
|
"publish_time": 1737272626140,
|
||||||
"update_time": 1737272626140
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"publickey.ts": {
|
"publickey.ts": {
|
||||||
"script_name": "publickey.ts",
|
"script_name": "publickey.ts",
|
||||||
"script_length": 1702,
|
"script_length": 1859,
|
||||||
"script_sha256": "07669ea1a62a9691c41300f45d2391a7882bede1b9d90fbf0f065e1be16f4fe9",
|
"script_sha256": "78f8dbcca23af92ca3ec79faa3016207180fd3bf6be66c92892bd0bb5de444dc",
|
||||||
"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,
|
||||||
"publish_time": 1737272626140,
|
"publish_time": 1737272626140,
|
||||||
"update_time": 1737285822488
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"sigstore-verify.ts": {
|
"sigstore-verify.ts": {
|
||||||
"script_name": "sigstore-verify.ts",
|
"script_name": "sigstore-verify.ts",
|
||||||
@@ -79,20 +79,20 @@
|
|||||||
},
|
},
|
||||||
"ssh-verify.ts": {
|
"ssh-verify.ts": {
|
||||||
"script_name": "ssh-verify.ts",
|
"script_name": "ssh-verify.ts",
|
||||||
"script_length": 2675,
|
"script_length": 2832,
|
||||||
"script_sha256": "cd7d2c0a9661e7e52305abd8b3a66cce2ee999216f63654f8e1d945f8b324cb0",
|
"script_sha256": "bb68d86f600f2ea67cdf12476b1f7419cbc160e887db0a7709d45cf3a364a2e4",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/ssh-verify.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/ssh-verify.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737272626141,
|
"publish_time": 1737272626141,
|
||||||
"update_time": 1737285822489
|
"update_time": 1737475766602
|
||||||
},
|
},
|
||||||
"wget.ts": {
|
"wget.ts": {
|
||||||
"script_name": "wget.ts",
|
"script_name": "wget.ts",
|
||||||
"script_length": 3828,
|
"script_length": 3985,
|
||||||
"script_sha256": "3eeaae662470991b70081b6e010c3c87ecf90b38058f9b67a7f5458f615a2bf7",
|
"script_sha256": "8f56f0450058d674844bbb22d4ea9047f5dfdc6793ce3d014180b9bfd9ea7834",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/wget.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/wget.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1737272626139,
|
"publish_time": 1737272626139,
|
||||||
"update_time": 1737285822488
|
"update_time": 1737475766602
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,3 +8,5 @@ const command = new Deno.Command("cal", {
|
|||||||
stdout: "inherit",
|
stdout: "inherit",
|
||||||
});
|
});
|
||||||
const _child = command.spawn();
|
const _child = command.spawn();
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000909+08:00.MEUCIQC+0fhXLUrQCVvmMbPf2AbvP/10kCLv8G6cXbllR2VNFgIgMUkcjhByX1V9u8mxtJ5a8pyypx1f07VPLcJYWQFebo4=
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ const input = new TextDecoder().decode(await toArrayBuffer(Deno.stdin.readable))
|
|||||||
|
|
||||||
console.log(JSON.stringify(hjson.parse(input), null, 4));
|
console.log(JSON.stringify(hjson.parse(input), null, 4));
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEUCIB8ENXcX7NdIgRF+BN5k4m6MSBfMfsk3pzDckQLyfSquAiEApzgXor3U0PmkNzcNS0kFz8WxRQhidQpPZbSpy1hbAOA=
|
||||||
|
|||||||
@@ -122,3 +122,5 @@ const command = new Deno.Command(shellCommand, {
|
|||||||
stdout: "inherit",
|
stdout: "inherit",
|
||||||
});
|
});
|
||||||
const _child = command.spawn();
|
const _child = command.spawn();
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEUCIQCy3detDRdmN5w/G3w4x6av3Hbh/FLumdYHXBzmGHKKvQIgAOfGXGAwrG4BaN23xJXd+gVBZOJAjHo68iYMep1cWxo=
|
||||||
|
|||||||
@@ -5,3 +5,5 @@ const envs = Deno.env.toObject();
|
|||||||
for (const envKey in envs) {
|
for (const envKey in envs) {
|
||||||
console.log(`${envKey} --> ${envs[envKey]}`);
|
console.log(`${envKey} --> ${envs[envKey]}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEYCIQCDWPCDCc07dCpoByoi8B34IG37/eN/SA6RUFcwMMk9BAIhAIj/VEvsT03dpLAkTjE4ecNw3wKTj3G4j3gJZWXSIs+q
|
||||||
|
|||||||
@@ -51,3 +51,5 @@ try {
|
|||||||
log.error(`Parse certificate or public key failed: ${e}`);
|
log.error(`Parse certificate or public key failed: ${e}`);
|
||||||
Deno.exit(1);
|
Deno.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEYCIQDOK7J+TeDmvbA030NxbsYEpp6PGL0lYrxKcmph/d2XGgIhAMFbRDZ/qOYcqdyrP62AEomTXG6yaJK/ooLtzx1iVyca
|
||||||
|
|||||||
@@ -96,3 +96,5 @@ if (flags.username) {
|
|||||||
} else {
|
} else {
|
||||||
log.warn("GitHub user is not assigned, user is not verified.");
|
log.warn("GitHub user is not assigned, user is not verified.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEUCIQCyDDsHchBXteCAtFT+1+dTFTm3BwKB3jS7meYqRhXqEwIgFR4fR4vAFas5247jEcZv+wvP5rnggPbim1SV182xzU0=
|
||||||
|
|||||||
@@ -136,3 +136,5 @@ log.success(
|
|||||||
formatHumanTime(costTime)
|
formatHumanTime(costTime)
|
||||||
}`,
|
}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEUCIHx7b9gyZBcTusdX6DhdqYmm5JHRvZ+esiE7Njz0dDruAiEAwRl081c9RyUt/741Et52ewkJOVKCUJTe1znxW16wNJo=
|
||||||
|
|||||||
Reference in New Issue
Block a user