Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add authenticatedAttribute signingCertificateV2 - #768

#768
Open
tuliomoreira77 wants to merge 1 commit into
digitalbazaar:maindigitalbazaar/forge:mainfrom
tuliomoreira77:mastertuliomoreira77/forge:masterCopy head branch name to clipboard
Open

add authenticatedAttribute signingCertificateV2#768
tuliomoreira77 wants to merge 1 commit into
digitalbazaar:maindigitalbazaar/forge:mainfrom
tuliomoreira77:mastertuliomoreira77/forge:masterCopy head branch name to clipboard

Conversation

@tuliomoreira77

Copy link
Copy Markdown

add the authenticatedAttribute signingCertificateV2.
where value is the sha256 hash of the entire DER Signing Certificate. Usage:
type:NodeForge.pki.oids.signingCertificateV2,
value: createHash(Buffer.from(NodeForge.pki.pemToDer(certificateToSign).getBytes(), 'binary')).toString('binary') //createHash is a generic function that receives a Buffer and return a buffer sha256 hash

add the authenticatedAttribute signingCertificateV2.
where value is the sha256 hash of the entire DER Signing Certificate. Usage:
type:NodeForge.pki.oids.signingCertificateV2,
value: createHash(Buffer.from(NodeForge.pki.pemToDer(certificateToSign).getBytes(), 'binary')).toString('binary')

@dhensby dhensby left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This would definitely be a nice low risk addition

@davidlehn davidlehn added this to the v1.x milestone Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.