Skip to content

Commit 28f92df

Browse files
authored
Increase security of example RSA key generation from 1024 to 2048 bits (#153)
As per current recommendations (ie. refer https://en.wikipedia.org/wiki/RSA_(cryptosystem)#cite_ref-keymanagement_35-0 )
1 parent d1e479d commit 28f92df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ The oidc library used generates Json Web Tokens to create the Access Tokens, so
147147

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

150-
openssl genrsa -out cert/oidc_module.pem 1024
150+
openssl genrsa -out cert/oidc_module.pem 2048
151151

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

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

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

@@ -318,4 +318,4 @@ Work in Progress:
318318

319319
## Running Conformance Tests
320320

321-
See [CONFORMANCE_TEST.md](CONFORMANCE_TEST.md)
321+
See [CONFORMANCE_TEST.md](CONFORMANCE_TEST.md)

0 commit comments

Comments
 (0)