{"repo":"FuelLabs/authn-sign","free":true,"listed":false,"github":"https://github.com/FuelLabs/authn-sign","clone":"git clone https://github.com/FuelLabs/authn-sign.git","description":"✍️ authn-sign - A simplified browser interface for WebAuthn focused on secp256r1 (P-256).","language":"JavaScript","stars":24,"topics":["blockchain","p-256","secp256r1","webauthn"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"authn-sign A simplified browser interface for WebAuthn focused on secp256r1 (P-256) signing. Features - create , sign (i.e. authenticate) and recover from WebAuthn. - Extremly light with minimal dependancies (just @noble/curves ). - Supports compressed and non compressed public keys. - Supports EIP-2098 encoded and non-encoded signatures. - Designed for blockchain applications which typically use prefixed hex data encoding. - Suports an EIP-2098 sha based address creation using sha256(publicKeyCompact) . - Decoded pre and post challenge JSON clientData strings provided out of the box. Warning: this library is in BETA, do not use it for production use. A note that WebAuthn local testing requires HTTPS and a localhost non IP address. Try it now: authn-sign.vercel.app. Install CDN (via Module) CDN (via UMD) Export available at window.authnSign . Build Output is set to ./build/[name].[ext] . Test Example Account Recovery Hosted Wallet Example: authn-sign.vercel.app/ Simple Example: authn-sign.vercel.app/simple.html Blockchain Verification Check (in NodeJS) Size Exports constructor create sign recover Todo - Nits and cleanup for encoding. - More protective measures against bad values (assertHex etc.). - Better typing structures (e.g. PublicKey, Signature, CreationOption etc.). - Make optional the dependancy on node/browser crypto module. - Final API is still being decided so leave your feedback as an issue! Licence","default_branch":null,"files":null,"tree":[],"storefront":"/r/FuelLabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FuelLabs/authn-sign/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}