[Webkit-unassigned] [Bug 280673] New: [WebCrypto] EdDSA should reject any small-order point

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 04:12:39 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280673

            Bug ID: 280673
           Summary: [WebCrypto] EdDSA should reject any small-order point
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com

According to the Secure Curve specification, the Ed25519 'verify' operation should reject any small-order point [1]. 

> 2. If the key data of key represents an invalid point or a small-order element on the Elliptic Curve of Ed25519, return false.
> 3. If the point R, encoded in the first half of signature, represents an invalid point or a small-order element on the Elliptic Curve of Ed25519, return false.

There are WPT cases [2] for this scenario, and WebKit fails in cases 0, 1, 2, 12 and 13.

[1] https://wicg.github.io/webcrypto-secure-curves/#ed25519-operations
[2] https://wpt.fyi/results/WebCryptoAPI/sign_verify/eddsa_small_order_points.https.any.html?label=master&label=experimental&aligned

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241001/7748eed4/attachment.htm>


More information about the webkit-unassigned mailing list