OnlyKey firmware 3.1.0 is now available, together with OnlyKey App 6.0.0, python-onlykey 1.3.1, onlykey-agent 1.1.17 and the new web app at apps.onlykey.io. This guide walks through the upgrade step by step.

⚠️ Back up first

Create a backup of your OnlyKey before you upgrade, and keep your backup key or passphrase where you can find it. If anything goes wrong during the upgrade, the backup is how you get your slots and keys back.

Why Upgrade?

This release includes security fixes. We recommend that all OnlyKey users update.

It also adds new features:

  • Post-quantum keys. ML-KEM-768 and X-Wing keys, which OnlyKey can generate itself, and composite post-quantum PGP keys.
  • Derived X-Wing keys for age file encryption.
  • A new web app at apps.onlykey.io with an authenticated, encrypted connection between the browser and OnlyKey.
  • Webcrypt policy. Choose whether the browser may use stored keys, derived keys only, or nothing.
  • Separate confirmation settings for stored keys and derived keys: challenge code or button press.
  • Opt-in v2 derivation for SSH/GPG keys with onlykey-agent. Your existing derived keys do not change.
  • Fixes for confirmation timeouts, large responses, Windows browser logins and keyboard layouts.

Before You Upgrade

Please read these before upgrading:

  • Web app: firmware 3.1.0 uses apps.onlykey.io. OnlyKeys on firmware 3.0.4 or older keep using apps.crp.to.
  • One firmware edition: the International Travel Edition has been removed in 3.1.0.
  • Second profile: plausible deniability can no longer be set up; a second profile is encrypted with its own PIN. An OnlyKey that already uses plausible deniability keeps working after the upgrade.
  • OnlyKey and OnlyKey DUO use the same firmware file.
  • SSH/GPG derived keys created with onlykey-agent stay the same after the upgrade.
  • python-onlykey 1.3.1 (onlykey-cli) needs Python 3.10 or newer.
⚠️ Warning

If your OnlyKey has firmware v0.2-beta.8 or earlier you must back up OnlyKey before upgrading, and restore the backup file once the firmware is upgraded.

Steps to Upgrade

Step 1. Back up your OnlyKey - Open the OnlyKey App, go to the Backup/Restore tab and create a backup. Make sure you have your backup key or passphrase. Full instructions are in the User’s Guide.

Step 2. Install OnlyKey App 6.0.0 - Download it from the OnlyKey App releases or follow the instructions here.

macOS, if your previous OnlyKey App was set to open at login: after installing 6.0.0, open System Settings → General → Login Items & Extensions. Under Open at Login, select the old “OnlyKey App” entry and click – to remove it. Otherwise the old entry can open the app full screen when you log in. To start the new app at login, turn the option on again in the OnlyKey App.

Step 3. Upgrade the OnlyKey firmware - Follow the instructions below.

Step 4. Check your OnlyKey - Unlock it with your PIN and confirm that your slots and keys are there. If anything is missing, restore your backup (Restore From Backup).

Step 5. Update the command-line tools (if you use them) - see below.

onlykey-cli and onlykey-agent users: install the latest versions with $ pip3 install --upgrade onlykey onlykey-agent. Python 3.10 or newer is required.

Steps to Upgrade OnlyKey firmware

Download Firmware

There is a tab named Firmware in the app. This is used to load the latest firmware onto OnlyKey directly through the OnlyKey app.

  • Download OnlyKey firmware 3.1.0
  • Go to the Firmware tab in the app
  • Follow the instructions in the app to load the firmware

You can ensure the integrity of your downloaded file by verifying the checksum.
Signed_OnlyKey_3_1_0_STD.txt SHA 256 checksum:

b391eab93a4e3faed9d2969cc279694a90d4a1063126fb4b2f3d12908a69ed4a

For more information on this release see the OnlyKey firmware 3.1.0 release notes.