mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-14 09:00:07 +00:00
print cwd in jwt
This commit is contained in:
@@ -227,7 +227,7 @@ export async function loadOrGenerateKeypair() {
|
||||
privateKey = crypto.createPrivateKey(loadedPrivateKey);
|
||||
publicKey = crypto.createPublicKey(loadedPublicKey);
|
||||
} else {
|
||||
console.log("[JWT] Generating new keypair:", path.resolve("jwt.key"));
|
||||
console.log("[JWT] Generating new keypair:", path.resolve("jwt.key"), "- PWD:", process.cwd());
|
||||
const res = crypto.generateKeyPairSync("ec", {
|
||||
namedCurve: "secp521r1",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user