Use a YubiKey with SWELL Secure
A YubiKey can guard the keys that open your files, so that a copied browser profile or a borrowed computer isn't enough to read what was sent to you.
- What works today
- Supported keys
- Compatibility
- Register a key
- Unlock
- Backup keys
- Lost key
- Remove or replace
- Which website your key is registered for
- Troubleshooting
- Security limits
- Product notes
What works today
SWELL Secure is the family of SWELL apps. YubiKey support is different in each SWELL app. This guide covers only what the current releases do.
| App | YubiKey support today | How it talks to the key |
|---|---|---|
| SWELL in the browser | Your identity's private keys are stored sealed by your YubiKey. The browser opens transfers sent to you only after a touch of the key. Optional: the key's PIN every time, spare keys, and signing in on other browsers with the key. | FIDO2 (WebAuthn PRF, the hmac-secret extension) |
| SWELL for Mac | Keep a backup copy of your Vault key on a YubiKey, and check with the key and its PIN that it can be recovered. The YubiKey doesn't open the Vault yet: your Mac still does. | Smart card (PIV, slot 9d) |
| SWELL for iPhone and iPad | Not in the current release. See Coming later. | |
| SWELL for Windows | In development, with no YubiKey support yet. |
SWELL in the browser is at app.wiredlogix.com and is in private preview. The Mac, iPhone and iPad apps are in early access. How to get SWELL.
Supported YubiKey models and firmware
For SWELL in the browser (FIDO2)
- Needed: a YubiKey with FIDO2 that supports the hmac-secret extension. The YubiKey 5 Series supports it from firmware 5.2. Other FIDO2 YubiKeys with hmac-secret are expected to work; SWELL checks when you register and tells you if your key can't be used.
- Tested: a YubiKey 5 with firmware 5.7.1, in Google Chrome on macOS (November 2026).
- Can't be used: keys that only do U2F (FIDO U2F, no FIDO2), and keys without hmac-secret.
- Signing in on other browsers stores one discoverable credential (passkey) on the key. A YubiKey 5 holds about 25 of them, or 100 from firmware 5.7.
To check your key's firmware, open Yubico Authenticator or run ykman info.
For SWELL for Mac (PIV)
- A YubiKey with the PIV smart card application, such as the YubiKey 5 Series. The Security Key Series has no PIV and can't be used here.
- An elliptic-curve key (P-384 or P-256) in PIV slot 9d (Key Management) with a certificate, so macOS can list it. You create these with Yubico's tools, for example ykman piv keys generate --algorithm ECCP384 9d pub.pem, then ykman piv certificates generate.
- macOS 26 or later.
FIDO2 requirements
- A browser with WebAuthn and the PRF extension. SWELL asks the browser whether it supports PRF. If it doesn't, the YubiKey option is turned off with "This browser can't use a security key to protect the identity."
- A security key, not a phone or a password manager. SWELL asks for a roaming security key. Signing in on other browsers is refused if a password manager or the device keeps the passkey instead of the YubiKey.
- A FIDO2 PIN, if you choose "Also ask for the key's PIN each time" or "Also sign in with this key on other browsers". Set one in Yubico Authenticator or in Chrome under Settings, Privacy and security, Security, Manage security keys.
- No attestation is checked and no account is made: SWELL has no server that stores your credential. The key's secret seals your keys inside your browser.
macOS, iOS and Windows compatibility
| Platform | SWELL in the browser | SWELL app |
|---|---|---|
| macOS | Tested in Google Chrome with a YubiKey 5 over USB. Safari and Firefox not yet tested. | Vault key backup copy over USB (PIV), macOS 26 or later. |
| iOS and iPadOS | Not yet tested. | No YubiKey support in the current release. |
| Windows | Not yet tested. If your browser reports no PRF support, SWELL says so and leaves the option off. | In development, no YubiKey support yet. |
If you try a combination we haven't tested, we'd like to hear how it went: support@wiredlogix.com.
Register a security key
Pictures are from SWELL in the browser, release 0.4.8. You can protect a new identity as you create it, or protect one you already have.
When you create an identity
- Open app.wiredlogix.com and choose Create identity.
- Tick Protect with a YubiKey.
- Optional: tick Also ask for the key's PIN each time (password plus YubiKey, see below), and Also sign in with this key on other browsers.
- Insert the YubiKey and press Create identity. Touch the key when asked: once to register it ("1 of 2") and once to set the lock ("2 of 2").
- Write down your 24-word recovery phrase. It still works without the YubiKey, and it is your way back if the key is lost.
For an identity you already have
- Open Settings (the gear) and find YubiKey.
- Press Protect with a YubiKey….
- Enter your recovery key or 24-word phrase once more. The browser stores your private keys so that no page can read them back, so it needs the phrase to seal them under the key. SWELL checks that it gives the same address.
- Choose the PIN and sign-in options, press Protect and touch the key twice.
Password plus YubiKey
SWELL has no account password. For something you know as well as something you have, tick Also ask for the key's PIN each time: unlocking then needs the YubiKey, a touch and the key's FIDO2 PIN. The YubiKey itself limits wrong PIN attempts. The PIN choice is made once per identity, and signing in on other browsers always uses the PIN.
Encrypting a file with a password and a YubiKey together is not in the current release. See Coming later.
Unlock and open your encrypted files
Files sent to you through SWELL arrive encrypted to your identity. With a YubiKey registered, this browser can open them only after you unlock:
- Open SWELL. You'll see Unlock with your YubiKey.
- Insert the key, press Unlock and touch it (and enter its PIN, if you chose that).
- Your transfers open as usual. Reloading or closing the tab locks SWELL again. To lock it sooner, press Lock now in Settings.
Sign in on another browser with the key
If you ticked Also sign in with this key on other browsers, open SWELL in the other browser, choose Use an identity I have, then Sign in with YubiKey. Enter the key's PIN and touch it. The relay keeps a sealed copy of your identity that only the key, with its PIN, can open. The identity is then protected by the key in that browser too.
Register a backup security key
Register a second YubiKey and keep it somewhere safe. Either key then unlocks this browser.
- Unlock SWELL, open Settings and press Add a spare YubiKey….
- Enter your recovery key or phrase, insert the spare key, press Add key and touch it twice.
Settings then shows how many keys are registered, for example "(2 keys)". Each browser keeps its own list: register your spare in every browser where you use SWELL.
Lost or broken key: recovery
Your recovery key or 24-word phrase is the root of your identity. The YubiKey only guards this browser's copy, so losing the key doesn't lose your identity.
- With a spare key: unlock with the spare. The lost key can still unlock this browser if someone finds it (with its PIN, if you chose one), so replace it: see below.
- Without a spare: on the unlock screen, press Use my recovery key or phrase, enter it, and protect the identity again with another key if you like. This replaces the browser's stored copy.
- Without the key and without the recovery key or phrase, nobody can open the identity: not you, and not WiredLogix. We never have your keys.
Remove or replace a security key
- Stop using a YubiKey: unlock, open Settings and press Stop requiring the YubiKey…. The browser then stores the keys unsealed again, as it does for an identity without a YubiKey. If a key could sign in on other browsers, SWELL first deletes that sealed copy from the relay (enter the key's PIN and touch it).
- Replace a key: SWELL removes all registered keys at once, not one by one. Unlock with a key you still have, press Stop requiring the YubiKey…, then press Protect with a YubiKey… with the key you keep and add the new one with Add a spare YubiKey…. Without any working key, use the recovery steps above.
- The credential stays on the key. Removing protection in SWELL doesn't erase the sign-in passkey from the YubiKey itself. Delete it in Chrome under Manage security keys, or in Yubico Authenticator.
Troubleshooting
"This browser can't use a security key to protect the identity."
The browser has no WebAuthn PRF support. Try Google Chrome on a computer, which is what we've tested.
"This security key or browser can't derive keys (WebAuthn PRF)."
The key doesn't support hmac-secret (for example a U2F-only key), or the browser dropped the extension. Nothing was stored. Try another YubiKey, or untick the option.
The key wasn't touched in time, or the request was cancelled.
The message names the step: "1 of 2" is registering the key, "2 of 2" is setting the lock. If you ticked the PIN option, the key needs a FIDO2 PIN: set one in Yubico Authenticator, then try again. Nothing is stored until both steps finish.
A password manager pops up instead of the security key.
Some password manager extensions answer passkey requests in the browser's place. Choose "security key" in its prompt, or turn off its passkey saving for app.wiredlogix.com. SWELL refuses a sign-in passkey that isn't on the YubiKey, and names the provider when it can.
"You're using a security key that's not registered with this website" when signing in.
The key holds no SWELL sign-in. "Also sign in with this key on other browsers" has to be ticked when the key is registered. Your recovery key or phrase always works: choose Use an identity I have and enter it.
SWELL is locked again after I reloaded the page.
That is by design: unlocking lasts until the tab is reloaded or closed, or until you press Lock now.
Mac: "No YubiKey inserted" with the key plugged in.
SWELL for Mac looks for a key in PIV slot 9d with a certificate. Check with ykman piv info and create one as described under Supported keys. Wrong PIN entries count against the key's PIV PIN retries: don't use them all up.
Still stuck? Write to support@wiredlogix.com with your browser and version, the YubiKey model and firmware, and the exact message.
Which website your key is registered for
A security key keeps each registration tied to one website name, and only answers for that name. Your browser or phone may show the name when it asks for a touch, and Yubico Authenticator may list it.
- SWELL in the browser registers keys for app.wiredlogix.com, the address the page is served from. This hasn't changed.
- SWELL apps on Mac and iPhone will register keys for swellsecure.com when encrypting files to a YubiKey ships (see Coming later).
- Earlier registrations keep working. Anything set up for app.wiredlogix.com still opens with the same key. You don't need to re-encrypt anything, and nothing set up earlier stops working. To encrypt new files under the new name, register the key once more; the app asks when it's needed.
- Seeing both names is expected. A key used for both can hold a registration for each name. They don't interfere with each other.
Security limitations
- It guards one browser's copy. The YubiKey protects the identity stored in this browser profile. Your recovery key or phrase opens the identity without the key: keep it as safe as the key.
- The browser app depends on its web server. The page is downloaded each time you open it. Whoever controls that server could, in principle, serve a changed page, and a changed page running while you unlock could copy what it needs to open your identity. For sensitive work, prefer the apps.
- After unlock, keys are in the tab's memory until you reload, close the tab or press Lock now. Anyone using your unlocked browser can open your transfers.
- Each browser enrols separately. Spare keys and PIN choices don't carry over between browsers or devices.
- Sign-in uses the relay. The relay stores a sealed copy it can't open, and it sees when and from which network address a sign-in happens. It could delete or withhold the copy; your recovery phrase still works.
- On the Mac, the YubiKey copy is a backup only. It doesn't lock the Vault: your Mac still opens it without the key. Removing the key rotates the Vault key, but a backup of SWELL's settings made while the key was enrolled, together with the key and its PIN, can still open data from before.
- No guarantees. A YubiKey makes several attacks much harder. It doesn't make SWELL unbreakable, and it can't protect a device that is already compromised. See Security for what SWELL does and doesn't do.
Product notes
Each SWELL product's YubiKey support, separately.
SWELL Current app
Browser (private preview, release 0.4.8): everything on this page, using FIDO2. The security key is registered for app.wiredlogix.com, and stays registered there.
Mac (early access): Settings → Security → Hardware Key · YubiKey. With the key inserted, press Enroll YubiKey to keep a copy of your Vault key wrapped to the key's PIV slot. Check recovery (PIN) proves the key and its PIN can recover it. Remove deletes the copy and rotates the Vault key; each vault re-encrypts the next time it opens. One YubiKey at a time. Close any open vault before you enroll or remove.
iPhone and iPad (early access), Windows (in development): no YubiKey features in the current release.
Coming later
Not available yet. These are built or being built and tested, and are not in any current release. We'll add them to this page when they ship.
- Requiring a YubiKey before the Mac and iPhone apps open your identity, with spare keys.
- Encrypting files to a YubiKey, with or without a password, and opening them with the key, on Mac and iPhone. Keys will be registered for swellsecure.com.
- YubiKey protection for SWELL's next encrypted drive.
YubiKey is a trademark of Yubico AB. SWELL Secure and the SWELL apps are made by WiredLogix LLC, which is not affiliated with or endorsed by Yubico.