Skip to content

Conversation

@panva
Copy link
Member

@panva panva commented Sep 17, 2020

This updates the crypto.createSecretKey accepted types.

cc @tniessen

const encoder = new TextEncoder()
crypto.createSecretKey(Buffer.from('foo'))
crypto.createSecretKey(encoder.encode('foo'))
Checklist

@nodejs-github-bot nodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels Sep 17, 2020
PR-URL: nodejs#35246
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@Trott Trott force-pushed the fix-create-secret-key branch from 5a5e062 to fb88257 Compare September 22, 2020 14:26
@Trott
Copy link
Member

Trott commented Sep 22, 2020

Landed in fb88257

@Trott Trott merged commit fb88257 into nodejs:master Sep 22, 2020
MylesBorins pushed a commit that referenced this pull request Sep 24, 2020
PR-URL: #35246
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Sep 29, 2020
joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
PR-URL: nodejs#35246
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@panva panva deleted the fix-create-secret-key branch October 13, 2022 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants