Set up with your keys
wardlet init adds one or more security keys and shows a recovery code once. Add more later so a lost key is not the end.
Hardware key file encryption
Wardlet encrypts files with the security keys you already own. No password, no account, no upload.
$ wardlet init
$ wardlet enc taxes.pdf
$ wardlet dec taxes.pdf.age
Set up once with your keys. Lock a file. Tap a key to open it.
Free and open source. A command-line tool for Linux today, with a desktop app later that opens the same files. Build from source for now; a packaged download is next.
Three steps. Files stay where they are.
wardlet init adds one or more security keys and shows a recovery code once. Add more later so a lost key is not the end.
wardlet enc taxes.pdf replaces it with taxes.pdf.age in the same folder.
wardlet dec taxes.pdf.age — plug in a key and tap it. Without a key, the file can't be read.
Files stay where they are — locked in place. Use wardlet index later if you need to find where you put one.
Good for: SSH keys, .env files, tax documents, password-manager exports, scans, private notes.
For people who already carry a security key.
Nothing to invent, type or forget. Works with YubiKey, Trezor and similar FIDO2 keys. Add more than one.
A locked file replaces the original in place. No mounted drive, no container, no sync conflicts.
Any key you add opens the files. Adding a key doesn't rewrite them.
The way back in if every key is lost. Wardlet keeps no copy, so store it in a password manager.
No account, no cloud, no upload.
Files use the age format. The source is public, so you can audit the lock yourself.
What stays true for files you've locked.
Files you've locked stay locked.
Files you've locked stay locked.
A second key or your recovery code gets you back in.
Other tools solve related problems. Here is how Wardlet differs.
Capable, but setting up hardware keys takes many manual steps. Wardlet uses FIDO2 keys directly and needs no key management.
Full disk encryption protects a powered-off machine. Locked files stay locked on a running machine until you tap your key to open one.
Tools like Cryptomator are great for synced vaults, but they use a mounted container and, as far as we know, don't support unlocking with a hardware key. Wardlet locks each file on its own and unlocks with your keys.
Underneath, Wardlet uses the age format and FIDO2 hmac-secret — the same building blocks as plugins like age-plugin-fido2-hmac. The difference is the product: several keys and a recovery code in one keyring, files locked in place, and adding a key without rewriting existing locked files. If you already live in the age CLI and manage recipients yourself, a plugin may be enough.
Plug a key in with USB. If it asks for a PIN, that is the same PIN a website asks for.
| Key | Status |
|---|---|
| YubiKey 5 series (incl. 5 NFC) | Tested |
| Trezor Safe 3 | Tested |
| Nitrokey 3 | Should work (FIDO2 hmac-secret) |
| SoloKeys | Should work (FIDO2 hmac-secret) |
| YubiKey 4 / NEO | Not supported (no FIDO2) |
| Trezor One | Not supported |
Limits and tradeoffs, stated plainly.
wardlet index prints paths this machine recorded when you locked a file. It needs a key tap. Paths are host-specific; another computer keeps its own list.