Re: [webauthn] Add "sign" extension (#2078)

Thanks for pushing this forward. We've run into exactly the gap this PR describes while researching a **passkey-native e-signature protocol** (PassSign), and wanted to add a concrete, independent use case plus a couple of requirements from that angle.

**Use case: document signing, not just wallet holder-binding.** The use cases discussed above are wallet/VC-focused. Document signing (PDF/CMS/JAdES-style signatures) is a distinct one with its own constraint: the output has to be verifiable by decades of existing signature-validation tooling (Adobe, EU DSS, etc.) that expects specific
container formats (CAdES/PAdES/JAdES) and registered algorithm identifiers (not a bespoke envelope).

From that angle, three things would materially affect whether this extension is usable for document signing:

1. **Algorithm identification.** as @OR13 raised above. For a signature to slot into a standard CMS/JOSE/COSE container, the verifier needs an unambiguous, registered identifier for exactly what was signed (curve, hash, prehash/domain-separation convention). If `sign` ends up supporting multiple implicit conventions per authenticator, document-signing consumers need a way to learn which one was used (not just get raw bytes back).
2. **Attestation.** For our use case attestation isn't a nice-to-have. It's what lets a signature claim a meaningful assurance level at all (the difference between "some key signed this" and "a certified, hardware-bound key signed this," which maps onto eIDAS AdES/QES-style tiering). Would attestation availability (or its absence, e.g. for synced credentials) be discoverable by the RP at signing time, not only at key-creation time?
3. **Domain separation for the signed payload.** Since `sign` signs "the given input unaltered," a document-signing RP needs confidence the same signing key can't produce a signature ambiguous with some other protocol's expected input (cross-protocol signature confusion). Is there an intended convention for callers to add their own context prefix before calling `sign`, or is that left entirely to applications?

Also, @nsatragno 's question upthread about overlap with WebKit's `remote-cryptokeys` looks unanswered and seems important. From a document-signing standpoint we'd care a lot about the two proposals converging on compatible signature semantics (even if the APIs differ), since fragmentation here means parallel verification logic per browser. Is there an active thread reconciling the two we could follow?

Happy to help think through the document-signing angle as this develops, and to write up more detailed requirements if useful. We'd rather feed real requirements in early than adapt around a shipped API later.

-- 
GitHub Notification of comment by codedpills
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/2078#issuecomment-5083836793 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 26 July 2026 14:11:43 UTC