MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.65k stars 138 forks source link

feat/W3C-L2-update #89

Closed MasterKale closed 3 years ago

MasterKale commented 3 years ago

This PR contains library tweaks in preparation for L2 of the WebAuthn spec (now a Candidate Recommendation) becoming the next Recommendation (optimistically sometime in January). As SimpleWebAuthn implemented L2 of the spec, changes should be minimal.

As mentioned in #88, a diff of the changes between L1 and L2 can be viewed here: https://services.w3.org/htmldiff?doc1=https%3A%2F%2Fwww.w3.org%2FTR%2F2019%2FREC-webauthn-1-20190304%2F&doc2=https%3A%2F%2Fwww.w3.org%2FTR%2Fwebauthn-2%2F#sctn-storeCredential

MasterKale commented 3 years ago

I've gone through the diff of the two levels and believe this is all the work needed to get the library up-to-spec with the latest CR draft of L2.