Skip to content

Commit

Permalink
update key generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-marcacci committed Apr 2, 2024
1 parent 6558409 commit 747be2f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 40 deletions.
30 changes: 0 additions & 30 deletions private.pem

This file was deleted.

9 changes: 0 additions & 9 deletions public.pem

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/generate-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { generateKeyPairSync } from "node:crypto";
import { writeFileSync, existsSync } from "node:fs";

// Check if the keys already exist.
if (existsSync("private.pem") && existsSync("public.pem")) {
if (existsSync("packages/example/private.pem") && existsSync("packages/example/public.pem")) {
// eslint-disable-next-line no-undef
console.log("Keys already exist.");
// eslint-disable-next-line no-undef
Expand Down

0 comments on commit 747be2f

Please sign in to comment.