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

[Bug 25422] New: Allow errors to be returned from digest()

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Apr 2014 01:13:59 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25422-7213@http.www.w3.org/Bugs/Public/>

            Bug ID: 25422
           Summary: Allow errors to be returned from digest()
           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 text describing SHA digest does not allow for any errors to be returned.

However the NSS library allows for errors to occur in such cases, so
implementations based on it may have the need to fail.

I propose allowing digest() to fail with OperationError similar to encrypt().

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

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