It works! Beyond passkeys, I can encrypt a file in the browser with typage and WebAuthn, and then decrypt it with the same YubiKey from the CLI with age-plugin-fido2prf.
README: https://github.com/FiloSottile/typage/blob/push-xstnltwzumvw/README.md#encrypt-and-decrypt-a-file-with-a-passkey
PR: https://github.com/FiloSottile/typage/pull/28
README: https://github.com/FiloSottile/typage/blob/push-xstnltwzumvw/README.md#encrypt-and-decrypt-a-file-with-a-passkey
PR: https://github.com/FiloSottile/typage/pull/28
Comments
…
But also, it is important for the world to understand that using this Passkey feature means creating a significant dependency on Apple/Google to protect the keys used for decryption.
The news recently about Apple caving to the UK to let them see these keys is concerning.
But, Apple built things with a way to allow user recovery of the iCloud Keychain. It's not inconceivable for a Government to mandate changes that would allow them to gain access to these too. https://dub.sh/dHHRrip
Need to stay vigilant!
https://support.apple.com/guide/security/escrow-security-for-icloud-keychain-sec3e341e75d/1/web/1