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

[Bug 25420] New: Allow errors to be returned from exportKey()

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Apr 2014 01:10:40 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25420-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25420

            Bug ID: 25420
           Summary: Allow errors to be returned from exportKey()
           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

The current text for exportKey() doesn't seem to provide for any errors being
returned when exporting a private key in pkcs8 format.

Whereas other methods like encrypt(), offer an escape hatch in the generic
description saying that if an error occurs to return an OperationError.

The NSS functions for exporting key allow for such errors so it may be possible
for implementation based on it to fail here.

Failures might also occur when exporting keys from secure elements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 23 April 2014 01:10:41 UTC

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