repository
0.0.0-20240814095426-eb4c44f23edc
Repository: https://github.com/brix101/budgetto-backend.git
Documentation: pkg.go.dev
# README
budgetto
Generating RSA Keys
To generate RSA keys and convert them to base64 format, follow these steps:
-
Generate a private key:
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
-
Generate the corresponding public key:
openssl rsa -pubout -in private_key.pem -out public_key.pem
-
Convert the private key to base64 format:
base64 -w 0 private_key.pem > private_key_base64.txt
-
Convert the public key to base64 format:
base64 -w 0 public_key.pem > public_key_base64.txt
These commands will create private_key.pem
, public_key.pem
, private_key_base64.txt
, and public_key_base64.txt
files in your current directory.