- From: Jori Lehtinen <lehtinenjori03@gmail.com>
- Date: Mon, 15 Jun 2026 01:18:14 +0300
- To: John Bradley <jbradley@yubico.com>
- Cc: Kyle Den Hartog <kyle@pryvit.tech>, Manu Sporny <msporny@digitalbazaar.com>, "public-credentials (public-credentials@w3.org)" <public-credentials@w3.org>
- Message-ID: <CAA6zkAuKkZpZz8c3CLtgY93OMrZ-erb=fWFgOnsNbrJsRqcFOw@mail.gmail.com>
> For PRF you can tell how it is backed based on the attestation returned in makeCredential. Good to know. I need to look into that and make it possible to display that information to the user in my wrapper. > That said, PRF is not ideal for signing keys in many circumstances. There is a new WebAuthn extension for raw signing with derived keys. https://github.com/w3c/webauthn/pull/2078 Yes! I've been dreaming of the ability to sign arbitrary data with WebAuthn. I think a combination of approaches is needed. My view is that an identity and its associated capabilities/credentials, liabilities/contracts, and all data should be recoverable/accessible/usable across multiple linked devices, with a replica of the main capability to access these protected by hardware-bound encryption of each device and then that main cap would allow to access resource specific capabilities that are used to authorize and encrypt relay of changes between devices. High-assurance signatures could be delegated to hardware-bound signing credentials when stronger guarantees are required. For example that decentralized identity could issue a delegation informing others to verify x actions with that hardware bound signers verification keys. It maybe also enables having a PID issued to a hardware-bound signer, which can then create qualified signatures. In the eidas context, consumer hardware can effectively become a QSCD. (I would appreciate Steffens input here, on what would actually be possible in terms of satisfying eidas requirements) However, this is only the first step (super important step). Some form of Byzantine fault-tolerant distributed ledger for the public stuff like the hardware-bound credential's identifiers and its associated verification material is also required. I think all of this is essentialy distributed editing and that is one reason why I consider CRDTs as one important primitive. Many know them just for collaboration software (which eveything including more than one actor essentially is (realtime or not) :p) but I see them as a tool for decentralized deterministic interpretation of any data model and the changes made to it (causality what happend after what etc. idependent of delivery order). Every one actively ensures on their own part that the rules are followed. malformed data can be ignored, conflicts can be noticed (eg. a fork in a log gets flattened in to sequence according to causality rules and next signature after fork doesn't verify -> fork attempt gets dropped/ignored) and entities that break the rules can be noticed and isolated/ignored. Eventually when everyone just gets the data everyone agrees on the same correct state without the need for further communication, also essential for offline support it is possible some changes mase on a temporary offline device arrive later than some changes made when after that on a device that is online, so here they ensure that the offline one is dropped if the online one was made later even if the offline one arrives later. That went a bit of the rails :p In any case, that WebAuthn extension for raw signing is valuable, important and awesome work. I love it. This is true decentralization, and true high-assurance security. ❤️🔥 su 14. kesäk. 2026 klo 23.22 John Bradley <jbradley@yubico.com> kirjoitti: > For PRF you can tell how it is backed based on the attestation returned in > makeCredential. > > That said PRF is not ideal for signing keys in many circumstances. > > There is a new WebAuthn extension for raw signing with derived keys. > https://github.com/w3c/webauthn/pull/2078 > > That is targeted more towards digital credential wallets. > > Yubico released a preview version of the extension that is being tested by > several wallets for feedback to the spec. > > In Europe CC certification is needed for wallet secure cryptographic > devices (WSCD) firing initial EUDI wallet implementations to use cloud HSM. > That is neither scalable nor truly privacy preserving in my opinion. > > We do need solutions for certifiable cryptographic elements under the > users control. > > Regards > John B. > > On Sun, Jun 14, 2026 at 11:42 Jori Lehtinen <lehtinenjori03@gmail.com> > wrote: > >> A hardware-backed key management extension would be great. >> >> I'm currently using WebAuthn PRF as a workaround to obtain hardware-bound >> entropy that can then be used to recover encrypted keys stored remotely >> (with local caching). >> >> As I understand it, WebAuthn does not guarantee that the entropy is >> always backed by a local user-agent HSM; the credential may be backed by >> other authenticator implementations, including synced or remote passkey >> ecosystems. However, it does provide a deterministic source of entropy tied >> to a device, allowing a frontend verified controller of a device to always >> resolve the same entropy and recover other secrets that are protected via >> encryption. >> >> Here is my convenience wrapper around WebAuthn for this use case: >> >> >> https://www.npmjs.com/package/@sovereignbase/hardware-bound?activeTab=readme >> >> That is just a helper to obtain the PRF bytes; all of the key management, >> backup, and recovery logic still needs to be built around it. >> >> su 14. kesäk. 2026 klo 21.23 Kyle Den Hartog <kyle@pryvit.tech> >> kirjoitti: >> >>> I only heard about KPS this week, so still want to do some additional >>> digging on it. I want to do some experimenting with it to see what it takes >>> to implement it and what a spec might look like. This is still like the >>> idea stage of the incubation stage, so very early. >>> >>> As for the web crypto extension, I’d enjoy to get some feedback from >>> sites that would like to rely on it. Much comes from the idea of Web >>> Wallets, but it’s not clear if another browser vendor would be open to >>> implementing it. So, I think as a starting point giving a +1 to the WICG >>> proposal and sharing it with other vendors is the next step. >>> >>> https://github.com/WICG/proposals/issues/214 >>> >>> Another thing we are also looking at which would be useful as a web >>> primitive and I’ve been implementing to test out is Webcat: >>> >>> https://webcat.tech/ >>> >>> It would be useful to understand what sites would need to make this >>> feature of the Web Platform easier to use. For example, I don’t know how it >>> would work well with a site that does A/B testing. >>> >>> -Kyle >>> >>> -------- Original Message -------- >>> On Sunday, 06/14/26 at 15:11 Manu Sporny <msporny@digitalbazaar.com> >>> wrote: >>> On Thu, Jun 11, 2026 at 11:45 PM Kyle Den Hartog <kyle@pryvit.tech> >>> wrote: >>> > Yes, and that’s why I’m interested in alternative options for the Web >>> platform like with ideas like this: https://voltrevo.github.io/kps/ >>> >>> This is neat -- is it coming to Brave, Kyle? >>> >>> > This is also why I've proposed >>> https://github.com/brave-experiments/hardware-backed-webcrypto as an >>> alternative to decouple hardware bound keys from the phishing resistant >>> mechanism. >>> >>> Oh, yes, please. What can we do to help you push this forward at W3C, >>> Kyle? We've been asking for this for over a decade now... do you have >>> any timelines you could share? >>> >>> -- manu >>> >>> -- >>> Manu Sporny - https://www.linkedin.com/in/manusporny/ >>> Founder/CEO - Digital Bazaar, Inc. >>> https://www.digitalbazaar.com/ >>> >>> >>> >>>
Received on Sunday, 14 June 2026 22:18:31 UTC