mylofi / local-data-lock

Protect local-first app data with encryption/decryption key secured in Webauthn (biometric) passkey
https://mylofi.github.io/local-data-lock/
MIT License
122 stars 5 forks source link

investigate using PRF authenticator extension #2

Open getify opened 3 months ago

getify commented 3 months ago

instead of sticking the encryption-key IV in the userHandle, consider PRF extension, which allows a passkey to generate a safely secure number suitable as key material.

getify commented 3 months ago

Lots of useful links here: https://github.com/forcedotcom/cli/discussions/2482

getify commented 3 months ago

MDN: https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResults