Skip to content

Commit

Permalink
Prevent script from running more than once.
Browse files Browse the repository at this point in the history
  • Loading branch information
masv3971 committed Oct 17, 2024
1 parent ec8329a commit 8da1e74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gen_ec_sign_key.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

if [ -f private_ec256.pem ]; then
exit 0
fi

# generate a private key for a curve
openssl ecparam -name prime256v1 -genkey -noout -out private_ec256.pem

Expand Down

0 comments on commit 8da1e74

Please sign in to comment.