Request an invite
Docs menu

Use a security key

Passkeys inside a machine live on a security key OSMates gives it, and each use needs Touch ID or your Mac's password.

Requires a Windows machine, or a Linux machine on the OSMates engine.

Turn the key on

  1. Shut the machine down.
  2. Select it, choose Machine > Machine Settings, then click Devices.
  3. Turn on Security Key. The machine has the key from its next start.
sh
osmates vm set dev --security-key

A clone starts without the key. Turn it on for the clone to give it a new one.

Confirm a sign-in

When a site in the machine asks for the key, the machine's window shows the site's name.

A sheet in the machine's window asking to sign in to webauthn.io as alice, with Cancel and Sign In buttonsA sheet in the machine's window asking to sign in to webauthn.io as alice, with Cancel and Sign In buttons

  1. Check the site and the account. With several accounts, choose one.
  2. Click Create Passkey or Sign In.
  3. Confirm with Touch ID or your Mac's password.

To refuse, click Cancel. The sheet closes by itself after 30 seconds.

You confirm each sign-in yourself, and agents and the guest can't. An SSH key made with no-touch-required and a login set up with pam_u2f's userpresence=0 sign without asking.

Turn the key off

Turning the key off erases its passkeys, which you can't undo. Sites can't sign in with them anymore.

  1. Shut the machine down.
  2. Select the machine, choose Machine > Machine Settings, then click Devices.
  3. Turn off Security Key, then click Turn Off and Erase.
sh
osmates vm set dev --no-security-key

A security key reset in Windows or Linux also erases the passkeys, after you confirm on your Mac.

Limits

  • The key holds up to 500 passkeys. It has no PIN, because Touch ID or your Mac's password protects it.
  • The passkeys stay with the machine on this Mac. A copy of the machine on another Mac can't use them.
  • Snapshots don't hold the key, so reverting keeps the passkeys as they are.
  • Deleting the machine erases its passkeys.

Report a problem with this page