Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Test unwrapping an HKDF key | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
| 4 | |
| 5 | |
| 6 PASS wrappingKey.algorithm.name is "AES-GCM" | |
| 7 PASS typeof wrappingKey.extractable is 'boolean' | |
| 8 PASS wrappingKey.extractable is false | |
| 9 PASS wrappingKey.usages.join(',') is "encrypt,unwrapKey" | |
| 10 PASS unwrappedHkdfKey.algorithm.name is "HKDF" | |
| 11 PASS typeof unwrappedHkdfKey.extractable is 'boolean' | |
| 12 PASS unwrappedHkdfKey.extractable is false | |
| 13 PASS unwrappedHkdfKey.usages.join(',') is "deriveBits" | |
| 14 | |
| 15 Unwrapping an HKDF key from a format other than raw should fail. | |
|
eroman
2015/01/12 22:35:23
Please describe the action being done, not the exp
nharper
2015/01/13 00:11:16
Done.
| |
| 16 error is: NotSupportedError: Unsupported import key format for algorithm | |
| 17 PASS successfullyParsed is true | |
| 18 | |
| 19 TEST COMPLETE | |
| 20 | |
| OLD | NEW |