Skip to content

explain in README.md how to get the fingerprint of a parsed certificate#7

Open
rogierschouten wants to merge 1 commit into
fidm:masterfrom
rogierschouten:readme-update
Open

explain in README.md how to get the fingerprint of a parsed certificate#7
rogierschouten wants to merge 1 commit into
fidm:masterfrom
rogierschouten:readme-update

Conversation

@rogierschouten
Copy link
Copy Markdown

No description provided.

Comment thread README.md
const ed25519Cert = Certificate.fromPEM(fs.readFileSync('./test/cert/ed25519-server-cert.pem'))

const shasum = crypto.createHash('sha1');
shasum.update(parsed.raw);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parsed should be ed25519Cert

@polunzh
Copy link
Copy Markdown

polunzh commented Sep 27, 2020

thanks, the doc helped me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants