Skip to content

Commit

Permalink
Add .pem files to .gitignore and create RSA key generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
jkc-be committed Jan 25, 2024
1 parent 190d62e commit 13698d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_*

keys/
# RSA keys
*.pem
4 changes: 4 additions & 0 deletions rsa-aes/keys/make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!bin.bash
openssl genpkey -algorithm RSA -out keys/private_key.pem -pkeyopt rsa_keygen_bits:4096

openssl rsa -pubout -in keys/private_key.pem -out keys/public_key.pem

0 comments on commit 13698d6

Please sign in to comment.