a lot of things

This commit is contained in:
2026-02-20 11:46:30 -06:00
parent 987a1c8a6a
commit 70284bc14e
37 changed files with 1080 additions and 79 deletions
+3 -6
View File
@@ -40,14 +40,11 @@ await Promise.all(
});
if (!privExists || !pubExists) {
// Always regenerate both files together to ensure the key pair matches
console.log(`Generating '${v}' and '${pubPath}'...`);
const keys = keypair({ bits: 4096 });
if (!privExists) {
await Bun.write(v, keys.private);
}
if (!pubExists) {
await Bun.write(pubPath, keys.public);
}
await Bun.write(v, keys.private);
await Bun.write(pubPath, keys.public);
}
return;
}),