W3C home > Mailing lists > Public > public-webcrypto@w3.org > April 2014

[Bug 25382] New: What error is returned when key mismatches operation?

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Apr 2014 23:37:50 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25382-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25382

            Bug ID: 25382
           Summary: What error is returned when key mismatches operation?
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: ericroman@google.com
                CC: public-webcrypto@w3.org

For instance if calling encrypt() with an AES-CBC algorithm, however provided a
key for RSASSA.

Perhaps InvalidAccessError, to match what the failure asymmetric algorithms are
using when given the wrong key type?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 17 April 2014 23:37:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:22 UTC