Skip to content

Commit

Permalink
Increase security of example RSA key generation from 1024 to 2048 bits (
Browse files Browse the repository at this point in the history
  • Loading branch information
rpocklin authored Oct 12, 2021
1 parent d1e479d commit 28f92df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ The oidc library used generates Json Web Tokens to create the Access Tokens, so

To generate the private key run this command on the terminal:

openssl genrsa -out cert/oidc_module.pem 1024
openssl genrsa -out cert/oidc_module.pem 2048

If you want to provide a passphrase for your private key run this command instead:

openssl genrsa -passout pass:myPassPhrase -out cert/oidc_module.pem 1024
openssl genrsa -passout pass:myPassPhrase -out cert/oidc_module.pem 2048

Now you need to extract the public key from the private key:

Expand Down Expand Up @@ -318,4 +318,4 @@ Work in Progress:

## Running Conformance Tests

See [CONFORMANCE_TEST.md](CONFORMANCE_TEST.md)
See [CONFORMANCE_TEST.md](CONFORMANCE_TEST.md)

0 comments on commit 28f92df

Please sign in to comment.