Changeset 160027 in webkit


Ignore:
Timestamp:
Dec 3, 2013 12:05:52 PM (10 years ago)
Author:
ap@apple.com
Message:

WebCrypto HMAC doesn't check key algorithm's hash
https://bugs.webkit.org/show_bug.cgi?id=125114

Update layout test result for a last minute change in test content.

  • crypto/subtle/hmac-check-algorithm-expected.txt:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r160024 r160027  
     12013-12-03  Alexey Proskuryakov  <ap@apple.com>
     2
     3        WebCrypto HMAC doesn't check key algorithm's hash
     4        https://bugs.webkit.org/show_bug.cgi?id=125114
     5
     6        Update layout test result for a last minute change in test content.
     7
     8        * crypto/subtle/hmac-check-algorithm-expected.txt:
     9
    1102013-12-03  Ryosuke Niwa  <rniwa@webkit.org>
    211
  • trunk/LayoutTests/crypto/subtle/hmac-check-algorithm-expected.txt

    r159975 r160027  
    55
    66Importing a raw HMAC SHA-1 key from string literal...
     7Done
     8PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('foo')) did not throw exception.
    79PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
     10PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) did not throw exception.
    811PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
    912PASS successfullyParsed is true
Note: See TracChangeset for help on using the changeset viewer.