| Changelog | The hard cases, sorted: flaky connections, two tabs on one file, merges, a full server or a file that vanished, what you type in the editor while it locks, plus KeePass 2's own TOTP and the CSV a German Excel saves. Most of this came from @sbuchweitz, who sent 24 careful pull requests in a row and wrote down every oddity they ran into on the way. Thanks a lot, that was a real pleasure to review!
Added
- CSV import understands German column names from a hand-made list too: Titel, Benutzername, Kennwort, Webseite, Bemerkung, Ordner, Schlagwörter and friends, in any case.
- Bitwarden JSON import: SSH keys come along, the private key as a key file attachment (ready for KeePassXC's SSH agent), public key and fingerprint as fields. The import also says when an entry loses something on the way, such as a passkey.
- When the database vanished from the server (moved or deleted somewhere else), the banner offers "Put the file back": it saves the open database at its old place again and never overwrites a file that turned up there in the meantime.
Fixed
- With the offline copy on, a file that was moved or deleted on the server while your changes were still waiting to go up no longer just says "File not found". The offline copy opens instead, with a notice that the file is gone, so you can put it back where it was or save a copy. Nothing is sent to the server until you click.
- Files where an older merge left the same entry or group in two places no longer get stuck on every save. A notice offers "Tidy up": one copy stays (where it was moved last, with what was changed last), the other copy's state goes into the entry's history, and you're told what got folded. Nothing changes before you click.
- Notes and fields with Windows line breaks (CR LF, as pykeepass or Windows scripts write them) keep them when KeePassNC saves. Before, the first save quietly turned them into plain LF in every entry of the file.
- The standalone password generator page now clears what you copied from the clipboard again after 20 seconds, just like the app does.
- Unlocking with a remembered key file no longer waits forever when the server's answer to the key file secret never comes. After 30 seconds it gives up and says the server can't be reached.
- Databases with a raw key file of exactly 32 bytes: after another device's changes came in, a merge, the unlock screen's check or a new master password, the next save could encrypt the file with a key nobody can derive, so it no longer opened. If that happened to one of yours, the
.bak copy next to it or an earlier Nextcloud file version still opens.
- A damaged or cut-off database (an upload that never finished, say) says so, and where a good copy usually waits: the
.bak next to it or Nextcloud's file versions. Before, a cut-off KDBX 4 file slipped past the integrity check and showed up as a wrong password, and other damage greeted you with kdbxweb's raw "Error FileCorrupt: invalid hash block".
- Databases that still use the old Argon2 version 1.0 say so, with a hint how KeePassXC updates them, instead of claiming your password is wrong.
- "Exclude from password health" now sticks in KeePassXC too: it only understands a lowercase
true, and KeePassNC wrote True. Entries marked that way before are switched over the next time they're edited.
- Cleaning up backup copies only ever deletes files. A folder that happened to be named like a backup (
Passwords.kdbx.20260101-120000.bak/) was deleted along with everything in it.
- Password generator: with "at least one of each group", the strength shown is now the exact entropy of what it draws. Short passwords were rated too high: four characters from four groups are about 20 bits, not 24.
- The EFF word list has 7772 words (the four with a hyphen are left out), not 7776 as the tooltip said. The bits were already right.
- Search: regular expressions keep their backslashes, so
*title:\d+ really looks for digits instead of the letter d.
- Search: a regular expression that doesn't work matches nothing (it used to match every entry with that field empty), and the list says so.
- Search: custom fields with digits or underscores in the name work, like
_PIN2:1234 or _KP2A_URL_1:example, and names with spaces or colons go in quotes: _"Security Question":blue.
- Search: wildcards like
a*a*b no longer freeze the page for minutes on an entry with huge notes.
- An entry deleted for good on one device and changed later on another no longer vanishes when the two versions meet (a save conflict or "Merge database"): the later change wins, and the group it sits in stays too. Whatever nobody touched since the deletion still goes.
- Merging two versions no longer throws out custom icons that nothing happens to use right now, so your icon collection survives a save conflict.
- An entry or group moved on another device (KeePassXC included) no longer turns up twice after a save conflict or "Merge database", in its old group and in the new one, which also made every merge after that fail. It now sits only in the group it was last moved to, on whichever device. And two groups moved into each other on two devices no longer vanish together.
- Moved an entry into a brand-new group while another device edited it? The merge no longer skips that edit.
- A file that holds an entry twice now says so when a save runs into a conflict, instead of claiming the server has a different database.
- Deleting a group that holds the recycle bin (KeePass 2 lets you pick any group for it) no longer makes the group, its entries and the bin vanish on the next save. The bin moves up to the top level and keeps everything, the group goes into it.
- Files without a recycle bin setting: deleting really moves to the bin now, as the message says, and Undo brings it back. Before, it was gone for good. Saving such a file now writes the setting down as "on"; before, KeePassXC read what KeePassNC saved as "off".
- Dragging something that's already in the recycle bin onto the bin leaves it alone instead of deleting it for good without asking.
- Phones: two quick swipes to the right (entry to list, list to groups) no longer snap the groups shut again, and the Back key after that no longer leaves the app. Mostly in Safari, where the first swipe's own history step arrived late and was taken for a press of Back.
- Editing an entry in the recycle bin keeps it there instead of quietly moving it to the top group. Pick another group in the editor to move it out.
- Deleting, moving or editing something while KeePassNC fetches another device's changes (it does that when you come back to the tab) no longer gets undone a moment later: the fetch steps aside, and the next save merges both.
- A move or delete dialog, an Undo or a drag that was still open when those changes arrived now acts on the fresh copy. It used to slip in a second entry with the same ID, after which every merge with another device failed; if the entry was deleted over there, you now get a short note instead.
- Merging another copy and importing a CSV wait for a running sync instead of racing it, so nothing they add goes missing.
- CSV import reads semicolon and tab separated files too, like the ones a German Excel saves, in UTF-8 or Excel's Windows encoding. They used to come in as a pile of empty entries, and umlauts as �.
- A CSV file whose columns KeePassNC doesn't know now gets a clear message instead of turning into empty entries.
- A stray quote in the middle of a CSV field (
pass"word) no longer swallows the rows after it into one field.
- Changing the master password or key file while the connection hiccups: when the server got the new file but its answer got lost, KeePassNC now checks with the server before it says "not changed", instead of leaving you with a password the file no longer opens with.
- A password change that only made it into the offline copy survives a reload. If the file on the server changed meanwhile, KeePassNC asks once for the previous password to merge both, instead of blaming another device and quietly undoing your change.
- A save whose answer got lost on the way back is recognized on the next sync, so it no longer gets merged with itself and leaves a conflict backup behind.
- Copied passwords really leave the clipboard again. Browsers don't let a page clear it while you're pasting in another tab (Firefox and Safari not even a few seconds after your last click), so the password used to stay put while the status line promised otherwise. Now the status line says it's still there, and your next click or key press in the tab clears it. Whatever you copied elsewhere in the meantime stays, wherever the browser lets KeePassNC tell.
- Same database open in two tabs with the offline copy on: changes made in both while the server was away are all kept now, even if one tab is closed before the server comes back. Before, the tab that saved last quietly pushed the other tab's changes out of the offline copy.
- Opened a database offline and saved later? The backup copy made before that first upload now holds what was on the server, not your local copy.
- A save the server never answers (a proxy swallowing it, a half-dead connection) gives up after a minute and goes the offline way, instead of holding up every later save until a reload. Big files on slow lines get extra time.
- Closing the tab while a save is still on its way asks first, unless the offline copy already holds your changes.
- A full server (HTTP 507), a locked file or a vanished one now gets a banner that says so, with "Save a copy", so your changes always have a way out. A full server used to count as "saved offline", with a quiet retry every 30 seconds forever.
- What you type in the entry editor survives locking. Locking by hand with unapplied changes asks first; the auto-lock takes the unlock screen instead and gives you the editor back afterwards. A merge, Undo or a language switch keeps the open editor too, and if the entry was deleted on another device meanwhile, "Apply" brings your version back as a new entry.
- Leaving the editor with unapplied changes (another entry, "New", a search hit,
Esc) asks first, and closing the tab warns.
- "Apply" keeps field names exactly as they are:
" PIN " no longer overwrites PIN, and fields like "Title " no longer vanish. A name you type that's already taken gets a message instead.
- A quick double click on "Apply" with an attachment no longer makes the entry twice, an expiry without a date no longer stops "Apply", and notes with Windows line breaks no longer get a new history version on every "Apply".
- Entries with KeePass 2's own TOTP (the
TimeOtp-* fields) wore the TOTP badge but never showed a code. Now they do: in the entry, behind the quick button and in the CSV export. Same for the KeeOtp plugin's format and a bare secret in the otp field.
- TOTP settings that can't make a code (a broken secret, an unknown algorithm) say so in the entry instead of showing "------" forever, and the quick button tells you rather than copying nothing.
- A TOTP algorithm spelled
SHA-256, HMAC-SHA-256 or HmacSHA256 works now, not just SHA256.
- The CSV export of an old-style TOTP without settings (
TOTP Seed alone) left the period empty, and KeePassXC took that as one second after the import. Back to 30 seconds.
- Bitwarden's Steam Guard codes (
steam://…) arrive from the import as proper five-character Steam codes.
Changed
- Changing an entry's TOTP in KeePassNC now replaces the older TOTP fields too (
TOTP Seed, KeePass 2's TimeOtp-*), so KeePassXC and KeePass 2 stop making codes from the old secret. The editor shows a TOTP from those fields as well, so you can see, change or remove it.
- Locking now overwrites the key file and the password hashes of the open database with zeros, right after the last save is through, and the key derivation tidies up its scratch copies too. JavaScript can't promise a spotless memory, but less lingers there now.
- Nextcloud page: the Content Security Policy also says
form-action 'none', like the standalone page, so not even an injected form could send anything anywhere.
- Standalone pages: the shipped
.htaccess files also send Strict-Transport-Security, so once a browser has been there it never tries plain http:// again.
- Strength meter: a password from the "Simple" generator is recognised by its shape and shows the same exact strength everywhere (editor, entry view, health report) instead of a much too high guess. Other passwords show a "≈" before the bits, since they are only estimated.
- Strength meter in the entry editor: a password linked to another entry is rated like the password it points to, not like the
{REF:…} text.
- Password generator: a click on the password copies it in the entry editor too, like in the vault view and on the standalone page.
- Icons are drawn with a crisp 1.5px line (2px for the large ones), so circles and curves no longer look jagged or soft.
- Locking the database also clears a password you just copied from the clipboard.
|