klucze — User manual
Manual version: 3.40 · updated 2026-12-02 · app version: 0.1 · language: en Other languages: Italiano
Contents
- Introduction
- Quick start
- Installation, requirements and settings
- Using the app
- Worked use cases
- Reference
- How it works
- Common problems and fixes
- Glossary
- Manual history
1. Introduction
klucze keeps your logins: addresses, user names, passwords, PINs, codes and notes. It stores them in one or more Bunch.
What a Bunch is
Bunch is the name of what klucze keeps. The word is the same in singular and plural: one Bunch, two Bunch.
- A Bunch is a set of logins, encrypted, with one password: for example “Personal”, “Work”, “Family”.
- A Bunch does not live in one place only. It is a single thing, with its own identifier, that lives in several identical copies: the replicas. You can have one on the Mac, one on Google Drive, one in the browser, one on the phone.
- Replicas are not backups, and none is in charge: each holds everything. Every change, made from any copy, reaches the others when the Bunch is open on a device that reaches them.
- That is why looking after the replicas is up to you: every device must reach at least one replica that the others reach too. That is the bridge replica, usually the one on Google Drive. Without a bridge, a device becomes an island and its changes do not reach the others (§4.1).
- In the earlier manual, and in some internal file names, the Bunch was called “vault” (“cassaforte”): it is the same thing.
A Bunch is a single encrypted file, Name.klucze, that you put wherever you like: on the Mac, on Google Drive, on a USB stick, on a network disk, on the phone. You can keep several copies in different places. These copies are called replicas: whenever you change something, klucze takes the change to all of them at once. If a replica is unreachable, it catches up as soon as it is available again.
The app has no login: it simply opens. Each Bunch opens with its own password, which must be strong. Nobody, not even the app, can recover the data without that password.
Example: you keep the “Personal” Bunch on the Mac and a replica on Google Drive. At work, on the PC, you open the replica on Drive, add a login and close. In the evening, when you open the copy on the Mac, klucze sees the change that reached Drive and brings it there too.
You can open this manual from the app with Help, in the navigation bar.
Replicas: the most important thing to understand
This is the chapter to read even if you read nothing else. klucze has no server: your logins live only in the replicas you create. Look after them and you lose nothing and every device sees everything; neglect them and you may lose changes or the whole Bunch.
What a replica is. A complete copy of the Bunch, in a single file Name.klucze, on an equal footing with the others: none is in charge. Two kinds, depending on who reaches it:
- private: reached by one device only (the phone storage, the browser storage, a folder on the Mac);
- bridge: reached by two or more devices (Google Drive online, a folder synced by Drive for desktop or Dropbox, a network disk).
Mac ──── private (Mac disk)
│
└──┐
├── BRIDGE: Google Drive (online) ──┐
┌──┘ │
PC phone ── private (phone storage)
The golden rule. Every device must reach at least one bridge replica, and it is wise to have at least two in different places (for example Drive and a USB stick kept at home). Changes travel only while the Bunch is open on a device that reaches the two replicas to be aligned.
What happens if you neglect it.
- Island: a device that reaches only private replicas. Its changes stay there; the others do not see them until you connect it to a bridge.
- Out of sync: a device you have not opened for weeks has an old version. No harm (it aligns when opened), but if it breaks first, changes made only there are lost.
- One place only: if all replicas are on the same disk, one failure loses them all.
How you notice. In the Bunch panel:
- under the name there is the Bunch fingerprint (four groups like
HNFK-PTNQ-KQX4-2MA9): if it is the same on two devices, it really is the same Bunch. It is not secret; - “There is only one replica” or “not seen for N days”: create a replica elsewhere, or reconnect the missing one;
- “have the same identity”: a replica was copied by hand (Finder, File Explorer). Press New identity for…: the data do not change, but from then on the app knows it as a replica of its own;
- “are the same file, reached in two ways”: the same Drive file, seen both online and through the Drive for desktop folder. Keep one of the two;
- the sync panel says at the end of every alignment which replicas are aligned, which are not, and what to do.
Recipes.
- Mac + PC. On the Mac: New Bunch → Google Drive (online). In the panel press Copy ID. On the PC: Add an existing replica → Google Drive (online) → paste the ID → open with the password. Check that the fingerprint is the same. Then, on each, a private replica (New replica → disk folder) to work offline too.
- PC + phone. As above; on the phone Add an existing replica → Google Drive (online), paste the ID (send it with Share, for example on WhatsApp to yourself: it is only an address, never together with the password). Then New replica → This phone's storage.
- Two people. For now: a folder shared by both (Drive for desktop or Dropbox) holding the Bunch file; each adds it with Add an existing replica → the folder. Tell the password in person. (Direct sharing on Drive online will come later.)
- Browser only. A replica in the browser storage and one on Google Drive (online). Do not use Safari to keep a replica (§4.1).
- With a USB stick. New replica → the stick folder, then in the replica menu It is on a USB stick or removable drive: it does not hold up exiting and aligns when you plug it back in.
- Lost device. The files are encrypted: without the password nothing can be read. From another device open the Bunch (it aligns from the bridge replicas), then in the panel Declare dead… the lost device's replica. Change the most important passwords.
- Conflict copy. When Dropbox or Drive for desktop receive two versions of the file at once, they save one alongside under another name. The app (on desktop) recognises it as the same file, takes over the saves that are missing and tells you that you can delete it: it never deletes it by itself.
- Without Drive, with a file. ⋮ menu of the Bunch → Export… → Encrypted klucze file; send the file (the password in person); on the other device Add an existing replica → the file. Then create a bridge replica: two copies that do not see each other drift apart.
- Damaged replica. The app says so in the sync panel (“damaged files”). Connect the other replicas too and press Retry now: the sound parts are taken from there; what is already readable stays intact.
- Old-format folder. ⋮ menu → Convert to file… (§4.1).
The “Set up the replicas” procedure. The first time you open a Bunch on a device, after the alignment, the app shows all the known replicas and what they are from here. Connect those you reach, mark Not reachable from here those that live elsewhere (another phone's storage), declare dead the lost ones. It reopens from the ⋮ menu of the Bunch.
Checklist for a new device.
- Install klucze (or open the web app).
- Add an existing replica → the bridge replica (usually Google Drive (online), with the ID).
- Check the fingerprint: it must be the same as on the other devices.
- Open with the password (never save it in the browser or keychain).
- Add a private replica on this device, to work offline.
- No yellow warnings should remain in the panel.
2. Quick start
- Open klucze and press Create a Bunch.
- Give it a name, for example “Personal”, and choose a strong password: at least 12 characters, ideally a long, unusual sentence. The dice suggests a strong password: write it down on paper right away.
- Tick “I understand…” and press Next.
- Choose where to put the Bunch: in the desktop app, a folder on disk, for example the Google Drive one; in the browser, a folder on the computer, or the browser storage for trying it out.
- The Bunch opens. Press New login (or the N key), fill in name, address, user and password, then Save (⌘S / Ctrl+S).
- Go back to Bunch and press Create a replica to keep a second copy somewhere else.
3. Installation, requirements and settings
Editions
| Edition | How to install | Where a copy can live |
|---|---|---|
| macOS desktop app | open klucze_…_aarch64.dmg and drag klucze to Applications |
any folder on the disk, USB sticks, the network, the Google Drive for desktop folder |
| Windows desktop app | run the klucze_…_x64-setup.exe installer |
as above (Google Drive is usually a drive, for example G:\My Drive) |
| Linux desktop app | install the .deb package (Debian, Ubuntu) or the .rpm package (Fedora, openSUSE) |
as above |
| Web app | open the app address in Chrome or Edge; it can be installed from the browser menu | a folder of your choice (Chrome and Edge only), or the browser storage |
| Single-file version | copy klucze.html wherever you like and open it with a browser (double-click) |
a file on the computer: directly in Chrome and Edge, with “open and save” in the other browsers (see below) |
| kluczyki (the younger brother, Android only) | separate app, with its own manual: one group of logins, one password, no choices | always two copies, managed by itself: the phone memory and the file kluczyki.klucze on Google Drive. That file is a Bunch like any other: Bunches on Drive… shows its ID, to use in Add an existing replica → Google Drive (online) |
How to tell them apart. The klucze icon is a key ring with three keys, in teal; the kluczyki icon is the same ring with a single key, in amber. On the phone the two apps sit side by side without being confused; with Android 13+ themed icons they take the phone's colours.
On the Mac, the first time macOS may warn that the app does not come from the App Store: open System Settings → Privacy & Security and press Open Anyway.
What you can do where
Almost everything works everywhere: opening a Bunch, searching, creating and editing logins, importing, users, the recovery key, changing the password, verify and repair. The differences are about where replicas live and files:
| Operation | Desktop app (Mac, Windows, Linux) | Web app (Chrome, Edge) | Single file | Android app | Terminal (§4.13) |
|---|---|---|---|---|---|
| Replica in a file on disk | ✔ any folder | ✔ a folder you choose | ✔ in Chrome and Edge; in other browsers with “open and save” | — | ✔ the given file |
| Replica in the device's storage | — | ✔ browser storage | ✔ if browser storage opens | ✔ phone storage | — |
| Replica on Google Drive | ✔ | ✔ | — (Google does not accept files opened from disk) | ✔ with the phone's account | — |
| Old-format folder replica | ✔ only if one still exists | ✔ same | ✔ same | — | — |
| Look for forgotten Bunches in a folder | ✔ | — | — | — | — |
| Transfer file | ✔ choose where to save it | ✔ goes to Downloads | ✔ goes to Downloads | — (use a replica on Drive) | — |
| Import sheet (.xlsx) | ✔ choose where to save it | ✔ goes to Downloads | ✔ goes to Downloads | ✔ choose where to save it (not yet tried on the phone) | — |
| JSON/XML export | ✔ choose where to save it | ✔ goes to Downloads | ✔ goes to Downloads | — (it would end up among shared files) | ✔ never in synced folders |
| App tokens, signed deposits | — | — | — | — | ✔ only here |
| Exit held until replicas are aligned | ✔ | ✔ | ✔ | ✔ | — |
| 2FA codes (§4.16), login check (§4.17) | ✔ | ✔ | ✔ | ✔ | — |
| Known breaches (§4.17, needs the network) | ✔ | ✔ | ✔ when online | ✔ | — |
| Fingerprint unlock (§4.18) | ✔ Mac (Touch ID) and Windows (Hello); not Linux | — | — | ✔ Android 11+ | — |
| Suggestions on websites (§4.19) | ✔ with the extension in Chrome, Edge, Brave | — | — | ✔ with Android autofill | — |
| Autofill in other apps (§4.20) | — | — | — | ✔ | — |
Single-file version
The whole app lives in one file, klucze.html (about 1.5 MB): code, look, fonts, icons and the cryptography
(libsodium) are inside the file. It downloads nothing, needs no network and is not installed: copy it to a USB stick or a
folder and open it with a double-click (it opens in the browser, at an address starting with file://). Next to the file
there is klucze.html.sha256, its fingerprint.
Where it keeps the Bunches.
| Browser | File on the computer | Browser storage |
|---|---|---|
| Chrome, Edge | “File on the computer…”: the .klucze file is opened and rewritten directly (recommended) |
possible, but see the warning below |
| Firefox, Safari | “File on the computer (open and save)”: see below | possible, but see the warning below |
- Open and save (Firefox, Safari and any browser that cannot rewrite a file on the computer). For a Bunch you already
have: Add an existing replica → Open a file (open and save)… and choose the
.kluczefile. klucze keeps a working copy of it in the browser; when you change something, a bar appears at the bottom, “name has changes not yet saved on the computer”, with Download the updated file: the browser puts it among the downloads and you move it in place of the old one (if the browser calls it “name (1).klucze”, rename it). If you close the page with changes not downloaded, the browser asks for confirmation. Opening the same file again later merges its data into the working copy: nothing is lost, even if the file is older. For a new Bunch choose File on the computer (open and save): the file is created in the browser and you save it by downloading it. Where does it go? These browsers do not let a page choose the folder: the file goes where the browser saves downloads (usually Downloads). To be asked every time: in Firefox Settings → General → Downloads → “Always ask you where to save files”; in Safari Settings → General → “File download location” → “Ask for each download”. In the desktop app and in Chrome/Edge klucze always asks for the folder. After downloading you can put the file anywhere: press I moved it…, pick it in its new place and, if you like, type the folder. klucze checks it is the same Bunch, merges its data and from then on reminds you where to put it back. - Browser storage and registry. Opened from
file://, the browser treats the file in a special way: in Chrome and Edge the pages opened from the disk may share the same storage (and so also this device's list of Bunches); other browsers may not keep it at all. klucze tests the storage at start-up: if it does not work, it says so with a bar at the bottom and the list of Bunches lives only while the page is open (the Bunches in files are not touched: just add them again). This is why, in the single file, the recommended place for a Bunch is a file on the computer. - Google Drive is not available when the file is opened from the computer: Google only allows sign-in from a
registered site, and a file is not one. If the same
klucze.htmlis served by a site registered with Google (http://…), Drive is available again. For Drive you can always use the web app or the desktop app. - No connections. The file contains a security policy (Content-Security-Policy) that lets only its own code run (with its exact fingerprint) and, when opened from the computer, forbids every network connection.
Checking that the file has not been changed. Settings → About shows “Single-file version” and the row
SHA-256 fingerprint of the file: opened from a site the fingerprint is computed by itself; opened from the computer
press Check a file… and choose the same klucze.html (the browser does not let a page reread itself). Compare the
result with the content of klucze.html.sha256. The check that really counts is made outside the file, because a
tampered file could show anything: in the Terminal shasum -a 256 klucze.html (macOS, Linux) or
certutil -hashfile klucze.html SHA256 (Windows) must give the same number written in klucze.html.sha256.
Settings
They are in Settings.
| Setting | Default | Effect |
|---|---|---|
| Theme | Automatic | light, dark or like the system |
| Language | the system one (Italian or English) | language of the interface and the manual |
| Auto-lock | 10 minutes | after this time without activity the Bunch closes and the keys are wiped from memory |
| Clear the clipboard | 30 seconds | after copying a secret value the clipboard is cleared, but only if it still holds that value |
| Fingerprint unlock | Off | opens Bunches with Touch ID, Windows Hello or the phone's fingerprint (§4.18); the row appears only where the device allows it |
| Known breaches | Off | in the “Login check” asks Have I Been Pwned whether passwords were stolen, sending only 5 characters of the hash (§4.17) |
| Browser extension | no browser linked | Link browsers prepares Chrome, Edge, Brave for the extension; lists linked extensions with Unlink (§4.19); desktop app only |
| Autofill | not chosen | Choose klucze in Android opens the system choice of the service (§4.20); Android app only |
4. Using the app
4.1 The Bunch panel
Bunch lists all the Bunch this device knows. For each one you see:
- the name, the status (Open, In sync, N to sync) and the number of active replicas;
- the list of replicas, each with its icon (disk, folder, browser), its path and its status: “Synced today 10:20”, “Needs sync”, “Detached”, “Only replica”;
- a warning when there is only one copy: if that disk is lost, the logins are lost.
Actions on the Bunch:
- Open (top right of the card, next to Map and ⋮): asks for the password, then checks and syncs all reachable replicas.
- Lock: closes the Bunch and wipes the keys from memory.
- New replica: creates a new copy somewhere else and fills it. No password is needed, because already encrypted files are copied.
- ⋮ menu: Rename (changes only the name shown on this device), Sync now.
Actions on a copy (the row's ⋮ menu):
- Open from this one first: the preferred copy, the one the app opens the Bunch from.
- Detach (stop syncing): from this device the copy no longer receives or gives changes; the files stay where they are. Not available on the only active copy.
- Re-attach (become a replica again): the copy syncs again and catches up by itself.
- It is on a USB stick or removable drive: the copy becomes occasional. When unplugged it does not hold back quitting; it stays queued and catches up by itself as soon as it is connected again (the app checks every minute while open, and at every opening anyway). The choice is written into the Bunch and applies on all devices.
- Declare dead… (with the Bunch open): for a lost or destroyed copy. Until you do, the panel keeps saying “not seen for N days”. A dead copy is no longer waited for by any device; its files, if they still exist, are not touched. If it turns up again, It is alive again puts it back among the replicas.
- Remove from list: this device forgets the copy; the files are not deleted.
The Bunch knows where its replicas are. Each copy has an identity, written inside its file,, and the Bunch keeps, inside and encrypted, the list of its replicas: where they are, which device saw them and when. With the Bunch open, Replicas known elsewhere also shows the ones this device cannot reach. If a replica is at the same path here too (for example the same Google Drive folder or the same USB stick), the app connects it by itself, after checking that it really is that copy.
Copies are moved only from the app: create a replica in the new place, then detach the old one or declare it dead. A folder moved by hand shows as “not seen”; add it again with Add an existing replica.
The Bunch's ⋮ menu also has Deposit a file without opening… (§4.7) and, with the Bunch open, Deposits received.
The replica map. Next to the replica list, if the window is wide enough, a diagram shows at a glance how the Bunch is doing:
- on the left, the devices that use it (this one is coloured, the others say when they were last seen; faded if absent for more than 14 days);
- on the right, the replicas, grouped by where they live: Google Drive online, synced folders (Google Drive for desktop, Dropbox…), drives, USB sticks and removable drives, browser and app storage;
- in between, the “who sees it” lines: solid if the device saw it in the last 7 days, dashed from 7 to 14, dotted and faded beyond;
- on each replica: its state (green aligned, yellow to align, red dead or tombstone, dashed if not linked here), how many devices see it, the star if it is the preferred one and the bridge icon (three linked nodes) if several devices see it: these are the replicas that hold the devices together (§1, golden rule);
- replicas this device does not see (with the Bunch open) tell where your changes reach them from: “via main · gmail.com” is the first bridge replica on the shortest path. Tapping or hovering lights up the whole chain: this device → bridge → other device → … → the replica. If no bridge links it to this device it is “Isolated” (orange border): changes made here do not reach it until a device that sees it shares a replica with you. Dead replicas do not act as bridges;
- the numbers at the top (devices, replicas, places, bridges, to align, isolated), the legend at the bottom.
Hovering a node (or reaching it with Tab) lights up its lines; tapping a replica highlights its row in the list. With the Bunch locked the map only shows this device and its replicas (the others are written inside the encrypted Bunch); open it to see them all. If the window is narrow, and always on the phone, the map does not fit next to the list: the Map button (three-node icon) at the top of the Bunch card opens it full screen; on the computer the same button shows it large.
Add an existing replica is for a Bunch that already exists, for example one created on another computer. Choose the Bunch file (Name.klucze), or paste the ID if it is on Google Drive. The earlier folder replicas are added with Folder replica (old format). If the Bunch is already known, the copy becomes one of its replicas; otherwise it appears as a new Bunch, to open with its password.
Convert to file… (⋮ menu of a folder replica of the old format): choose where to put the new file, as for a new replica. The app copies the whole Bunch into it, checks it is in sync and only then dissociates the folder on this device. The folder is not deleted: other devices can keep using it until they convert it too; when nobody uses it any more, you delete it yourself. If the file is not in sync, the folder stays in use and the app tells you.
The replica on Google Drive
It is the recommended bridge replica: every device reaches it, the phone too.
- Creating it: New replica (or New Bunch) → Google Drive. The first time Google asks for consent: choose the account, and if the “unverified app” warning appears press Continue (klucze is in testing). Then allow access only to the files created with klucze: klucze does not see the rest of your Drive. A single file BunchName.klucze, encrypted, appears in your Drive.
- In the Android app it works the same way, but consent is asked by Google Play Services with its native window: “Choose an account”, then the permission on klucze's files only. After the first time the phone does not ask again: the permission stays in your Google account (remove it from Settings → Google → Manage your account → Security → Third-party apps). The access token lasts about an hour; klucze keeps it until it expires. The file is the same one the Mac and the browser see: from the phone you reach all the replicas this way.
- In the desktop app (Mac, Windows, Linux) choosing Google Drive opens the browser on Google's consent page; after consenting the browser shows “Access to Google Drive granted” and you can close the tab: klucze receives the access by itself (through the local address 127.0.0.1:47391, which never leaves the computer). Access lasts about an hour and klucze keeps it until it expires, even if you close the app; when it expires, klucze renews it in the browser profile that knows the account (see below), usually without questions, or with Retry now. If port 47391 is taken by another program, the app says so.
- In the panel the replica shows its Google ID, with three buttons:
- Copy ID;
- Share: on the phone it opens the system share sheet, for WhatsApp, email and the like; on the computer the browser's share menu or, if missing, it copies the message;
- Open in Drive.
- On the other device: Add an existing replica → Google Drive → paste the ID, or the link received, even inside the whole message → then open the Bunch with its password.
- The ID is not a secret and opens nothing: it only says where the Bunch is. Never send the password together with the ID: say it out loud or in person.
- Google access lasts about an hour and is kept until it expires. When it expires and silent renewal fails, the sync reports “permission to confirm”: press Retry now and confirm.
- The replica on Drive is created and opened from the desktop app, the web app and the Android app; not from the single-file version (§3, “What you can do where”).
Several Google accounts. Each replica on Drive lives in the Drive of one account, and klucze remembers which (only on this device, never in the Bunch). When you create or add a replica on Drive and you have already used an account, klucze asks “Which Google account?”: pick one you have used or “Another Google account…”, and Google shows its account chooser. Access is one per account: you can have one replica in your personal Drive and one in your work Drive, or different Bunches in different accounts. If Google grants access with an account different from the replica's, klucze stops and tells you, so no file ends up in the wrong Drive. On an Android phone the account chosen in the system applies: for another account, switch it in the phone's Google settings.
Permission once on the computer (since 2026-12-01). In the desktop app (Mac, Windows, Linux) you give Google's consent once per account. Besides the one-hour access, Google gives klucze a renewal permission, which klucze keeps in the system keychain: macOS Keychain, Windows Credential Manager or Secret Service on Linux. From there it renews access by itself, without opening the browser and without questions, also while syncing in the background. Each account (for example gmail.com and a work account) asks for its consent once. While the app is in testing at Google, Google expires permissions after 7 days and you consent again; once the app is published the permission lasts until you revoke it (Google Account → Security → Third-party apps). The permission only touches the files klucze created, which are encrypted.
No repeated sign-ins (since 2026-11-30). Google's permission (about an hour) now survives closing klucze, in every version: reopening within the hour needs no browser. When it expires, the desktop app renews it by opening Google's page in the Chrome (or Edge, Brave, Chromium) profile that knows the replica's account, the one synced with the account or one where you signed in to Google, so it usually asks nothing even if you keep one account per profile; if no profile knows it, the default browser is used. The web app uses the browser profile it is open in: open it in a profile where your replicas' accounts are signed in. On the phone renewal is already silent. The saved permission only touches the files klucze created, which are encrypted: someone holding the device could at most delete or overwrite them for less than an hour, not read them.
The sync panel
Sync every… (Settings, default 5 minutes, or “Never”): how often the app syncs by itself all the replicas of all your Bunches, including locked ones — syncing needs no password. So changes made on another device arrive even if you do not open the Bunch.
After a change. Each change goes straight to the reachable replicas, but klucze does not say “Synced” until it has also done a full sync. That starts on its own 30 seconds after the last change: if you make another one meanwhile, the countdown starts over. Until then the top bar reads To be synced. If you quit the app before the 30 seconds, the sync is done at once.
While the replicas sync, a panel appears at the bottom right (on the phone, above the bar). It shows: - a progress bar and what is happening: “Looking for the replicas…”, “Reading the file lists: 1 of 2 replicas”, “Copying the missing files: 7 of 12”, “Checking and recording the replicas…”; - each copy with its state: waiting, in sync (with how many files it received), or with a problem; - at the end the outcome, in colour: - green, “all replicas are in sync”, with the time, the duration and how many files were copied; it closes by itself after a few seconds; - orange, “partial sync”: some copies yes, others no; - red, “sync failed”: no copy reached. - for each copy with a problem: what is wrong, in plain words, and how to fix it:
| Problem | How to fix it |
|---|---|
| the folder cannot be found | connect the external or network disk and press Retry now; if you moved the folder, remove the copy from the list and add it from its new place |
| not connected (removable drive) | plug in the USB stick and press Retry now, or leave it: it syncs when it comes back |
| access to the folder not granted | in the browser: Retry now and allow access again; on the Mac: System Settings → Privacy & Security → Files and Folders |
| that folder holds another Bunch | remove the copy from the list and add the right folder |
| same Bunch, but a different header | open it on its own to check it; if not needed, declare it dead |
| some files are damaged in all the copies reached | connect the other replicas and press Retry now: the healthy files come from there |
| the service or the network does not answer | check the connection; the app also retries on its own |
| the disk is full | free some space and press Retry now |
No change is ever lost because of a sync problem: changes stay in the copies reached and get to the others as soon as they can be reached.
The panel always appears when you asked for the sync: on opening, with Sync now, when creating a replica or adding a copy. For automatic retries in the background it appears only if something changes or goes wrong, so as not to disturb. The status button at the top (In sync, N replicas to sync) reopens it with the last outcome.
4.2 Logins
With the Bunch open, Logins shows the logins as a List or as a Table (switch below the search; the choice is remembered).
Every login has:
- a code: its unique identifier in the Bunch, a whole number (for a new login the app suggests the first free one: if the last is
264, it suggests265; you can type another). Imports and deposits use it to find the login. While you type it, the app tells you straight away whether it already exists; - the login attributes, in the outlined box with the coloured edge: description (it need not be unique), organisation, user (person), subject entity, instance type, access url, documentation url, second security level, opening instructions, keywords (words separated by spaces, saved in lowercase without duplicates: they are for searching; the menu suggests them one at a time), notes. At the bottom come the creation date and the date of the last change to any field, both worked out by the app;
- the items: label–value pairs (username, password, pin…). They sit above the attributes because they are what you use.
For every attribute and every item the app remembers when it was entered. On the card the date shows below each item; for an attribute, hover over it with the mouse.
An item can be:
- secret: hidden until you press the eye;
- mnemonic: the value written is a reminder, not the real value;
- obsolete: no longer valid, but kept on the card with the date its obsolescence began. Obsolete items are grouped under “N obsolete items”.
Every item can have a note.
Items are immutable: once saved, their value and label no longer change (in the form they are read-only). For a new value use Replace: the old one becomes obsolete and stays. The “secret” and “mnemonic” flags are also chosen once, before saving. An item can be declared obsolete once: from then on its obsolescence date and its note stay fixed. Of an item in use, only the note can be changed. Items are never deleted: they are declared obsolete. Two items in use cannot have the same label; one obsolete and one in use can. This way the history of your passwords is kept.
From the card, an item's ⋮ menu offers:
- Replace: the current value becomes obsolete and you write a new one with the same label. You choose from when the old one counts as obsolete (not necessarily now). For secrets there is a die to generate one;
- Declare obsolete…: with the date you choose;
- Put back in use (on an obsolete item): creates a new item in use with the same value; the obsolete one stays as it was. If another item in use has the same label, that one becomes obsolete.
4.2.1 Searching
Key /. At the top there is always the Search everywhere (/regex/) field: free words are searched, ignoring case and accents, in every value of the login, that is attributes, code, item values and notes (obsolete items too). They are not searched in item labels: for those type label:pin. Between two slashes /…/ you type a regular expression, tried on each value one by one. Without flags it ignores case; with flags, the ones you write apply (/Abc/u matches case). If the expression is wrong, the app says so under the field and does not filter. When a login is found only inside an item, found in “pin” appears under its name: you see the label, never the value.
| Type | Finds |
|---|---|
/^\d{5}$/ |
a value made of 5 digits, for example a PIN |
org:/^bank/ |
an expression on one attribute only |
bank mario |
logins containing both words |
"home banking" |
the exact phrase |
-test |
excludes those containing “test” |
org:bank |
organisation containing “bank” |
type:="credit card" |
exactly that value |
user:* / user:"" |
attribute filled / empty |
label:pin |
has an item in use labelled “pin” |
keywords:=bank (also kw:) |
the keywords include exactly “bank”; with several words, all of them; kw:ban contains it |
instructions:branch |
the opening instructions contain “branch” |
created>2024 · modified<2025-06 · created:2023-05 |
by date (year, year-month or day; also >= and <=) |
status:obsolete |
active, obsolete, conflict, deleted, deposited (Italian words work too) |
Field names: code, description, org, user, entity, type, url, doc, mfa, notes, label, created, modified, status. The Italian names work as well (codice, tipo, stato…). Put - in front of any condition to negate it. The ? button in the search field sums all this up.
Search by field
The Search by field button next to the field (the sliders icon) opens a form similar to FileMaker's find mode:
- one field for each login attribute, plus code, creation date and last change, with the approach menu. At the top there is the all (AND) / at least one (OR) switch: all the filled-in fields must hold, or one is enough;
- the items: label and value section: choose a label (the menu suggests the ones in the Bunch) and type the value next to it; Add a pair adds more, like searching inside a FileMaker portal. An empty label means “any item”; an empty value means “the item just has to be there”;
- a second all (AND) / at least one (OR) switch for the pairs, shown when there are two or more: the login must have all the pairs, or at least one;
- between the two groups it is always AND: the login must satisfy the attributes and the items. A group left empty does not count;
- also search among obsolete items: normally the pairs are searched only among the items in use.
In each field you type:
- some text, meaning “contains”;
- /regex/;
- = for an empty field;
- * for a filled field;
- ==text for exactly that text.
Dates are written 2024, >2024-06 or <=2025. Find applies the search. The bar then shows by field: N conditions, which reopens the form, and the × removes the search. Clear empties the form. It adds up with search everywhere: both apply.
Obsolete logins (no longer in use) are hidden: the Include obsolete switch shows them (off at start), and searching stato:obsoleto shows them too. Next to it, the other chips (in conflict, the most used types, deposited, deleted; the row scrolls sideways if it does not fit): each adds a condition to the search text or removes it, so you always see what is being filtered. You make a login obsolete from the ⋮ menu of its card → Declare the login obsolete… (choose since when); Back in use puts it back among the active ones. You can also do it from Edit, with the box at the bottom.
4.2.2 The table
In Table view each row is a login and shows only the attributes, never the items.
- Click a header to sort; again for the opposite order; a third time removes the sorting. Shift+click adds a secondary sort.
- Drag a header to move the column. Columns… chooses which columns to show and in what order; it also works from the keyboard, with the arrows. Right-clicking a header offers sort, move and hide.
- Right-click a cell for Filter by “value” or Exclude “value”, which add the condition to the search.
- The header stays in view while you scroll, and obsolete logins are dimmed. The arrow keys move between rows and Enter opens one.
The choices (columns, order) are remembered on this device.
4.3 Creating and editing
- New login (key N) or Edit (key E).
- The items come first; the login attributes follow, in a box with a different style.
- Code: for a new login the app suggests the first free whole number (after
264comes265); you can type another, and it tells you at once if it is taken. - Approach menu: while you type an attribute or an item label, the app suggests the values already present in that Bunch. First those starting with what you typed, then those with a word starting that way, then those containing it. Use the arrows and Enter to choose.
- Adding an item: press + Add an item. A new row opens with two empty fields, label and value, and the cursor is on the label.
- While you type the label, the menu suggests the labels already used in the Bunch. The one marked Tab is the one that starts with what you typed, or the one you chose with the arrows.
- Tab takes it and moves to the value. If no suggestion starts that way, Tab keeps what you typed.
- Enter keeps what you typed and moves to the value, without saving the login.
- On the phone there is no Tab: tap the suggestion, or use the keyboard's Next key to keep what you typed. Either way the cursor moves to the value.
- If an item in use already has that label, saved or with a value, the app asks first: “An item … is already in use. Make it obsolete and write a new one?”. With Yes, replace the old one becomes obsolete and the cursor moves to the new value; the notice still offers Cancel. With No nothing changes and the cursor goes back to the label, to correct it. This is the most common case: changing a password. The same applies to the quick choices below the button.
- If instead an item with that label is new and still empty, the app moves the cursor there and creates no duplicate.
- Rows left empty disappear when you save.
- Favourite labels: in the labels' approach menu, the star marks a favourite. Favourites show below as quick choices. They are saved in the Bunch, so they apply on every device.
- The die (password generator) appears only on secret items (passwords, pins and the like), only while editing, and only on an item not yet saved.
- One attribute at a time, from the card: next to each attribute there is the pencil ✎. It opens the field in place, with the approach menu. Save (or Enter, or Ctrl/⌘ S in multi-line fields) records it; Cancel (or Esc) closes it. After saving, the notice offers Cancel, which puts back the previous value. For an attribute still empty there is + Add attribute at the top of the box.
- An attribute's history: the clock ⟲ next to the field lists every value it has had, most recent first, with the entry date. Restore puts back a past value; Version opens the login version where it appears. Each restore is a new save, so the history never loses anything.
- Each item's ⋮ menu: add a note, Replace, Declare obsolete…. On an item not yet saved there are also secret or not, mnemonic or real value, and Remove.
- Among the obsolete items: Put back in use (a new copy). The obsolescence date can be corrected only before saving, with Undo obsolescence or the date field; after saving it is fixed.
- Obsolete login: a checkbox at the bottom of the attributes, with its start date.
- Save (⌘S / Ctrl+S). If you leave with unsaved changes, the app asks for confirmation.
4.4 Deleting, history, conflicts
- Delete (the card's ⋮ menu): the login disappears from the list and a message with Cancel appears. It stays in the history and can be restored later too, from the Deleted filter.
- History: every save is a version, with date and time and which attributes changed. You can look at a past version and restore it entirely; for a single field there is its own history (⟲, §4.3).
- Conflicts: if two devices edit the same login at the same moment, the most recent change wins. The other one is not lost: the card warns that there is a version written at the same time. You can compare versions and restore the right one, or press Keep this one.
4.5 Importing the old archive
⋮ menu → Import an exported file…, or Import a file when the Bunch is empty. Both formats of the old archive work: JSON (one login per line) and XML (one <instance> per line). klucze recognises the format by itself and matches field names ignoring case (§6). It reads lines with small defects too, and shows a preview with counts only: logins, items, obsolete items, fixed lines, unknown fields.
- Each login's code is its
id, if the file has one (the new format, §6). Old files have none: the app finds the login already imported with the same creation date and description, otherwise it gives it the first free whole number. - If a code already exists, the login is updated instead of duplicated:
- empty attributes are filled in, and full ones are left alone;
- identical items are ignored;
- a label in use with a different value makes the old value obsolete.
Importing the same file again changes nothing if the logins have a code (id) or a creation date and description.
- Watch out: a login with neither a code nor a creation date cannot be found again: every import creates a new one. Before importing such a file again (for example a converted spreadsheet), export the Bunch: the export gives each login its code, and it can be imported again without duplicates.
- Labels become lowercase.
The logins are encrypted into the Bunch straight away and carried to the replicas. The original file stays where it is: it is in plain text, so delete it yourself once you have checked.
The same file can also be deposited without opening the Bunch (§4.7).
4.5.1 Importing from an Excel or Google sheet
To type many logins by hand a spreadsheet is handier. ⋮ menu → Download the import sheet… (also with no Bunch open; with an empty Bunch there is the Download the blank sheet button): klucze prepares klucze-import-sheet.xlsx, which opens in Excel, LibreOffice, Numbers and Google Sheets. It has two sheets:
- info: explains what a login is made of (fixed attributes and items, one by one), how to fill in, how to import and what to do afterwards;
- data: the sheet to fill in, one row per login from row 2. Row 1 is frozen. The green headings are the fixed attributes:
code(optional, but without a code importing the sheet again duplicates the logins),description(required) and the other eleven of §6. The grey headings are the items:username,password,other 1,other 2,other 3, to rename (e.g.pin,api key); more can be added on the right. All columns are formatted as Text, so a PIN like0123stays as it is.
An item is secret unless its label is clearly not secret (username, email, url, ip, port, iban, expiry…); (secret) or (visible) at the end of the heading decide by hand. Empty cells create no item.
Google Sheets: upload the file to Google Drive and open it with Google Sheets; when done, File → Download → Microsoft Excel (.xlsx) (or CSV with the “data” sheet open). klucze does not read sheets straight from Google: it only sees the files it creates.
To import: ⋮ menu → Import an Excel or Google sheet… (or Import a sheet with an empty Bunch; Import an exported file… also recognises an .xlsx). The preview shows counts only: logins and items found, rows skipped (no description, invalid or repeated code), logins without a code, cells that were numbers (check leading zeros). After confirming, the logins are encrypted into the Bunch as in §4.5. At the end klucze asks you to destroy the sheet (bin, Google Drive bin and versions, Excel autosaves, downloads, e-mail attachments) or to keep it somewhere safe (encrypted archive or disk): the filled-in sheet holds the passwords in clear text.
4.6 Quitting
When you close the app, klucze checks that all replicas have received the latest changes.
- If something has not arrived, the desktop app does not close and explains why: Retry, then quit tries again and closes by itself as soon as all copies are in order; Quit anyway closes and leaves the sync to the next opening, on this or another device.
- In the browser, the browser's own “Leave site?” warning appears.
- Removable copies and copies declared dead do not hold back quitting. Removable copies stay queued and catch up when connected again.
The cloud in the top bar shows the state at all times: In sync, Syncing…, N replicas to sync.
4.7 Deposits: adding without being able to read
Other apps, people or assistants can add logins, or items to existing logins, to a family of Bunch without being able to read anything, not even what they deposited.
- A depositor needs only the folder of one copy, not the password. Every Bunch has a public key, in its
dep/folder. The deposit is encrypted with that key and lands inin/as a new file. Replicas exchange deposits like any other file. - At the next opening, on any device, the app applies the deposits and finds each login by its code:
- it creates the login, or adds the items to it, with the same rules as importing (§4.5);
- each entry can ask for “create only” or “add only”; when that is not possible, the entry is rejected and the reason is shown.
The app then shows a summary, and Deposits received in the Bunch's ⋮ menu lists them all. Each deposited item carries its origin (deposito: name), and the search status:deposited finds the logins created by a deposit.
- From the app: the Bunch's ⋮ menu → Deposit a file without opening… (a JSON or XML file).
- From the command line, for other apps, scripts and assistants:
npx tsx strumenti/deposita.ts --cartella <copy> --da "who deposits" --file export.json
echo '[{"codice":"bank-x","se":"aggiungi","attr":{},"elementi":[{"etichetta":"pin","valore":"12345","segreto":true}]}]' \
| npx tsx strumenti/deposita.ts --cartella <copy> --da "app X" --voci -
Caution: anyone who can write in a copy's folder could also delete files there. For frequent depositors, a separate folder used only for receiving would be better; it is planned for later.
4.8 Shortcuts
| Keys | Action |
|---|---|
| / | search logins |
| Ctrl/⌘ K | go to search |
| ↑ ↓ Enter | move through and open results |
| N | new login |
| E | edit the open login |
| Ctrl/⌘ S | save |
| Esc | back / close |
| Ctrl/⌘ L | lock the Bunch |
| ? | list of shortcuts |
4.9 Tips and tricks: the complete reminder
Here is everything the app can do, in brief. It is meant for finding a trick again without rereading the manual. The number in brackets points to the section with the details.
Searching (§4.2.1)
| I want to… | I type or do |
|---|---|
| go to the search from anywhere | / or Ctrl/⌘ K |
| clear the search | Esc in the field |
| move down to the results / open the first | ↓ / Enter in the field; then ↑ ↓ and Enter |
| find a word in any value, items included | mario (case and accents do not matter: citta finds “Città”) |
| several words, all present | bank mario |
| an exact phrase | "home banking" |
| exclude | -test · -org:bank · -status:obsolete |
| a regular expression on every value | /…/, for example /^\d{5}$/ |
| an expression that matches case | /Bank/u (with a flag, only the flags you write apply) |
| an expression on one attribute only | org:/^bank/ · url:/^https?:\/\/192\.168\./ |
| an attribute containing… | org:bank · user:mario · type:"credit card" |
| an attribute exactly equal | type:="credit card" |
| an attribute filled / empty | user:* / user:"" |
| a login with a given item | label:pin (labels are searched only like this) · label:=pin (exact) · label:/^pass/ |
| an exact keyword | kw:=bank (also keywords:, tag:); kw:ban contains it |
| by date | created>2024 · created:2023-05 · modified<=2025-06-30 |
| by status | status:obsolete · status:active · status:conflict · status:deleted · status:deposited |
| see deleted logins | status:deleted (otherwise they stay hidden) |
| filter with one tap | Include obsolete to see logins no longer in use; the other chips for in conflict, the most used types, deposited, deleted (the row scrolls sideways). A second tap removes the filter |
| know where it matched | under the login appears found in “pin”, with the label and never the value |
| remember the syntax | the ? button in the field |
Field names for field:, with their synonyms (Italian names work too):
| Field | Names |
|---|---|
| code | code id codice |
| description | description desc descrizione |
| organisation | org organization organizzazione |
| user | user owner utente persona |
| subject entity | entity subject entita soggetto |
| instance type | type tipo istanza |
| access url | url access accesso |
| documentation url | doc docs documentazione |
| second level | mfa 2fa livello sicurezza |
| opening instructions | instructions istruzioni apertura |
| keywords | kw keywords tag parole chiave |
| notes | notes note |
| item label | label item etichetta elemento |
| dates | created creato · modified modificato variato |
| status | status stato |
Regular expressions that come in handy:
| Expression | Finds |
|---|---|
/^\d{4,6}$/ |
values made of 4 to 6 digits only: PINs, codes |
/@gmail\.com$/ |
Gmail addresses |
/\s$/ |
values ending with a space, often a copy mistake |
/(.)\1{3}/ |
four identical characters in a row |
/^.{0,7}$/ |
short values, that is weak passwords |
url:/^http:/ |
sites without https |
Search by field: the sliders button next to the field.
| I want to… | I do |
|---|---|
| search one specific attribute | type it in its field; the menu suggests existing values |
| an empty / filled field | = / * |
| exactly equal | ==text |
| an expression | /…/ |
| a date | 2024, >2024-06, <=2025 |
| all the written attributes to hold, or just one | switch at the top: all (AND) / at least one (OR) |
| an item with a given value | a pair: label (the menu suggests the Bunch's labels) and value; empty label = any item; empty value = the item just has to exist |
| several items | Add a pair, and the all (AND) / at least one (OR) switch |
| also search old items | also search among obsolete items box |
| reopen or remove the search | in the bar the by field: N conditions chip reopens it; the × removes it; Clear empties the form |
Search by field adds up with search everywhere: both must hold. Between attributes and items it is always AND.
The table (§4.2.2)
- List / Table: the switch under the search field. The table shows attributes only, never items.
- Click a header to sort; click again to reverse. Shift+click adds a second sort level (then a third…).
- Drag a header to move the column.
- Right-click a header: sort A→Z or Z→A, move left or right, hide the column, Columns…, where you choose and reorder all columns or restore them.
- Right-click a cell: Filter by “value” or Exclude “value”; on an empty cell, Filter: empty or Exclude: empty. The filter is added to the search text, where you see it and remove it.
- From the keyboard: ↑ ↓ between rows, Enter opens, the Menu key or Shift+F10 opens the cell menu.
- Obsolete logins are dimmed. Columns, order and view are remembered on this device.
Creating and editing (§4.3)
| I want to… | I do |
|---|---|
| a new login | N (or the + button); the suggested code is the first free whole number |
| edit the open one | E |
| save | Ctrl/⌘ S |
| go back | Esc; if something is unsaved, the app asks |
| a value already used in the Bunch | start typing: the approach menu suggests it. ↓ ↑ to choose, Enter to take it (in an item label also Tab), Esc to close. First those that start like this, then those with a word starting like this, then those containing the text |
| several keywords | type them separated by spaces: the menu suggests one word at a time and skips those already written. On saving they become lowercase without duplicates |
| change a password, the quickest way | in the dashed row type the same label again and press Enter: the old value becomes obsolete and the new one opens; Cancel in the notice undoes it |
| change it choosing the date | the item's ⋮ menu → Replace: new value, date from which the old one no longer holds, note |
| retire an item without replacing it | ⋮ → Declare obsolete…, with the date you choose (not necessarily today) |
| bring back an old item | among the obsolete items → Put back in use: a copy in use is created, the obsolete one stays; if another one in use has the same label, that one becomes obsolete |
| correct an obsolescence date | only before saving (date field or Undo obsolescence); afterwards it is immutable |
| remove an item just added | ⋮ → Remove (not saved yet); a saved item is never deleted |
| the labels I use most, close at hand | in the label menu the star makes it a favourite; favourites show below as quick choices, on all devices |
| change an attribute without opening the whole form | in the card, the pencil ✎ next to the field; Save or Enter; Esc cancels. For an empty field: + Add attribute |
| see an attribute's past values, and put one back | the clock ⟲ next to the field → Restore (a new save: the history stays) or Version |
| undo a save just made | Cancel in the notice, for 5 seconds |
| understand why I cannot change an item | saved items are immutable: use ⋮ → Replace |
| a new password | the die: only on secret items, only while editing, and only on an item not yet saved. You can choose length, lowercase, uppercase, digits and symbols, and No ambiguous characters (l, 1, O, 0); strength is shown in bits; Regenerate, Use this one |
| mark a value as secret, or not | ⋮ → It is a secret (hide it), only before saving; afterwards use Replace |
| write a reminder instead of the real value | ⋮ → It is only a mnemonic, only before saving |
| a note on an item | ⋮ → Add a note |
| the whole login is no longer in use | obsolete login box at the bottom of the attributes; the start date can stay empty (= unknown) |
| a login similar to an existing one | the login's ⋮ menu → Duplicate: new code, only the items in use |
Every attribute and every item carries its entry date: in the card you see it under the field.
Reading a login
-
Private mode: the eye button at the top (next to the padlock) hides the value of all items, non-secret ones too, until you tap the eye on the one you want to see. It helps when someone is looking at the screen, or when you want to turn the phone towards another person without them reading anything. The choice is remembered, so the next time the Bunch opens already covered. It is also in Settings → Private mode.
-
Copy next to each value. For secrets the clipboard empties itself after 30 seconds; change the time in Settings, where 0 means never.
- Show / Hide to see a secret.
- Open the website: opens the access url.
- History (the card's ⋮ menu): every save is a version with date and time and the attributes that changed; you can look at it and restore it.
- Conflicts: if two devices edit at the same time, the most recent change wins and the other is not lost. Compare the versions and restore the right one, or press Keep this one (§4.4).
- Delete: the login disappears with Cancel in the notice; it can be restored later too, from the Deleted filter.
Bunch and replicas (§4.1)
- Fingerprint under the Bunch name: same on two devices = same Bunch (§1, Replicas).
- New identity for…: for a replica copied by hand (same identity as another); the data do not change.
- Google Drive (online) ≠ Google Drive for desktop folder · account: the first is the file on Drive over the internet, the second the folder synced on the computer.
- Convert to file… (⋮ menu of a folder replica): the new file is born aligned, the folder is dissociated and stays where it is.
- Export… → Encrypted klucze file (⋮ menu of the Bunch, §4.10): the whole Bunch, encrypted, in one file to send by email, chat or USB stick; never the password with it. On the other device: Add an existing replica → the file; then a bridge replica.
- Replica map (next to the list if there is room; otherwise the Map button, three-node icon): devices on the left, replicas by place on the right, solid/dashed/dotted lines by when they were seen; bridge = several devices see it. Tap a replica to find it in the list.
- Set up the replicas… (⋮ menu of the open Bunch; starts by itself the first time on a device): every known replica with its situation here — Connected, Dissociated here (Reassociate), Not connected (Connect…, Not reachable from here, It is dead…) — and at the bottom the golden rule.
- Family warnings (with the Bunch open): island (no bridge replica from here), only one bridge replica, “X” not seen for N days, all on the same disk, replicas to connect. Each one says what to do.
- Not reachable from here (menu of a replica known elsewhere): applies only to this device and can be undone whenever you like.
- Conflict copy (“Name (conflicted copy…).klucze”, “Name (1).klucze”): the app takes over its content by itself and tells you; then you delete it.
- Replica on Google Drive: New replica → Google Drive; in the panel Copy ID / Share (WhatsApp…) / Open in Drive; on the other device: Add an existing replica → Google Drive → paste the ID. Never the password with the ID (§4.1).
-
Never save the Bunch password on the device (browser, keychain, managers): if the browser offers it, “Never for this site” (§7.4).
-
Sync: the panel at the bottom shows bar, phases, each copy and finally the outcome with fixes; the status button at the top reopens it (§4.1).
-
Ctrl/⌘ L locks at once. Automatic lock comes after 10 minutes without activity; change it in Settings.
- New replica: one more copy, somewhere else (disk, Drive, USB stick). Every change goes to all of them.
- The copy's menu:
- Open from this one first: makes it the preferred one;
- It is on a USB stick or removable drive: it does not hold back quitting and updates when you plug it back in;
- Declare dead…: no device waits for it any more; It is alive again brings it back;
- Detach / Re-attach;
- Sync now, Retry now.
- “not seen for N days”: a replica that does not answer. The app keeps saying so until you declare it dead.
- Held-back quitting: the app does not close until the reachable replicas have received everything, and it says why.
- Add an existing replica: links from this device a copy that already exists, for example from another computer.
- Replica in the browser (“This browser's storage”): it lives inside Chrome or Edge and works offline too. In the panel it shows Persistent, if the browser does not delete it to make space, or Not persistent. Chrome usually makes it persistent when the app is installed from the browser menu or the site is bookmarked. It is lost if you clear the site's data: always keep another one elsewhere.
- Safari and iPhone/iPad: Safari, and every browser on iPhone and iPad (Chrome too, which uses the same engine there), deletes by itself the data of a site not opened for about 7 days. The app says so when you choose the place and in the panel (Safari may delete it): do not keep a replica there.
Importing, converting, depositing
- Download the import sheet… / Import an Excel or Google sheet… (⋮ menu): an .xlsx sheet with “info” and “data” to fill in with Excel or Google Sheets; after importing, destroy it or keep it somewhere safe (§4.5.1).
- Import an exported file… (the Bunch's ⋮ menu): JSON or XML, old or in the definitive format. Importing the same file again does not duplicate logins that have a code, or a creation date and description; those with neither are created again (§4.5).
- Convert the old archive into the definitive format (§6):
npm --prefix app run converti -- --da json.tab --valori-da xml.tab --a converted.json
- Deposit without the password, from another app or another person: Deposit a file without opening… in the panel, or
npm --prefix app run deposita -- --cartella <copy> --da "who" --file x.json
Without a code a new login is created with the first free whole number; to add items to a login you need its code. What has arrived is listed in Deposits received (§4.7).
Settings
Light, dark or automatic theme; Italian or English; minutes before automatic lock; seconds before the clipboard empties. ? anywhere shows the shortcuts.
4.10 Exporting, deleting a replica, deleting the Bunch
Export… (the Bunch's ⋮ menu) offers three formats:
- Encrypted klucze file: the whole Bunch, encrypted; it opens only with the password. Use it to take the Bunch to another device or to keep a backup copy (it is the “transfer file”).
- JSON and XML: all the logins in the “klucze-esportazione/1” format (§6), which Import reads back. You choose how to save the file:
- Password-protected ZIP (recommended): AES-256 encrypted archive with a password you choose there (at least 10 characters, different from the Bunch's). It opens with 7-Zip, Keka, The Unarchiver, WinRAR or Windows 11 — not with macOS “Archive Utility” — and Import reads it back asking for its password;
- gzip-compressed (
.gz): smaller, but readable by anyone (gzip has no password); - plain text: readable by anyone who has the file.
You need the Bunch open, the Bunch password typed again and the “I understand” tick. In the desktop app you choose where to save; in the browser the file goes to Downloads; on the phone it is not done. If it is not a password-protected ZIP, delete the file as soon as you no longer need it.
Delete this replica… (a replica's ⋮ menu): that replica's file really disappears (on Google Drive without going through the trash). The Bunch stays in the other replicas. Before deleting, the app:
- aligns all the replicas, because the one being deleted might hold changes that only it has;
- writes in the Bunch that the replica is dead, so that no device re-creates it;
- does one last merge and only then deletes the file.
You cannot delete the only replica, nor the one in use. You also cannot delete a replica that another device uses on its own: the app names that device, which must first be connected to another replica.
Delete the Bunch… (the Bunch's ⋮ menu). A device can delete only the replicas it reaches. The phone's private folder, an unplugged USB stick or another computer's browser storage are not reachable from here. So:
- replicas used only by this device (browser storage, phone folder, computer disk) are deleted at once;
- shared replicas (Google Drive, synced folders, USB sticks, files chosen in the browser) become a tombstone. It is a tiny file with no data, saying “this Bunch was deleted by … on …”, signed with the Bunch's key;
- other devices, when they sync, see the tombstone and stop using that file. They show “In place of the replica … there is a tombstone” with Verify and delete here…: with the password they check that the tombstone is authentic and, after a confirmation, delete their replicas. A fake tombstone, written without the Bunch's key, is ignored. If only tombstones remain on a device, there is no data to delete: Remove from the list… is enough.
The confirmations are deliberately insistent:
- the list of replicas and what happens to each;
- the Bunch name to type;
- the password;
- the “I understand” tick;
- the red button, enabled after 5 seconds;
- a second, final question.
Replicas that cannot be reached stay queued and the app retries on its own. The device remembers the Bunch among the Bunches deleted from here and does not add it again by mistake; Remove from the list… (or Remove all from the list…) removes that memory: the Bunch disappears from here and, if you found one of its replicas again, you could add it back. When all devices have confirmed, Remove the tombstones… deletes the tombstone files too. There is no way back: if you need a copy, use Export… first.
4.11 Users
A Bunch can be used by several people. Everyone enters with their own password, signs their changes and has their own private logins, which the others do not see; a login can be shared with others, for reading or for editing. Whoever founded the Bunch (the founder) can delegate the power to invite and to administer. Still to come: shared Google Drive with Google's file picker (phase 5).
Turning on users. Turn on users (trial)… (the Bunch's ⋮ menu, with the Bunch open) makes you the founder. Your signing key is derived from the password: it is the same on all your devices and is never saved anywhere. From then on every change is signed: an altered signature is discarded; a signature by a key the Bunch does not know yet stays pending (not applied, never lost). The first invitation turns users on by itself, if you haven't.
Joining a Bunch (the person being invited)
- On the Bunch screen tap Ask to join a Bunch. Choose the name they will see and a password of your own (not the inviter's: nobody should tell you theirs).
- The app prepares a request code (
klucze-richiesta/1:…) and a fingerprint of four groups (e.g.7K2M-QX9D-…). The code contains no secrets: send it by email or chat (Copy the code). - The inviter will ask for the fingerprint: read it aloud (in person or on the phone, not by chat).
- Once approved, they share the Bunch file with you (for example on Google Drive). Add it with Add an existing replica and open it with the password you chose in step 1.
- First entry from a device: before opening, the app shows the founder's fingerprint of the Bunch (First entry: check the founder). Have the person who invited you read it out loud (they see it among the Bunch's users, next to their name) and tap It is identical: open only if it matches character by character. If it is different, Cancel: someone may have replaced your access with that of a fake Bunch. Once confirmed, the device remembers it and does not ask again; if one day the founder turned out to be someone else, the app does not open. From the terminal:
--fondatore <fingerprint>(or theKLUCZE_FONDATOREvariable), or type it when asked.
Nothing is saved on the device: the password recreates your keys every time you open. If the file contains a fake access block for you (written by someone who can only modify the file), the app ignores it and opens the real Bunch; if it does not find your entry signed by whoever invited you, it does not open and asks you to sync.
Inviting (whoever has the “invite” permission)
The Bunch's ⋮ menu → Invite… (or Users… → Invite…):
- paste the request code: the app shows the name and the fingerprint;
- compare the fingerprint aloud with the person: it must be identical, character by character. If it differs, do NOT approve: the code might not be theirs;
- tick “The fingerprint they told me is IDENTICAL to this one”, choose the permissions and tap Approve.
The app writes an access block for that person into the file (the Bunch key in an envelope that only their password opens) and, in the users' register, their entry countersigned by you. A tampered code or a different fingerprint is refused.
On their first entry the person will have to compare the founder's fingerprint: after the approval the app reminds you of it; the founder also sees it in the Bunch's users line (next to “you”). Read it to them out loud.
Permissions on the Bunch
| Permission | What it allows |
|---|---|
| (none) | creating one's own private logins, using those shared with oneself |
| invite | letting others in, with permissions no greater than one's own |
| administer | removing users (Revoke), changing permissions (Permissions…), deleting the Bunch |
The founder has everything and cannot be removed. Each user is valid only if their entry is countersigned by someone who could invite them, and so on up to the founder: an entry written by hand, or with permissions its signer does not have, does not count. The rules do not depend on written dates nor on the order in which changes arrive (every device reaches the same list):
- the permissions of someone already in are changed only by an administrator (whoever can only “invite” can neither remove nor add them);
- a signature counts as long as its signer still has that power: someone removed or who left no longer lets anyone in nor removes anyone. Whoever they had let in stays (the revocation and the leaving list them); if you take “invite” or “administer” away from someone with Permissions…, the entries of the people they had let in are countersigned again by you automatically.
Private and shared logins
- From the moment someone joins, every new login is private to whoever creates it: the others only know it exists (it does not appear in the list).
- Logins created before users remain shared with the whole Bunch: everyone sees them; the founder and administrators edit them. Make everyone's logins private… (Bunch menu, founder only) makes them private to you; their past versions remain readable to whoever already has them.
- On the login card, Who can see it says whether it is private, whose it is and who it is shared with. The owner taps Share… and chooses for each user: can't see it, read (sees and copies it), edit (can also change it, but not who sees it).
- Whoever has only read access does not see the Edit button; if a tampered app wrote anyway, the others would discard that change (the signature is checked).
- If you remove someone from a login, the login gets a new key: they won't see future versions.
- The key of each version is sealed in an envelope for the owner and for each person it is shared with, and nobody else: a change (even by someone with “edit”) that adds an envelope for someone not on the list, or removes the owner's, is discarded; if that happened, the login's key changes at your next edit.
- The owner of a new private login is written in its identifier: nobody else can take it over, however they date their change.
Revoking a user (administrators)
Users… → Revoke… next to the name. The Bunch gets a new key (a new “epoch”): only those who stay receive it, in a new access block; from then on changes are encrypted with the new key, and the removed person can no longer read them, nor write valid ones. The logins they could see get new keys (those you own and those of the whole Bunch at once; those shared by others as soon as their owner opens the Bunch).
Revocation protects the future, not the past: what the person has already seen they may have copied. The app suggests changing the passwords of the logins they knew.
A revocation counts only if it is written with the new key it creates (it cannot be forged with the old key, nor by backdating it). If two administrators revoke at the same time on devices not yet synced, both revocations count (and two mutual revocations remove both: nobody gets back in by removing the other); as soon as an administrator reopens the Bunch, the app does a “merge” by itself: another new key, only for those not removed by either.
Leaving a Bunch
Users… → Leave the Bunch… (not for the founder): choose name, password and place of a new Bunch, all yours. The app copies into it the logins you own and checks it; only then does it write your signed departure into the old one and delete your logins there. Logins others shared with you stay with them. To come back you need a new invitation (with a new request).
Leaving does not change the Bunch key: whoever left no longer writes and loses access to shared logins, but still knows the earlier key. To close the door on them completely, an administrator uses Revoke… on them too (the button stays in the Users… dialog).
Deleting a Bunch with users
On Bunches with several users Delete the Bunch is reserved to administrators: the tombstone is signed by them, and the other devices accept only a tombstone signed by an administrator. Whoever cannot delete can leave or remove the replica from their device.
An unsigned tombstone (anyone who knows the Bunch key can make one, even a former member) no longer makes any device delete its replicas, not even on a Bunch without users: the check says it is not valid and the replicas stay; if the Bunch really was deleted, remove them by hand. All tombstones written by this version of klucze are signed.
What earlier apps see
Apps from before users still open the Bunch with the founder's password and read the whole-Bunch logins, but not private logins nor changes made after a revocation. The changes they write (unsigned) are discarded by the others after the first person joins: update klucze on all devices before inviting anyone.
Known limits: changing the founder's password on a Bunch with other users changes their identity (don't do it for now); login codes are unique only among those you can see; a removed person keeps the deposit key from before; a new device of the founder opening a replica from which someone removed the users' data does not notice (a device that has already opened the Bunch with users does: it keeps unsigned changes on hold); whoever can write the file can add many fake access blocks and slow down or prevent an invitee's first entry from a new device (the app tries at most 16).
4.12 Check and repair, “Is it a Bunch?”
Check and repair… (the Bunch's ⋮ menu) examines every replica, one by one:
- whether it can be reached, its size and how many blocks it holds;
- broken or duplicate blocks, an interrupted write at the end of the file;
- content from a newer version of klucze;
- tombstone, header;
- blocks the other replicas have and this one lacks;
- replicas of different Bunches mixed up.
If the Bunch is open it also checks that every change decrypts and that the signatures are valid; discarded or pending changes are listed by name.
The detailed log (24-hour times) never contains secrets, only block names, counts and sizes; it can be copied or saved.
The repairs are safe and must be confirmed with “Repair”:
- compact: rewrite the file with only the healthy blocks, removing the interrupted tail, broken blocks and duplicates. Never done if the file contains parts from a newer version;
- complete a replica with the blocks it lacks (like syncing);
- copy the header from another replica of the same Bunch.
Changes that do not decrypt are not deleted: they might come from a newer version or from another Bunch. Before each rewrite klucze keeps the “before” copy, which you can save with “Save the ‘before’ copies”.
Is it a Bunch? (Bunch page) picks any file and tells you, without a password, what it is:
- a healthy Bunch (name, creation date, how many changes it holds);
- a damaged Bunch, with the reason;
- the tombstone of a deleted Bunch;
- a header of the old folder format;
- an importable JSON/XML export;
- a file that is not klucze's.
It recognises a Bunch even if it was renamed (the “KLUCZE-F1” signature at the start of the file decides) and tells you whether it is already among yours or is a forgotten Bunch.
4.13 Terminal version (klucze)
klucze is klucze inside the terminal: the same Bunches, the same files, no windows. It is also the gate for external apps (scripts, services, assistants such as an LLM) that must add logins or change existing ones without being able to read them. The full reference of commands, options, JSON and exit codes is in docs/CLI.md; here is what you need to know.
How to run it. If it is installed as the klucze command (a link in ~/.local/bin, already in the PATH): just type klucze help. To install it on another computer: ln -s "<klucze folder>/app/cli/klucze" ~/.local/bin/klucze (or another folder in the PATH). Otherwise, from the app folder: npm run klucze -- <command> …, or the launcher app/cli/klucze <command> … (you can link it into ~/bin). It needs Node with the dependencies installed (npm install). klucze help lists the commands, klucze help <command> explains one.
Language. The terminal version speaks English by default, in everything: help, messages, errors, questions, tables (D-062). With --lang=ita (also --lang=it, --lang ita, or the variable KLUCZE_LANG=ita) it speaks Italian. Commands and options have English names (list, add, --show-secrets, --confirm…); the Italian names of earlier versions (elenca, aggiungi, --mostra-segreti, --conferma…) are always accepted too, so old scripts keep working. The --json documents keep the same keys in both languages and say which language their messages are in ("lang": "en").
The Bunch is a file. Every command works on the file given with --bunch (-b) or the KLUCZE_BUNCH variable. The terminal version keeps no list of Bunches or replicas: it works on that one file (the other replicas get the changes at the app's next synchronisation). It never writes a Bunch inside a Google Drive for desktop folder (D-052): there it only reads; use a real local replica.
The password. It is never written on the command line (it would show in ps and stay in the history) and never read from the environment. Three ways:
- at the terminal, without echo (the normal way);
--password-fd 3from a secrets manager:klucze -b P.klucze list --password-fd 3 3< <(pass show klucze);--password-file F: only a file of yours, with600permissions, not a link and outside synced folders (otherwise refused, exit code 9).
--password-env NAME exists only for CI systems that can pass secrets no other way, with a warning: discouraged. The password is never remembered: every launch asks again.
Examples for people.
klucze create -b ~/Bunch/Personal.klucze --label Personal # password twice
klucze -b ~/Bunch/Personal.klucze open # interactive session (list, search, show, exit)
klucze -b ~/Bunch/Personal.klucze list
klucze -b ~/Bunch/Personal.klucze search "org:bank -stato:obsoleto"
klucze -b ~/Bunch/Personal.klucze show 412 # secrets come out as ••••
klucze -b ~/Bunch/Personal.klucze show 412 --show-secrets # only on a real terminal
klucze -b ~/Bunch/Personal.klucze verify --deep # health, with a detailed log
klucze identify something.klucze # is it a Bunch? (no password)
klucze --lang=ita -b ~/Bunch/Personal.klucze elenca # the same, in Italian
Writing. Values never travel in arguments: they come as JSON on stdin (--entries -) or from a file. klucze schema voci and klucze schema modifica show the exact shape (the JSON field names are the stable Italian ones: codice, attr, elementi, etichetta, valore…).
printf '%s' '[{"codice":"mail","attr":{"descrizione":"Mail"},"elementi":[{"etichetta":"password","valore":"…","segreto":true}]}]' \
| klucze -b P.klucze add --entries -
echo '{"attr":{"urlAccesso":"https://mail.example"},"elementi":[{"etichetta":"password","valore":"…"}]}' \
| klucze -b P.klucze edit mail --entries - # the old password becomes obsolete, it does not disappear
klucze -b P.klucze obsolete mail pin --since 2026-12-01
klucze -b P.klucze delete mail --confirm mail # restore with «restore»
klucze -b P.klucze export --format json --out ~/exp.zip --confirm Personal # encrypted ZIP (asks its password twice)
klucze -b P.klucze export --format json --out ~/exp.json.gz --container gzip --confirm Personal # compressed, NOT encrypted
klucze -b P.klucze import ~/exp.zip # also .gz and plain JSON/XML
An export of logins (JSON or XML) wants the confirmation with the Bunch's name, creates the file with 600 permissions, never overwrites (unless --force) and refuses synced folders. By default (R-052) it goes inside a ZIP encrypted with AES-256 with a password of its own, asked twice at the terminal without echo (or given with --zip-password-fd N / --zip-password-file F, same rules as the Bunch password; at least 10 characters). The ZIP opens with 7-Zip, Keka, The Unarchiver, WinRAR, Windows 11, not with the macOS Archive Utility. --container gzip compresses only (anyone who has the file can read it), --container plain writes the plain JSON/XML. import recognises .zip and .gz by their content and asks for the ZIP password when needed (wrong password: exit code 3).
For scripts: --json. With --json every command prints one document {"klucze":"cli/1","comando":…,"ok":…,"lang":"en","dati":…,"avvisi":[…]}, even on error ("errore":{"codice":"password-errata","uscita":3,…}). comando is the internal (Italian) name of the command, the same whichever name you used. Error codes and exit codes are stable (0 success, 2 wrong usage, 3 wrong password, 4 missing credential, 5 not found, 7 busy, 9 refused, 10 damage, 11 partly, 12 not yet…): the list is in klucze help. Messages (messaggio, notes, reasons) follow the chosen language; codes and states (stato, esito, verdetto…) never change.
External apps: the app token. An app, a script or an LLM never gets the password: it gets a token, a secret that klucze keeps in the system keychain and that allows only depositing (creating logins, adding elements, changing a value, declaring obsolete) and does not allow reading anything, not even what the app itself wrote.
external app ──(token: signature)──► sealed, signed deposit in ins/ ──┐
│ the Bunch file
you (password) ── klucze open / the app ── check signature, scope ◄──┘
│ apply (or hold) and
└────────────────────────────────────write the RECEIPT in ric/ ──► the app reads the outcome
- Tokens work on any Bunch. If the Bunch does not have users active yet (§4.11), the first token activates them by itself (like
klucze users activate) and tells you so: from then on every change is signed, and apps from before phase 1 no longer read the signed segments. - Create the token:
klucze -b P.klucze token create invoices-app. The token's secret goes into the system keychain of the user who creates it, under the token's name: the macOS Keychain (serviceklucze-gettone), the Secret Service on Linux (it needssecret-tool, packagelibsecret-tools), the user's DPAPI protection on Windows. No file to look after, and the secret never travels through the arguments of a program. The name may have letters, digits,.,_,@,-(up to 64); if the keychain already has a token with that name (perhaps of another Bunch) klucze stops (--forcereplaces it). Fallback: if there is no keychain (for example a Linux server without a graphical session, or the Keychain locked in an SSH session) klucze registers nothing and suggests--out ~/.config/invoices-app/klucze.kgettone: the token is then a file with600permissions, outside synced folders, and the app uses it with--token-file. Either way it is a secret, but whoever steals it can only propose writes, signed with the token's name, until you revoke it. - The app deposits (no password):
printf '%s' '[{"op":"crea","rif":"portal-x/admin","attr":{"descrizione":"Portal X"}, "elementi":[{"etichetta":"password","valore":"…","segreto":true}]}]' \ | klucze --token invoices-app -b P.klucze deposit --entries - --idem 2026-11-29-001 --jsonThe app must run as the same system user who created the token (the keychain is theirs). With the fallback file:klucze --token-file ~/.config/invoices-app/klucze.kgettone …. Before this version--tokenwanted the file's path: it still works, with a warning suggesting--token-file. Therifis the name the app gives to «its» login: it uses it to change the login later ({"op":"imposta-elemento","rif":"portal-x/admin",…}) without knowing its code. - When you open the Bunch (
klucze open, or the app once it can) deposits are checked and applied: signature, token valid and not revoked now, no replay of the same deposit, limits (50 deposits a day, 20 entries, 256 KB), scope. - The app reads the outcome:
klucze --token invoices-app -b P.klucze receipt --last --wait 30 --json(0 applied, 11 partly, 12 not yet or on hold, 9 refused). Only the token can open the receipt, and it contains no values.
You decide what a token may do when you create it, with the scope: --scope own (default: the logins it created), words:x (logins with the keyword x; it adds the word to those it creates), codes:412,87 (those logins, besides the ones it creates) or all (every login: discouraged). Everything within the scope is applied by itself at opening, whatever scope you choose; what falls outside stays on hold and you decide it, with klucze deposits list / approve <fingerprint> / reject <fingerprint> (outside the scope, a code that exists and one that does not give the app the same outcome: it cannot “probe” the codes). With --manual, instead, every deposit must be approved by hand, within the scope and new logins included. Then --operations create,add,edit and --attributes (what the token may not do is refused, even if you approve), --expires 2027-11-29. klucze token list, suspend, reactivate, revoke <id> --confirm <id> (final: it also removes the secret from this computer's keychain, if it belongs to that token). Tokens created before this version with a scope wider than own stay “manual” (it is written in their signed record): create a new one for automatic application. A deposit that arrives after a revocation or expiry is not lost: it stays on hold and you can approve it.
Anonymous deposits. klucze deposit --entries - without a token is the deposit of §4.7 (the depositor does not sign). Once a Bunch has a token, anonymous deposits need approval: klucze open reports them and klucze deposits apply --anonymous applies them. To deposit safely, ask the owner for the deposit code (klucze drop-code) and use it with --drop-code: the deposit then goes to the Bunch's true key even if someone added a fake one to the file.
Today's limits. No session agent (the password at every launch), no clipboard or rivela, no Google Drive from the terminal, no list of Bunches and replicas; the interactive session is read-only and does not show secrets (the command line does, with the password); Windows does not yet ask for the password without echo (use --password-fd or --password-file). The graphical app already applies anonymous deposits but not yet the tokens' ones: for those you need klucze open.
4.14 Changing the password
Change the password… (the Bunch's ⋮ menu, with the Bunch open) does not just change the word: klucze rewrites the whole Bunch with a new key, a new identifier and the new password, and puts it in place of the old one in every reachable replica. The file stays the same and the Drive link does not change; on Drive klucze also deletes the old versions of the file.
Why? If someone knew the old password and had a copy of the file, a simple “change of the word” would leave all the data already written readable to them. With the re-encryption, the old password opens nothing of the new Bunch.
What moves into the new Bunch:
- the current logins, including obsolete elements (they are your data);
- the preferences;
- your founder identity, if you had turned users on.
What does not move:
- the version history of the logins;
- the logins in the bin.
Replicas that cannot be reached at that moment (an unplugged disk, a folder replica in the old format) stay with the old Bunch, which klucze closes with a signed tombstone: as soon as one of them is reachable again it becomes a tombstone. Other devices will see that the file now contains “another Bunch”: there use Add an existing replica and open the Bunch with the new password.
The tick “I fear someone knows the current password” adds advice for the worst case at the end. Old copies someone already took (exports, backups, unreachable replicas) can still be opened with the old password: change the passwords of the most important logins on their sites, and give the new deposit key to whoever deposits.
On Bunches with several users the password change will come later: for now everyone has their own password.
4.15 Printable recovery key
If you forget the password, a Bunch's data are lost: nobody, not even klucze, can recover them. The recovery key is a sheet to print that opens the Bunch instead of the password.
Creating it (the open Bunch's ⋮ menu → Recovery key…):
- klucze shows the sheet: the Bunch's name and fingerprint, the date, the code (9 groups of 4 characters) and the same code as a QR. Press Print the sheet, or copy the code by hand.
- Type the last group of the code: it confirms you have the sheet.
- Type the Bunch password and press Activate this key (if you opened the Bunch with the recovery key itself, the password is not needed: the sheet is replaced by a new one).
Only then is the key valid. If you cancel before, the previous one stays valid. Only the latest key is valid: creating a new one removes the old ones from every reachable replica, so an old sheet, perhaps lost, no longer opens anything.
Using it: “Open” → I forgot the password: recovery key → type the code (dashes, spaces and lower case do not matter; the last group is a check and catches a typo at once). The Bunch opens as with the password, with your founder identity, and klucze offers a new password right away. The password change creates a new Bunch that has no recovery keys: create a new one and print it.
How to keep it: like an important document (a safe, a sealed envelope). Never as a photo, in the cloud or in email: whoever has the sheet can open the Bunch.
Invited users too. Everyone has their own recovery key, created the same way from the ⋮ menu with their own password. An invitee's sheet opens the Bunch with their identity (the same logins and permissions as when they enter with the password), never with the founder's. A new key removes only the old keys of whoever creates it: those of the founder and of the other users stay. On the first entry with the sheet from a new device the same rules as for the password apply: klucze asks you to compare the founder's fingerprint out loud with whoever invited you.
From the terminal (§4.13):
klucze -b my.klucze recovery create: asks for the password, shows the code only once on the terminal (not in the output, so never in a log), asks you to retype the last group and only then activates the key. With--sheet sheet.htmlit also writes a printable HTML sheet, with the code and the QR, self-contained, with permissions 600 and never in a synced folder: print it, then delete the file. Without a terminal the code goes only to the sheet or, if you ask for it explicitly, to the output (--show-secrets), and the confirmation is--yes.klucze -b my.klucze recovery status: number, date and holder of the keys in the file, without password and without secrets.- To open with the sheet instead of the password, in any command:
--recovery(the terminal asks for it, without echo),--recovery-fd Nor--recovery-file F(file with permissions 600, outside synced folders). For exampleklucze -b my.klucze --recovery change-password: after a recovery the old password is not needed. As in the app, the password change rewrites the Bunch as a new Bunch; from the terminal only that file is rewritten, so with several replicas do it in the app.
How it works: the code has 160 random bits. The Bunch file holds a public block (rec/…) containing the holder's unlock key (the founder, or the invited user: for them it is the key their password derives with the salt of their access block), encrypted with a key derived from the code with Argon2id. An invitee's block carries their identifier, bound to the encryption: it cannot pass for someone else's. Without the code that block reveals nothing. The code is not saved anywhere: it exists only on the sheet.
Current limits:
- on Bunches with several users the password change (for everyone: founder and invitees) is not available yet, neither in the app nor from the terminal: after a recovery the Bunch is usable and the sheet stays valid; an invitee who lost the password can also ask an administrator for a new invitation;
- folder replicas (old format) are not rewritten: the old block remains there;
- from the terminal the new key removes the old ones only from the file you work on: the other replicas keep them, and a later synchronisation can bring them back into that file (create the key in the app if you have several replicas);
- from the terminal the password change is refused while deposits wait for a decision (they would be lost with the old Bunch): decide them first.
4.16 2FA codes (two-step verification)
Many sites, besides the password, ask for a 6-digit code that changes every 30 seconds (the "Authenticator app"). klucze can generate it itself: keep in the login the seed the site shows when you turn on two-step verification.
Adding it. On the site, turn on verification with an authenticator app: a QR code appears and, almost always, a
"can't scan the code?" link that shows the seed as text (e.g. JBSW Y3DP EHPK 3PXP). In klucze, in the login,
Add an item labelled 2fa (totp, otp, mfa, authenticator or 2fa work… also work) and paste the seed as
the value. The full otpauth://totp/… address works too, with any label: it also carries digits, period and algorithm
when the site does not use the defaults. The code appears right under the value: if it matches what the site expects,
the seed is right. The item becomes secret by itself.
Using it. In the login card, under the seed (which stays covered), there is the current code with a ring that empties and the seconds left; in the last 5 seconds it turns red. The copy button puts the code on the clipboard, which clears itself as for passwords. In private mode the code too is covered until you tap the eye.
Good to know. - The code is computed on the device (RFC 6238), offline: only the device's clock must be right. - The seed is a secret like the password: whoever has both gets in. Keeping both in the same Bunch is convenient and protected by the Bunch password; whoever wants them apart can keep the seeds in a different Bunch. - klucze apps not yet updated see the item as an ordinary secret (they do not compute the code) and do not damage it: the Bunch format does not change. - Counter-based codes (HOTP) are not supported: almost no site uses them.
4.17 Login check
From the ⋮ menu of the open Bunch card, Login check… examines all the logins in use that you can read and tells you what is worth fixing. It never shows passwords: only the login, the label and the reason; tap the name to open it. The result is not saved anywhere.
| Group | Meaning | What to do |
|---|---|---|
| Found in known breaches | the password is in lists of stolen passwords (Have I Been Pwned), with how many times | change it now |
| Reused | the same password in several logins | give each its own, starting with the important accounts |
| Weak | short or predictable (same estimate as the Bunch password) | change it for one made by the dice |
| Old | entered more than a year ago | change it when convenient, if the site allows it |
| Without two-step verification | has an access address but no 2FA seed (§4.16) and no “second level” | turn it on at the site, if available |
Which items are passwords. Items in use, secret, with a password-like label (password, pwd…); if the login has none, its only secret. Mnemonics, 2FA seeds, PINs, PUKs and CVVs (short by nature), obsolete items and obsolete logins do not count. “Old” looks at the item's entry date.
Known breaches (optional). In Settings → Known breaches (off by default). When on, the check asks Have I Been Pwned, for each password, for the list of hashes that start like its own: only the start (5 characters) of the SHA-1 hash goes out, never the password or the full hash, and the comparison happens on the device (“k-anonymity”); answers carry random padding, so not even the entry of interest can be told. It needs the network; if the service does not answer, the rest of the check is shown anyway with a notice.
4.18 Fingerprint unlock (Touch ID, Windows Hello, phone)
Where to turn it on. Settings → Fingerprint unlock (off by default). The row appears only where the device has it and at least one fingerprint is enrolled: Mac with Touch ID, Windows with Windows Hello, Android 11 or later phone with a “strong” fingerprint (or face). The web app, the single file and Linux do not have it.
How it works. 1. Turn the switch on. 2. Open a Bunch with the password as usual: klucze keeps it in the system's secure store (on the phone it asks you to confirm with your fingerprint) and tells you so. 3. From then on, the open dialog asks for your fingerprint right away; once recognised, the Bunch opens. If you cancel, type the password as usual; the Use Touch ID (or Use fingerprint) button lets you try again.
Each Bunch has its own entry. Turning the switch off deletes all kept passwords; Change password and Delete the Bunch delete that Bunch's one. If the kept password no longer opens the Bunch (you changed it on another device), klucze deletes it and asks for the new one, which it keeps again. On the phone, adding or removing fingerprints invalidates the kept passwords (an Android protection): open once with the password.
How safe it is. The Bunch password is still essential: learn it, the fingerprint does not replace it. - Phone: the password is encrypted with a key that exists only in the security chip and is usable only after a recognised fingerprint: without your finger it cannot be read. - Mac and Windows: the password is in the macOS keychain or the Windows Credential Manager, tied to the computer user; Touch ID and Windows Hello act as a gate. Truly binding it to the fingerprint, as on the phone, according to Apple's documentation needs the app signed with a developer account (not tried here): a program running as your user that you allow into the keychain could read it. If you run programs you do not trust on the computer, leave it off.
4.19 Browser extension (Chrome, Edge, Brave)
With the extension, the small klucze button appears inside password and 2FA-code fields on websites: a click shows the logins for that site taken from the Bunch open in the desktop app; pick one and user and password are filled in. When you sign in to a site with a new password, a bar at the top asks “Save in klucze?” (or “Update the password?” if the login already exists: the old one stays among the obsolete ones).
Installation (once per computer).
1. In the desktop app: Settings → Browser extension → Link browsers. The app writes the “link” into the installed
browsers (Chrome, Chromium, Edge, Brave). Redo it if you move the app.
2. In the browser: open chrome://extensions (Edge: edge://extensions), turn on Developer mode, press Load
unpacked and choose the estensione folder of the klucze project. Do not move or delete it: the browser reads it
from there.
3. Click the klucze icon in the browser toolbar → Link: a dialog with a 4-digit code appears in the app, the same as in
the panel. If it matches, press Link. Done.
Security rules.
- The extension has no passwords: it asks the app, which answers only while the Bunch is open and only to the linked
extension (a token given when linking; the app keeps only its hash).
- A site gets suggestions only from logins whose access URL has the same address (www. aside): a page
bank.example.scam.com does not see the logins of bank.example. Only https pages (and localhost for developers);
never inside a page's inner frames.
- User and password are filled only after your click on the suggestion; klucze's buttons live in an area the page
can neither read nor press by itself.
- The channel between browser and app is local and belongs to your user only (no network port is opened).
- To unlink: extension panel → Unlink, or in the app Settings → Unlink next to the browser.
Limits. Firefox and Safari are not supported yet; on the phone use Android autofill (§4.20). If a site has an unusual form, the fields may not be recognised: copy from the card as usual.
4.20 Android autofill
On the phone klucze can act as Android's autofill service: when you tap a user or password field in another app, or in a browser that uses the system service, suggestions from the open Bunch appear.
Turning it on (once). In the app: Settings → Autofill → Choose klucze in Android. The system chooser opens: pick klucze and confirm Android's warning. Chrome for Android also needs: Chrome settings → Autofill services → Autofill using another service.
How it works.
- With a Bunch open in the app: suggestions for the logins of that site (same address) or that app (logins whose
access URL is android://package.name, as klucze saves them, or whose domain appears in the package name:
paypal.com ↔ com.paypal.android). There is always “klucze — choose a login…” too, with search across all.
- With the Bunch closed: a single entry, “klucze — open the Bunch”, which takes you to the app; once unlocked,
go back to the field.
- Saving: after signing in with a new password Android asks “Save in klucze?”. With the Bunch open the login is
created (description = site or app) or, if it exists with the same user, its password is replaced (the old one stays
among the obsolete ones). With the Bunch closed the login waits in memory and is saved at the next opening (unless the
app is closed meanwhile).
Security. While the Bunch is open, the app keeps the login list in memory for the service; closing the Bunch (also by auto-lock, which applies even when the app is in the background) deletes it. Nothing goes to disk. The service suggests nothing inside klucze.
Limit. The package name and domain are declared by the app asking for autofill: a deceptive app with a name similar to a real service would get the suggestion with one tap. Always check which app you are in before picking a suggestion, especially for recently installed apps.
5. Worked use cases
Mac at home and PC at the office. On the Mac create “Personal” in any folder, then a replica in the Google Drive folder. On the PC, with Google Drive for desktop, use Add an existing replica and choose the Personal.klucze folder on Drive. From then on every change made on one reaches the other. If Drive has not synced yet, the change arrives at the next opening.
Spare USB stick. Add a replica on a USB stick and mark it with It is on a USB stick or removable drive. While it is unplugged, the panel shows it as “Needs sync” or “not seen for N days”, but quitting is not held back. When you plug it in again with the app open, or at the next opening, it catches up by itself. If you lose it, Declare it dead.
An app that records new passwords. A program that creates accounts, or an assistant, can use the deposit tool to deposit the new login or a changed password, without knowing the Bunch password. At the next opening the login appears, with the previous password among the obsolete items.
Lost device. The files are encrypted: without the Bunch password nothing can be read. From the device you still have, open the Bunch and change the passwords of the most important services. The replicas stay intact.
6. Reference
Fields of a login and mapping from the old archive
| Field in klucze | JSON | XML | Notes |
|---|---|---|---|
| code | — | — | unique, a whole number; old files have none and the app assigns it |
| description | description |
<description> |
need not be unique |
| organisation | owner_org |
<owner_organization> |
|
| user (person) | owner |
<owner> |
|
| subject entity | subject_entity |
<subject_entity> |
who or what is accessed |
| instance type | type |
type attribute |
“portal access”, “credit card”… |
| access url | access_url |
<access_url> |
Open the website opens it |
| documentation url | docum_url |
<documentation_url> |
|
| second security level | 2factor_auth |
<further_verification> |
|
| opening instructions | initial_comm |
<opening_instructions> |
|
| keywords | keywords |
<keywords> |
words separated by spaces, saved in lowercase |
| notes | remarks |
<notes> |
|
| — | lastchg |
<last_change_datetime> |
not imported: it is the same as modified |
| creation date | created |
created attribute |
|
| last change | modified |
modified attribute |
a date separate from creation; then worked out by the app |
| obsolete login | obsolete |
obsolete attribute |
yes/no only: the start date stays “unknown” until you choose it |
| item: label | key |
<key> |
lowercase |
| item: value | value |
<value> |
|
| item: mode | mode l / m |
mode clear / mnemonic |
plain or mnemonic |
| item: obsolete since | exp |
expired attribute |
empty (NULL) = still valid; a date = start of obsolescence |
| item: note | rem |
<notes> inside <item> |
Field names are matched ignoring case. Unknown fields are listed in the preview and not imported. The attributes are decrypted when the Bunch opens, for the list, the search and the table. The items are decrypted only when you open the login.
The definitive format “klucze-esportazione/1”
This is the format klucze writes (and reads back) logins in, as JSON or XML, with the same data. The keys are the attribute labels, in lowercase, with _ instead of spaces and without accents (so they work in both formats):
id · descrizione · organizzazione · utente · entita_soggetto · tipo_istanza · url_di_accesso · url_documentazione · secondo_livello_di_sicurezza · istruzioni_di_apertura · parole_chiave · note · creato · ultima_variazione · obsoleto (true/false) · obsoleto_dal · elementi (each: etichetta, valore, modo chiaro/mnemonico, obsoleto_dal, nota).
- JSON: a list
[ … ]indented by 2 spaces; line breaks inside values are real line breaks. A missing date isnull. - XML:
<logins formato="klucze-esportazione/1">, one<login id="1">per login,<elementi>with one<elemento>per item;&,<,>escaped; an empty field is<field/>. - Dates
YYYY-MM-DD hh:mm:ssin local time, as in the old files.
To convert an old file (the true values are taken from the XML, because FileMaker's JSON adds a comma at the end of each line in multi-line values):
npm --prefix app run converti -- --da json.tab --valori-da xml.tab --a converted.json
npm --prefix app run converti -- --da xml.tab --a converted.xml
The converted file holds the secrets in plain text, like the original: it is written readable only by you and never over an existing file. Keep it where you keep the original.
Copy states
| State | Meaning |
|---|---|
| Synced today 10:20 | it received everything at the last check |
| Needs sync | it is missing at least one change; the app retries by itself |
| Only replica | it is the only active copy: create a replica |
| Detached | it does not sync from this device |
| In use | the copy the Bunch is open from right now |
| Preferred | the next opening starts from here |
| Removable | on a USB stick or removable drive: does not hold back quitting |
| not seen for N days | needs sync and has not been reached for N days |
| Declared dead | no longer waited for by any device |
7. How it works
7.1 Architecture
┌──────────────── Interface (Material 3, it/en) ─────────────────┐
│ Bunch · Logins · Help · Settings │
└───────────────┬────────────────────────────────────────────────┘
│ commands
┌───────────────▼──────────────── Core (TypeScript) ─────────────┐
│ Manager: opening, syncing, spreading, quitting │
│ Bunch: keys, segments, versions, conflicts │
│ Sync: union of files between replicas (never decrypts) │
│ Device registry: Bunch, copies, queue │
│ Crypto: libsodium (Argon2id, XChaCha20-Poly1305, BLAKE2b) │
└───────┬───────────────────┬───────────────────┬────────────────┘
│ │ │
folder (browser) browser storage disk (desktop app, Rust)
7.2 Data and formats
A replica is a single file Name.klucze (format “klucze-file/1”): a sequential log of blocks, like the files of old. It starts with the signature KLUCZE-F1; then the blocks follow one after another, each with name, length and fingerprint. A block, once written, never changes: you only add at the end. Two versions of the same file, written by two devices, therefore always merge by joining the blocks, losing nothing.
How it is written: - on the Mac or PC disk, on the phone and in the browser the file is opened with random access: the new block is appended at the end, under an exclusive lock. Whoever arrives while the file is busy waits (up to 10 seconds) until it is free; - on Google Drive you cannot write in pieces or lock across devices. The app turns on a busy signal in the file's properties, valid for 2 minutes. Whoever finds it on waits and retries; before writing it re-reads and merges, afterwards it re-reads and checks; - if a write is interrupted, the last block stays incomplete and is ignored. It is overwritten only if it stays still: if it grows, a sync service is still writing it, and the app waits; - a block from a newer version of klucze is never cut off: the app asks to be updated.
The blocks have the same names as the files of the old folder:
klucze.json— the header, not secret: Bunch identifier (the same for all replicas), name, date, Argon2id parameters, and the Bunch key encrypted with the key derived from the password;seg/<clock>_<fingerprint>.kz— the segments, one per save. They are encrypted and never rewritten. The name contains the BLAKE2b fingerprint of the content: a truncated or altered file is recognised without knowing the password.dep/<fingerprint>.json— the public key for deposits (X25519), with the private key encrypted with the Bunch key;in/<time>_<fingerprint>.kzd— the deposits, sealed boxes (crypto_box_seal) that only the password holder can open;copia.json— the identity of this replica (not copied between replicas).
The deposits are inside the file: whoever deposits without the password appends a sealed block at the end and reads nothing. The folder replicas of the earlier format (a folder with these same files) stay readable and sync with the new ones.
Inside the Bunch, besides the logins, there are three special records, encrypted like the others: - the favourite labels; - the list of replicas: where they are, who saw them and when, which are removable and which are dead; - the deposits already applied.
They are made of entries, each with its own date. Versions written by different devices merge without conflicts.
Each segment holds “write” or “delete” operations. Each login has its own random key, stored encrypted with the Bunch key. The state of a login is its most recent version according to a hybrid logical clock, which orders changes correctly even when the devices' clocks disagree.
On the device, the app keeps only the registry: which Bunch it knows, where their copies are and which ones are waiting for changes. The registry holds no secrets.
7.3 Synchronisation
you save a login
│
▼
new segment on the copy in use ──► written straight away to every replica
│ │
│ all ok? ───┤
│ yes │ no
▼ ▼
“In sync” copy marked “Needs sync” in the registry
├─ retries: 2 s, 5 s, 15 s, 30 s, 60 s…
├─ quitting held back, with an explanation
└─ at the next opening (here or elsewhere):
full check of all replicas
full check (at every opening):
1. for each replica: read the header and the list of segment names
2. union of all the names
3. each replica receives the files it is missing (segments, public
keys, deposits), checking the fingerprint, never decrypting
4. the Bunch records which replicas this device has seen
5. deposits that have arrived are applied
deposit (no password):
public key from dep/ ──► sealed box ──► in/ of one copy
──► sync ──► all replicas ──► applied at the next opening
The union creates no file conflicts and can be interrupted and resumed without damage. Two concurrent edits of the same login are both kept, as versions of the login (§4.4).
Google Drive for desktop and overwritten versions
Real test of 29/11/2026, with two Macs on the same Google Drive for desktop folder: if two computers write the same file almost at the same time, Google does not create a conflicted copy. It keeps the last uploaded version, brings it to both computers, and keeps the other only among the file's revisions. A change can therefore disappear from the file without any warning. Dropbox and similar services instead create a “conflicted” copy next to the file, which klucze recovers on its own (§4.1).
Guarantee (since 29/11/2026): klucze never writes a Bunch through Google Drive for desktop synchronisation. Every replica on Google Drive is read and written only via the API (Google Drive online), with the busy signal, a check after every write and recovery from revisions. In practice:
- Google Drive for desktop folders no longer appear among the places. If you choose one anyway with Folder on disk…, klucze recognises it from the service folders Drive creates inside it, with any name and on any disk, mirror mode included, and creates the file on Google Drive online. With the same account the file still appears in the folder;
- with Add an existing replica → File on disk… on a file in the folder, klucze looks for the same file via the API. If it created it, it uses it via the API. If it was created outside klucze (copied by hand or created before this rule), it makes a copy on Google Drive online (“
-online.klucze”) and uses that; it does not touch the file in the folder; - a file replica already registered in the folder (older versions) is no longer written: it shows as “not reachable” with the explanation, and the card offers Switch to Drive online…. Reading it is still possible, to copy it online; so are deleting it or putting the tombstone;
- klucze never reconnects a known replica through the folder on its own;
- in the browser klucze cannot know where a file chosen with File on the computer… is: there the option itself reminds you not to use the Google Drive for desktop folder and to choose Google Drive (online).
Transfer files and exports can also be saved in the Drive folder: they are files to send, not replicas.
Still valid from before (D-051), except the first item, superseded by the guarantee:
- ~~when you choose a Google Drive for desktop folder for a new Bunch or a new replica, offers Create on Drive online: the file is created through Google Drive online, and if you choose the same Google account it still appears in that folder. klucze, however, writes it with the busy signal and a check after every write. Use the folder anyway remains possible~~ (no longer: see the guarantee above);
- for replicas already in a Google Drive for desktop folder, the Bunch card shows Switch to Drive online…. klucze creates a new replica “
-online.klucze”, aligns it, and only then stops using the folder replica on this computer, without deleting it. When the other computers also use the online replica, delete the old one with Delete this replica…; - for replicas on Google Drive online, at every sync it also looks at the file's recent revisions: the last 48 hours the first time, then only new ones, at most 5. If one holds blocks the file no longer has, it recovers them and says so: “a change had been overwritten by another device… recovered it”. Only encrypted data (segments and deposits) is recovered, never the replica's identity.
On Google Drive klucze sees only the files it creates itself (narrow drive.file permission). It therefore cannot read the revisions of a file created from the Google Drive for desktop folder, and the remedy is switching to an online replica.
7.4 Security
- The password is not stored anywhere. With Argon2id, 3 passes and 128 MiB, it becomes the key that opens the Bunch key.
- Authenticated encryption with XChaCha20-Poly1305: any tampering is detected. Each encrypted piece is bound to its place: Bunch, login and version identifiers.
- On opening, only the parts shown in the list are decrypted. The rest of a login is decrypted when you open it. Search everywhere and label/value pairs decrypt the items of all logins and keep them in memory only, tied to the open Bunch: they are never written anywhere and are no longer used after locking.
- Lock and auto-lock wipe the keys from memory.
- The app uses no servers of its own and no external resources: no downloaded fonts or icons. The only exception is Google, and only for the replica on Drive: the sign-in service (accounts.google.com) and the Drive API (www.googleapis.com), which receive only files that are already encrypted. A strict Content Security Policy forbids every other address.
- Known limits: the Bunch name is visible in plain text in
klucze.json; there is no recovery without the password (a printable recovery key is planned); files grow by one segment per save (compaction is planned).
Security questions
Can someone holding a replica, including the one in the browser, read the logins without the password? No, if the password is strong.
- Every file of a replica is encrypted with XChaCha20-Poly1305. The Bunch key is in turn encrypted with a key derived from the password with Argon2id: 3 passes and 128 MiB per attempt.
- Someone who copies the replica can only try passwords one after another, and each attempt costs time and memory.
- That is why the app refuses weak passwords: at least 12 characters and an estimated 60 bits. A long phrase of your own is the real defence. A famous phrase, or one used elsewhere, even if long, is guessed sooner than the estimate suggests.
- Without the password the content cannot be read: attributes, items and notes. What can be seen:
- the Bunch name and creation date (in klucze.json);
- how many saves there are, when they happened and how big they are;
- the copy's identity (copia.json);
- the deposits' public key;
- how many deposits have arrived.
- Someone who can write into a replica's folder can damage or delete it, but not read it. An altered file is recognised and discarded; the other replicas put it right. That is why several replicas in different places are worth having.
- The replica in the browser is a set of files in the Chrome profile on disk, encrypted like all the others. Chrome sync does not copy it elsewhere. Mac backups copy it, still encrypted.
Are the passwords that pass through the app and the browser kept anywhere? klucze never writes them: no logs, no browser storage, no files. In the browser it keeps only settings, view and table columns. There are points to know, though: - the Bunch password is not stored. The key is derived from it and stays in memory while the Bunch is open; locking (automatic too) wipes it. The typed text is a JavaScript string, which the browser frees when it wants: it cannot be wiped on command; - the Bunch password is NEVER saved on the device: not in the browser, not in the Mac keychain, not in another password manager. Saving it is a serious mistake: whoever uses the device (or your Google account, if the manager is synced) would open the Bunch without knowing it. The opening and creation windows remind you of this. If Chrome offers “Save password?”, answer Never for this site. In the Android app system autofill is excluded, so the offer does not appear; - the clipboard: a copied secret is cleared after 30 seconds, if you have not copied anything else meanwhile. But Windows clipboard history, clipboard-recording programs and the “Universal Clipboard” between Mac and iPhone can keep a copy. Copy secrets only when needed; - decrypted values stay in the tab's memory while the Bunch is open: the ones you look at, and the ones search everywhere decrypts to search. After locking they are no longer used; - browser extensions allowed on “all sites” can read the page while it is open, so also the values you see. In the profile you use for klucze, keep only extensions you trust; - the converted file and exported files (JSON, XML) hold the secrets in plain text: keep them safe or delete them after importing; - the computer itself: whoever controls your computer while the Bunch is open (malware, key loggers) sees what you see. Encryption protects files at rest, not the screen.
8. Common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| A change made on another computer is gone | two computers wrote almost at the same time in the Google Drive for desktop folder: Google kept only the last version | use Switch to Drive online…; on online replicas klucze recovers the blocks from recent revisions on its own (§7.3) |
| “Wrong password” | a different password, Caps Lock | the app warns if Caps Lock is on; remember that each Bunch has its own password |
| “No reachable copy” | disk unplugged, no network, folder permission expired (browser) | plug in the disk or check the network; in the browser press Open and grant the folder permission again |
| A copy stays “Needs sync” | unreachable right now | the app retries by itself; Sync now forces an attempt; if you no longer need it, Detach it |
| I cannot close the app | a replica has not received the changes | Retry, then quit, or Quit anyway: it will catch up at the next opening |
| No “Folder on this computer” in the browser | the browser cannot pick folders | use Chrome or Edge, or the desktop app |
| “The code … already exists” | another login has that code | choose another; codes are unique ignoring case |
| “Items are never deleted” | you tried to remove a saved item | declare it obsolete (⋮ menu → Declare obsolete…) |
| A deposit shows as “rejected” | “create only” on an existing code, or “add only” on a missing one | see Deposits received; deposit again with the right intent |
| “This Bunch does not accept deposits yet” | Bunch created with an older version | open it once with the password: the app creates the public key |
| A login shows a “conflicting version” | edited at the same time on two copies | Compare versions, then restore the right one or Keep this one |
9. Glossary
- Bunch (plural: Bunch): an encrypted set of logins, with one password, living in several replicas. It used to be called “vault”.
- Bridge replica: a copy that two or more devices reach, for example on Google Drive; without a bridge a device is an island.
- Replica (formerly “sister” or “sister copy”): one of the folders that hold the same Bunch, complete; replicas are peers, none is in charge.
- Sync: bringing to a copy the changes it is missing.
- Detach / re-attach: exclude a copy from syncing, or let it back in, from this device.
- Item: one piece of data in a login (username, password, PIN…), with a label and a value.
- Mnemonic: a reminder in place of the real value.
- Code: a login's unique identifier in the Bunch; the description may repeat.
- Login attributes: data about the login as a whole (organisation, user, instance type…); items are the single values.
- Obsolete: no longer valid but kept, with the date its obsolescence began; nothing is deleted.
- Deposit: logins or items added from outside, without the password and without being able to read.
- Removable (occasional) copy: on a USB stick or detachable drive; it does not hold back quitting.
- Dead copy: declared lost by the user; no longer waited for.
- Segment: an encrypted, immutable file with the changes of one save.
- Header: the
klucze.jsonfile, with the Bunch's non-secret data.
10. Manual history
| Date | Version | Changes |
|---|---|---|
| 2026-11-26 | 1 | first edition: replica Bunch, logins, import, held-back quitting, macOS/Windows/Linux desktop app and web app |
| 2026-11-28 | 2 | new login model (code, attributes with entry date, items never deleted, obsolescence with a date, replace), approach menu and favourite labels, rich search and table, JSON and XML import, deposits without reading, replicas known by the Bunch, removable copies and dead copies. The old “Other details”, “Address” and “Type” are gone |
| 2026-11-28 | 2.1 | opening instructions and keywords become attributes (search kw:, instructions:); lastchg is no longer imported; obsolete login even without a start date |
| 2026-11-28 | 2.2 | whole-number code; definitive format “klucze-esportazione/1” in JSON and XML, and the converti tool |
| 2026-11-28 | 2.3 | search everywhere in values, item values included (not labels), with /regex/; “Search by field” form with label/value pairs and all/at least one |
| 2026-11-28 | 2.4 | two AND/OR switches in search by field (attributes and items); new §4.9 “Tips and tricks”, the complete reminder; corrected the suggested code in §4.3 |
| 2026-11-28 | 2.5 | attributes editable one at a time from the card (✎, Save, Cancel), each attribute's history with Restore, changed attributes in the history; saved items immutable |
| 2026-11-28 | 2.6 | flags and obsolescence date also immutable, and the note of obsolete items; “Put back in use” creates a copy in use |
| 2026-11-28 | 2.7 | replica in the browser with Persistent / Not persistent status and warning for Safari and iPhone/iPad; §7.4 security questions |
| 2026-11-28 | 2.8 | the “vault” is now called Bunch (same in plural): “What a Bunch is” in §1, glossary and all texts |
| 2026-11-28 | 2.9 | sync panel: bar, phases, copies, outcome and fixes |
| 2026-11-28 | 3.0 | “sister” becomes replica throughout the manual and the app; the Bunch password is never saved (warning in the windows); phone storage (Android) |
| 2026-11-28 | 3.1 | private mode: a button at the top hides all values |
| 2026-11-28 | 3.2 | replica on Google Drive (web app): creation, ID with Copy / Share / Open in Drive, opening from the ID |
| 2026-11-28 | 3.3 | the Bunch is a single file (sequential log of blocks), with the deposits inside; append under lock with waiting; busy signal on Drive; saving that does not make you wait |
| 2026-11-28 | 3.4 | Google Drive in the Android app (native Google Play Services consent); “Convert to file” |
| 2026-11-28 | 3.5 | chapter “Replicas: the most important thing to understand” with recipes and checklist; Bunch fingerprint; new identity for hand-made copies; Drive in the desktop app; “Google Drive (online)” distinct from folders |
| 2026-11-29 | 3.6 | Export (encrypted file, JSON, XML); Delete a replica; Delete the Bunch with a tombstone for the other devices; “only one replica” warnings depending on the place; progress while creating on Drive |
| 2026-11-29 | 3.7 | Google Drive for desktop: no conflicted copies (test with two Macs); “Create on Drive online”, “Switch to Drive online…”, recovery of blocks from Drive revisions |
| 2026-11-29 | 3.8 | Guarantee: no Bunch written through Google Drive for desktop, only via the API; folders recognised with any name; adoption of folder files |
| 2026-11-29 | 3.9 | §4.11 Users (under construction): phase 1 — founder identity and signed changes; rules decided for the next phases |
| 2026-11-29 | 3.10 | §4.11 Users: invitations with a request code and a fingerprint read aloud, invite/administer permissions with delegation, private and shared logins (read/edit, “Who can see it”), revocation with a new Bunch key, leaving with one's own logins, tombstone reserved to administrators |
| 2026-11-29 | 3.11 | §4.13 Terminal version (klucze): commands, password via fd/file, --json cli/1, app tokens (signed deposits, receipts, scopes, approval), deposit code |
| 2026-11-29 | 3.12 | §4.12 Check and repair, “Is it a Bunch?”; §4.14 Changing the password; several Google accounts; single file in §3 |
| 2026-11-29 | 3.13 | §4.11 Users (D-061): founder fingerprint to confirm on first entry, fake access blocks ignored, permission rules independent of dates and order, concurrent revocations and “merge”, envelopes bound to the access list, unsigned tombstone no longer valid |
| 2026-11-29 | 3.14 | §4.10 JSON/XML export also as gzip or password-protected ZIP; Import reads .gz and .zip |
| 2026-11-29 | 3.15 | §4.13 Terminal version: English by default, Italian with --lang=ita (D-062), English command and option names (the Italian ones stay valid), "lang" in the JSON; export to encrypted ZIP (default), gzip or plain and import of .zip/.gz from the terminal too (R-052) |
| 2026-11-29 | 3.16 | §4.15 Printable recovery key |
| 2026-11-29 | 3.17 | §4.15 Recovery key for invited users too (D-065) and from the terminal: recovery create/status, opening with --recovery, change-password |
| 2026-11-29 | 3.18 | §3 “Open and save”: where the file goes, “I moved it…” |
| 2026-11-29 | 3.19 | §4.13 App tokens (D-066): on any Bunch (the first one activates users by itself), secret in the system keychain (--token <name>; 600 file only as a fallback, --token-file), automatic application of what is within the scope, what falls outside on hold; revocation cleans the keychain |
| 2026-11-29 | 3.20 | §4.2.1 obsolete hidden with “Include obsolete”, Filters menu, “Declare the login obsolete…”; §4.10 “Remove from the list…” |
| 2026-11-29 | 3.21 | §4.1 After a change: “To be synced” and full sync 30 s after the last change |
| 2026-11-29 | 3.22 | §4.1 “Sync every…”; Google account chosen on the phone too |
| 2026-11-29 | 3.23 | §4.5 and §4.10: importing again duplicates logins with no code and no creation date |
| 2026-11-29 | 3.24 | §3 “What you can do where”: table of operations per version; §4.1 Drive on desktop and Android too |
| 2026-11-30 | 3.25 | §4.13 the klucze command installed in the PATH (~/.local/bin) |
| 2026-11-30 | 3.27 | §4.1 replica map next to the list (devices, replicas by place, “who sees it” lines, bridges), “Map” button on the phone and in narrow windows |
| 2026-12-01 | 3.28 | §4.3 adding an item: “+ Add an item” button with empty label and value, Tab confirms the suggestion, Enter/Next moves to the value; the same on Mac, Windows, Linux, web app, HTML and phone |
| 2026-12-01 | 3.29 | §4.3 confirmation before making an item with the same label obsolete (“Yes, replace” / “No”) |
| 2026-12-01 | 3.30 | §4.1 “Open” at the top right of the Bunch card; Drive on the computer: permission once per account, renewal from the system keychain (D-074) |
| 2026-12-01 | 3.31 | §4.1 map: path through bridges for replicas not linked here (“via …”, chain lit up), “isolated” replicas |
| 2026-11-30 | 3.26 | §4.5.1 importing from an Excel or Google sheet (blank sheet “info” + “data”); §4.1 Drive permission kept until it expires and renewed in the browser profile that knows the account |
| 2026-12-01 | 3.32 | §4.16 2FA codes (TOTP): seed in a 2fa item or otpauth:// URI, live code with countdown |
| 2026-12-01 | 3.33 | §4.17 login check (reused, weak, old, without 2FA; optional known breaches via Have I Been Pwned) |
| 2026-12-01 | 3.34 | §4.18 fingerprint unlock (Touch ID, Windows Hello, Android) with a switch in Settings |
| 2026-12-01 | 3.35 | §4.19 extension for Chrome, Edge, Brave (per-site suggestions, filling, saving, linking with a code) |
| 2026-12-01 | 3.36 | §4.20 Android autofill (suggestions, chooser with search, saving) |
| 2026-12-02 | 3.37 | §3 “What you can do where” and Settings: rows for 2FA, login check, fingerprint, extension, autofill |
| 2026-12-02 | 3.38 | Fix: table-of-contents links now really jump to the chapter, also when clicked twice |
| 2026-12-02 | 3.39 | §3 Variants: kluczyki; fix: in the embedded manual, list items that wrap stay whole |
| 2026-12-02 | 3.40 | §3 Variants: the new icons of the two apps (ring with three keys, ring with one key) |