OLD | NEW |
| 1 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation |
| 2 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation |
1 CONSOLE ERROR: key.algorithm does not match that of operation (HMAC's hash diffe
rs) | 3 CONSOLE ERROR: key.algorithm does not match that of operation (HMAC's hash diffe
rs) |
2 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary | 4 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary |
3 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object | 5 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object |
4 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object | 6 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object |
5 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: name: Missing or no
t a string | 7 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: name: Missing or no
t a string |
6 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Unrecognized algori
thm name | 8 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: Unrecognized algori
thm name |
7 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: AES-CBC: Unsupporte
d operation | 9 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Algorithm: AES-CBC: Unsupporte
d operation |
8 Tests cypto.subtle.sign and crypto.subtle.verify | 10 Tests cypto.subtle.sign and crypto.subtle.verify |
9 | 11 |
10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 12 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 PASS verifyResult is true | 50 PASS verifyResult is true |
49 PASS verifyResult is false | 51 PASS verifyResult is false |
50 PASS verifyResult is false | 52 PASS verifyResult is false |
51 PASS verifyResult is false | 53 PASS verifyResult is false |
52 PASS verifyResult is false | 54 PASS verifyResult is false |
53 PASS verifyResult is false | 55 PASS verifyResult is false |
54 PASS verifyResult is false | 56 PASS verifyResult is false |
55 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception T
ypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argume
nt. | 57 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception T
ypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argume
nt. |
56 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception Ty
peError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argumen
t. | 58 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception Ty
peError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argumen
t. |
57 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception Typ
eError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument
. | 59 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception Typ
eError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument
. |
58 PASS crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data) threw exception No
tSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: SHA-1: U
nsupported operation. | 60 PASS: 'crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data)' rejected with n
ull |
59 PASS crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data) threw e
xception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorith
m: RSAES-PKCS1-v1_5: Unsupported operation. | 61 PASS: 'crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data)' reje
cted with null |
60 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1
, data)' rejected with null | 62 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1
, data)' rejected with null |
61 PASS: 'crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data)' rejected with nu
ll | 63 PASS: 'crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data)' rejected with nu
ll |
62 PASS: 'crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data)' rejecte
d with null | 64 PASS: 'crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data)' rejecte
d with null |
63 PASS: 'crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data)' reje
cted with null | 65 PASS: 'crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data)' reje
cted with null |
64 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {}}, keys.hmacSha1, data)' reject
ed with null | 66 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {}}, keys.hmacSha1, data)' reject
ed with null |
65 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'foo'}}, keys.hmacSha1, da
ta)' rejected with null | 67 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'foo'}}, keys.hmacSha1, da
ta)' rejected with null |
66 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'AES-CBC'}}, keys.hmacSha1
, data)' rejected with null | 68 PASS: 'crypto.subtle.sign({name: 'hmac', hash: {name: 'AES-CBC'}}, keys.hmacSha1
, data)' rejected with null |
67 PASS successfullyParsed is true | 69 PASS successfullyParsed is true |
68 | 70 |
69 TEST COMPLETE | 71 TEST COMPLETE |
70 | 72 |
OLD | NEW |