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

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