Repository navigation
Passky Server 10.1.0
Passky Server 10.1 moves password sharing to post-quantum signatures, protects each vault with an encrypted index that lets devices detect a server hiding or rolling back items, and gives items room for post-quantum SSH and PGP keys.
How Passky encrypts, shares and protects your data is now described in the security whitepaper.
Sharing must be set up again. On the first start, this version deletes all existing sharing data. Read Before you upgrade first.
Before you upgrade
Sharing version 1 signed everything with Ed25519 alone. Recent attacks on 256-bit elliptic curves mean those signatures can no longer be trusted on their own, so this version only accepts sharing version 2, where every signature combines Ed25519 with ML-DSA-87. Version 1 data can not be converted, because its signatures can only be made again by their owners.
On the first start, Passky Server 10.1 deletes:
- every sharing identity,
- every shared folder, the items in it and its member list.
Accounts and the passwords in each person's own vault are not touched.
After the upgrade, everyone who used sharing needs an updated Passky client (one built with PasskyAPI-JS 10.2 or newer). In it they set up sharing again, verify their contacts again and create their shared folders again. Older clients can still sign in and use their own vault, but they can no longer use sharing. Let your users know before you upgrade, and ideally upgrade once the updated clients are available.
Upgrading
Back up your database first. The sharing data removed on the first start can only come back from a backup. Then run the usual commands:
docker compose pull
docker compose down
docker compose up -d
Passky Server updates the database on startup. Besides removing the version 1 sharing data, it widens the column that holds sharing signatures, so the database user needs permission to alter tables with MySQL, MariaDB or PostgreSQL. No other settings change.
Passky Server 10.1 also adds two columns to the users table for the vault index. Once an updated client has opened a vault, older clients can still read it but must be updated to save changes.
If you ever restore a backup, updated devices will notice that the vault went back in time and ask their owners once what to do. That is the feature working as intended.
Read the upgrade guide before upgrading. To stay on the previous version for now, use the image rabbitcompany/passky-server:10.0.0.
Highlights
- Sharing version 2: every sharing identity, member list, folder key and shared item is signed with Ed25519 and ML-DSA-87 together, and clients accept a signature only when both parts verify. Folder keys were already protected with X25519 and ML-KEM-768.
- Vault index: every vault now has an index, encrypted with the vault key, that lists a short hash of each item with its dates. Devices remember the newest index they have seen, so a server (or someone who controls it) can no longer quietly drop items, bring back an older copy of an item or roll the whole vault back without the device noticing. Changes from several devices are ordered by the index revision and retried automatically when two devices save at the same moment.
- Items can hold up to 140,000 encrypted characters of
data(before: 70,000), enough for post-quantum PGP keys such as an ML-DSA-87 + Ed448 key pair. The existing database columns are already large enough, so this needs no migration.
Behavior changes
- The sharing endpoints accept only version 2 identities and folders and answer error
422(VALIDATION_FAILED) for version 1. Sharing signing keys are 2,624 bytes and signatures 4,691 bytes, both base64 encoded. The API documentation and the OpenAPI document at/api/v1/openapi.jsondescribe the new format. - The legacy
?action=API keeps its old item size limit. GET /api/v1/passwordsnow answers{ passwords, index }. Every change to the vault sends the new encrypted index with the revision it was built on, and a new endpoint,PUT /api/v1/passwords/index, saves an index without changing items.- New error codes:
409 VAULT_INDEX_CHANGEDwhen another device saved first, and409 CLIENT_UPDATE_REQUIRED(legacy API error37) when a client without vault index support tries to change a vault that has an index. - Clients that keep a vault index send each item's created, updated and password changed times, and the server stores them exactly. Imported dates may now be up to one day in the future to allow for device clocks that run ahead.
Documentation
- New security whitepaper with diagrams of how the vault and sharing are protected.
- The comparison with other password managers in the README is grouped by category and now also compares post-quantum SSH keys, PGP key generation and contact verification.
Under the hood
- Updated dependencies.