Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented AES-KW #5

Merged
merged 1 commit into from
Mar 2, 2019
Merged

Implemented AES-KW #5

merged 1 commit into from
Mar 2, 2019

Conversation

LiraNuna
Copy link
Contributor

@LiraNuna LiraNuna commented Mar 2, 2019

This PR fully implements AES-KW, which includes generateKey, importKey/exportKey and wrapKey/unwrapKey

Closes #4

@LiraNuna LiraNuna mentioned this pull request Mar 2, 2019
@microshine
Copy link
Collaborator

I'm running your test vectors in Chrome. I've got DOMException for AES-192-KW
image

@LiraNuna
Copy link
Contributor Author

LiraNuna commented Mar 2, 2019

That's because Chrome does not support 192bit AES operations. Run https://diafygi.github.io/webcrypto-examples/ in Chrome and you'll see that AES-KW, AES-CTR, AES-GCM and AES-CBC are all unimplemented.

Firefox supports it, on the other hand.

@microshine
Copy link
Collaborator

I see. Thanks

@microshine microshine merged commit e512422 into PeculiarVentures:master Mar 2, 2019
@LiraNuna LiraNuna deleted the WIP-aes-kw branch March 2, 2019 07:17
@microshine
Copy link
Collaborator

@LiraNuna Thank you for PR. Great job!

@LiraNuna
Copy link
Contributor Author

LiraNuna commented Mar 2, 2019

It seems like my PR caused type check issues: https://circleci.com/gh/PeculiarVentures/webcrypto/14

I don't think CI ran on my branch

@microshine
Copy link
Collaborator

I'll fix it

@microshine
Copy link
Collaborator

+ @peculiar/webcrypto@1.0.6

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.

None yet

2 participants