W3C home > Mailing lists > Public > public-webcrypto@w3.org > July 2013

crypto-ISSUE-48 (jimsch): Does verify fulfill or rejectwhen a MAC/Signature does not verify [Web Cryptography API]

From: Web Cryptography Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 08 Jul 2013 00:33:02 +0000
Message-Id: <E1UvzO2-0002sX-Bm@nelson.w3.org>
To: public-webcrypto@w3.org
crypto-ISSUE-48 (jimsch): Does verify fulfill or rejectwhen a MAC/Signature does not verify [Web Cryptography API]

http://www.w3.org/2012/webcrypto/track/issues/48

Raised by: Jim Schaad
On product: Web Cryptography API

Raise issue to match mail list discussion so it gets documented.

It is not explicitly stated if verify returns true/false as the result or something else.

The correct answer for decrypt using AE algorithms would be a reject if the tags don't match as the result returned is an ArrayBuffer.

However verify is currently stated to return a boolean and thus false would seem to be an appropriate response.
Received on Monday, 8 July 2013 00:33:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:02:21 UTC