idos
uses WebAuthn to create a passkey- the user password is stored locally within the passkey
dapp
loadsidos-iframe
idos-iframe
uses the passkey to extract the password, for key derivationidos-iframe
exposes an interface viapostMessage
fordapp
to request data decryptiondapp
exposes an interface viapostMessage
foridos-iframe
to return decrypted datadapp
never has access to the user password or key
To test, make sure you're running this in a secure context (https://
, not file://
), and:
- visit
idos.html
to create a passkey - visit
dapp.html
to use the passkey and observe the message passing