<DOC> Crypto module documentation typo #841

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@anatoliychakkaev

crypto.verifier requires certificate as param passed to verify method, but there is typo in doc (fixed in my fork). Also, for saving time of developers would be great to add some example of openssl private key and certificate/public key generation. Like that:

# generate private key
openssl genrsa -out private.pem 2048
# fetch cert
openssl req -new -x509 -key private.pem -out cacert.pem -days 1095 -batch
# fetch public key
openssl rsa -in private.pem -out public.pem

Thanks,
Anatoliy.

@ry
ry commented Mar 28, 2011

Typo in docs

Thanks to Anatoliy Chakkaev for pointing it out.

Closed by e9a1dd7.

@ry ry closed this Mar 28, 2011
@coolaj86 coolaj86 pushed a commit that referenced this pull request Apr 15, 2011
@ry ry Typo in docs
Thanks to Anatoliy Chakkaev for pointing it out.

Closes GH-841.
e9a1dd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment