OLD | NEW |
---|---|
(Empty) | |
1 Test deriveKey() for HKDF | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
4 | |
5 | |
6 PASS derivedKey.type is "secret" | |
7 PASS typeof derivedKey.extractable is 'boolean' | |
8 PASS derivedKey.extractable is true | |
9 PASS derivedKey.algorithm.name is "AES-GCM" | |
10 PASS derivedKey.usages.join(',') is "encrypt" | |
11 | |
12 Try to derive an HKDF key... | |
13 error is: NotSupportedError: The requested operation is unsupported | |
eroman
2015/01/12 22:35:23
Why is this not supported error. Shouldn't it be a
nharper
2015/01/13 00:11:16
You're correct. This was an issue with the -expect
| |
14 PASS emptyKey.type is "secret" | |
15 PASS typeof emptyKey.extractable is 'boolean' | |
16 PASS emptyKey.extractable is true | |
17 PASS emptyKey.algorithm.name is "HKDF" | |
18 PASS emptyKey.usages.join(',') is "deriveKey" | |
19 PASS derivedKey.type is "secret" | |
20 PASS typeof derivedKey.extractable is 'boolean' | |
21 PASS derivedKey.extractable is true | |
22 PASS derivedKey.algorithm.name is "AES-GCM" | |
23 PASS derivedKey.usages.join(',') is "encrypt" | |
24 PASS successfullyParsed is true | |
25 | |
26 TEST COMPLETE | |
27 | |
OLD | NEW |