Lock and Key adds a Security Key button to your WordPress login page. Users register a hardware security key on their profile, then sign in by entering their username, clicking Security Key and confirming on the key. There’s no password to steal, and phishing sites can’t reuse the login.
Works with Ledger Nano S, S Plus, X and Stax (FIDO U2F / Security Key app), YubiKey, Google Titan, and any FIDO2/WebAuthn hardware key.
For roles set to Security key only, password login is refused on the login page and XML-RPC once the user has registered a key. Users who haven’t registered a key yet can still use their password, so nobody is locked out before setting one up.
If a user loses their key, an admin removes it from the user’s profile and their password works again. If you’re locked out, adding define( 'LOCKANDKEY_DISABLE_KEY_ONLY', true ); to wp-config.php allows passwords again.
Lock and Key Pro is a separate plugin that adds monitoring: a login activity log (logins, failed logins and security key changes, with IP address and browser), IP address blocking, email alerts for administrators and for each user about their own account, and WooCommerce support.
Lock and Key doesn’t contact any external service. Registered keys (a public key, a key ID, the name the user gave it, and when it was created and last used) are stored in your own WordPress database.