Repository navigation
DockVault vault 0.36.0
Upgrade from 0.35.2. An older release goes through 0.35.2 on the way; dockvault.py update plans the route.
Update the checkout before you run the update (git pull, or git fetch --tags && git checkout v0.36.0), then run
python dockvault.py update. Reload browser tabs opened before the upgrade. With SFTP in its own container (the
split profile), update it together with the web container.
Support. 0.36.0, released on 2026-11-27, is the first release of the 0.36 line. It adds passkeys, and single
sign-on through OpenID Connect identity providers. It publishes no advisory. From this release, only the
newest release line gets security fixes. When a new minor release ships, the line before it has 30 more days to
upgrade, and is then end-of-life. Those 30 days are time to upgrade only: the line before gets no security fixes and
no backports in them. So 0.35.x, 0.34.x and 0.33.x reach their end on 2026-12-27: plan the move to
0.36.0 before then. This replaces the six months of security fixes each line was given before (until
2027-05-17 for 0.34.x and 2027-05-09 for 0.33.x). We made this change to keep security standards high: all our effort
goes into the next releases, with better security and more features
(SECURITY.md).
Before you upgrade
- The step from 0.35.2 has one condition for the upgrade itself: passkeys are on. Its other conditions are about
going back, and are listed at the end of these notes. From 0.36.0 anyone may add a passkey under Your account, and
for the roles user and external a passkey that verifies the person (a PIN, a fingerprint or a face on their device)
signs them in by itself. Administrators always type their password as well. Both are settings, under Settings,
Sign-in methods: set Passkeys to Off to keep them out, or empty Roles a passkey signs in alone to keep
the password for everyone. Single sign-on stays off until an administrator adds a provider and turns it on. - Passkeys need a host name. A passkey works only at the address it was made at: the vault's address, the first
entry ofALLOWED_HOSTSin.env. That entry must be anhttpshost name (plainhttponly on localhost), with a
name in another script written in itsxn--form. At an address reached by IP, over plainhttp, or with no entry,
passkeys stay hidden and nothing else changes;python dockvault.py statussays why. Single sign-on needs an
httpsaddress there too, and works with an IP address. - Moving the vault to another host name later leaves the passkeys made at the old one unusable there: each of
their holders sets a second factor up again at the next sign-in.dockvault.py setupandstatussay how many keys
and accounts that touches, and the keys work again if the vault goes back to the old address. Every provider must
then be given its new redirect address too. - From the 0.34 or 0.33 line, the route also takes the steps into 0.35.2, with their conditions. Among them:
every emailed link is built on the first entry ofALLOWED_HOSTS, so an install with it empty sends no reset or
invitation email until it is set. - DockVault Desktop 0.2.0-preview.4 carries the web app of vault 0.33.2, which knows neither passkeys nor single
sign-on. Against 0.36.0 it cannot sign in three kinds of account. The first is an account whose only second factor
is a passkey, where sign-in asks for a second factor: the app asks for an authenticator code. The second is an
account that signs in only through its provider, or that a provider's days or refusal hold to a sign-in there: the
app has no provider button. The third is an account whose role must hold a passkey, once its days to set one up
have run out: the app cannot add the passkey the sign-in asks for. These people use the vault in the browser until
a desktop release supports these sign-ins. Everyone else signs in to the app as before. - Update the checkout first, so that
dockvault.pyknows this release and its conditions. The compose files are
as in 0.35.2. No.envsetting must change; one optional setting is new,WEBAUTHN_ATTESTATION_ROOTS(below). - A sign-in waiting for its second step at the moment of the upgrade is refused once ("This login attempt has
expired; start again."): the person signs in again.
After you upgrade
- Reload every tab opened before the upgrade. The sign-in screen, Settings and Your account have changed, and a
tab running the 0.35 web app offers neither passkeys nor single sign-on. - Look at Settings, Sign-in methods. Its passkey card says whether passkeys can be made at the vault's address,
and why not. Decide the passkey settings for your organisation; each change is saved on its own and asks for your
password (and your second factor when you have one). - To use single sign-on, add your provider there, run a test sign-in, then turn it on (below).
New for users
- Passkeys. Under Your account, Passkeys: add a passkey (your phone, computer, security key or password
manager keeps it, and unlocks it with a fingerprint, a face or a PIN), give it a name, rename it, remove it. An
account holds up to 20. Adding and removing one asks you to confirm it is you (renaming does not), and you are told
by email when a passkey is added to or removed from your account. - Sign in with a passkey, with the button on the sign-in screen, or by picking one the browser offers in the
username field. Where your role may sign in with a passkey alone, a passkey that verified you signs you in; where it
may not, and always for an administrator, your password follows. Only a passkey your device keeps with your account
(a discoverable one) signs in by itself. - A passkey as your second factor. After your password, the second step offers your passkey beside your
authenticator app, and a step-up that asks for your second factor takes it too. - A passkey added within 14 days after an administrator changed how your account signs in is provisional: it
signs you in, but does not count for the actions that need your own factor until you confirm it with a factor you
already had, or until those 14 days end. - Single sign-on. When an administrator has turned a provider on, the sign-in screen shows its button ("Sign in
with Contoso", in the administrator's words and order), or your organisation hands out a sign-in link. You sign in
at your organisation's own sign-in; the vault never sees that password. - Link your account under Your account, Single sign-on: from a session in which you signed in with your
password (and your second factor, when you have one), link your organisation's sign-in, see when you last signed in
through it, and unlink it. Where the provider signs its people in without a vault password, the page says so before
you link: linking ends your password. - Confirm your email address. Where a confirmed address would let your organisation's sign-in find your account,
Your account offers Send me a code: a code is sent to the address your account holds, and typing it confirms
that address. - Sign in through your organisation in time. A provider can ask its people to sign in through it every so many
days. Five days before your time runs out (never more than half the window) you are told, in the app and by email.
After it, your SSH keys, temporary credentials and devices pause, and where the provider says so your password and
your passkeys stop signing you in, until you sign in through the provider again, which restores everything. - Opened at another address? A sign-in screen opened at another address than the vault's own says where passkeys
and your organisation's sign-in work.
New for administrators
- Settings, Sign-in methods, under a new Sign-in heading, holds the passkey settings and the single sign-on
providers. Nothing there is saved by Save All Changes: each change is saved on its own, under your password
(and your second factor when you have one), and is recorded. - Passkey settings:
- Passkeys: Off (every registered passkey is kept, none is accepted), Optional (the default) or Required for
roles. - Roles that must have a passkey, with Days to set a required passkey up (14 by default, 1 to 90), counted
from the first sign-in under the requirement. The person is warned with the date until then, and after it adds a
passkey at the sign-in. A requirement waits while no passkey can be made at the vault's address. When someone's
browser cannot make a passkey, the server's operator lets that one account sign in without it:
python dockvault.py accounts --action clear-passkey-requirement --username <name>. - Roles a passkey signs in alone (user and external by default; never administrators, who always type their
password, and never a holder of the auditor right). - The authenticator must verify the person (on). Off, a passkey that did not check a PIN, a fingerprint or a
face is one factor: the password always follows it, and it never counts for a compliance step-up. - Signature algorithms (ES256, RS256 and EdDSA). Removing one leaves the existing keys of it usable for 30 days,
and their owners are told. - Attestation (none by default) and Allowed authenticator makes: direct attestation checks an authenticator's
make against the root certificates inWEBAUTHN_ATTESTATION_ROOTS, a PEM file the server can read (with the
secure compose file thatdockvault.pyruns, put it in thecerts/folder, which the server reads at
/app/certs); without that file it cannot be turned on. - Roles whose passkeys must be device-bound: a synced passkey (one copied between devices) is not added for
these roles, and does not count for their compliance step-ups.
- Passkeys: Off (every registered passkey is kept, none is accepted), Optional (the default) or Required for
- Passkeys of other people. The Users table has a Sign-in methods column: Password (or No password), the
providers an account is linked to, Authenticator, and its passkeys. An administrator removes someone's passkey
on the Users page, under the same two-person rule as the other changes to
someone's sign-in details; the owner is told. No administrator can add a passkey for someone else, and a role's
last required passkey is not its holder's to remove. - Single sign-on providers. Add a provider asks for a name and the kind: Microsoft Entra ID, Google Workspace,
Okta, Keycloak, Authentik, or another OpenID Connect provider. It is made as a draft, so the addresses the
provider's console asks for exist before anything else is typed, and the page says, for that kind, where in the
provider's console they go. A provider opens in a dialog with six pages:- Connection: the redirect address, the back-channel logout address and the sign-out return address to give
the provider; a sign-in link to hand out; the button's text, icon and order, and whether the sign-in screen shows
it; the issuer, client ID and client secret (kept encrypted, never shown again), scopes, how the secret is sent,
the discovery address and claim names when they differ from the usual ones; and The provider is inside the
network, for a provider on a private address. Test sign-in: you sign in at the provider and come back to the
page, which shows what the provider sent and what the vault would do with that person. Nobody is signed in or
linked by a test. - Access: who may sign in (tenants for Microsoft Entra ID, domains for Google Workspace, required groups, and
optionally the sign-up domain list of the Accounts page); whether only invited or linked people sign in (the
default) or an account is made at a person's first sign-in, and with which role (user or external); whether an
existing account is linked by its email address; whether linked accounts keep their password or sign in only
through this provider; and An account made at a first sign-in may set a password (off by default). - Groups: the provider's groups mapped to departments and to the administrator role (see Group mappings
below), with the groups the last test sign-in saw. - Second factor: whether a second factor at the provider counts as the second factor here (off by default),
and whichamrandacrvalues say so; the page shows what the last test sign-in carried. - Sessions: back-channel logout (on), signing out at the provider too (off), the days a person may go without
signing in through the provider (30; 0 turns it off), whether a refusal by the provider ends access here (on), and
whether, after those days or a refusal, the account signs in only through a provider (on). - Identities: the accounts linked to the provider and what holds each, with Lift refusal and
Unlink for one person.
- Connection: the redirect address, the back-channel logout address and the sign-out return address to give
- Turning a provider on needs the vault's address, the connection filled in, and a test sign-in that passed with
the connection as it is now. A change to the connection turns a provider that is on off again, ends the sessions
that came through it, and tells the people linked to it when it was pointed somewhere else; pointing it somewhere
else without a new client secret drops the stored one. Turning a provider off is never refused, and ends the
sessions that came through it. Removing a provider is refused while it is on, while accounts hold no password
because of it, and while a refusal or a hold it recorded is in force; an attempt first holds each linked person
whose days without a sign-in there have run out. Such holds are lifted by the person's sign-in through the provider
once it is on again, by an administrator on the provider's Identities page (below), or with the account, when it is deleted. A vault
holds up to 20 providers. Every change is told to the other administrators. - Accounts made at a first sign-in are made only for a provider that says who may sign in (a tenant, a domain, a
required group, or the sign-up domain allow-list of the Accounts page when Also hold people to the sign-up domain
list is ticked), and so is a link by email. Such an account signs in only through its provider while An account
made at a first sign-in may set a password is off, so a person the provider no longer signs in cannot give
themselves a password and stay. Making such an account an administrator ends that for it, and it is sent a link to
choose a password. - Linking by email, when it is on, acts only while the provider makes no accounts at a first sign-in: one that
does makes a new account first, so someone who already has an account but no link to the provider, an
administrator included, gets a second one at their first sign-in through it (without an address, which is already
in use, or refused where an address is required). It links a provider identity to an existing account only when
the provider verified the address and the vault confirmed it for that account: an administrator or an invitation
set it, or its owner confirmed it with an emailed code. It never links an administrator, a holder of the auditor
right, or an account that set up its own second factor; their owners link the provider under Your account. At the
first start, the address of each account made from an invitation that carried the address it still holds is marked
confirmed; every other address starts unconfirmed. On the Users page, Confirm address confirms the address an
account holds where that matters, under the two-person rule; the owner is told. - People who leave. A provider's back-channel logout ends the sessions it names. With the refusal switch on (the
default), a verified token that leaves a known person out (a tenant, a domain or a required group) ends their
sessions and pauses their SSH keys, temporary credentials and devices until a sign-in the provider admits. The days
without a sign-in pause the same, and with the last Sessions switch on, the account's password on the web and over
SFTP, a passkey by itself and Stay signed in on a session no provider made are refused too, until the person
signs in through the provider. Administrators and holders of an auditor right in force are never held: their password stays
their way in while a provider cannot be reached. While a provider is turned off, its days close no password; an
account already held then stays held. An administrator lifts a provider's refusal, or a hold, for one person
on the provider's Identities page, which lists the accounts linked to it and what holds each; another
administrator lifts an administrator's own. A lift of a hold the vault wrote when the provider's days had run out
lets a later removal of the provider go through. - The deployment can fix the providers.
SETTINGS_LOCKED_KEYSaccepts the groupsso: nothing is then added,
changed, turned on or off, or removed in the panel, while reading the providers and running a test sign-in stay open.
Each passkey setting can be locked by name, or all of them as the groupwebauthn. The passkey settings take their
values fromWEBAUTHN_*lines in.env, the defaults where none is set, and a lock holds those values
(Attestation and Allowed authenticator makes have no.envvalue and stay at none and any make). A
deployment withSETTINGS_LOCKED_KEYS=*holds, from this release, the passkey settings at those values and the
single sign-on providers as they are (none can be added): name the keys to lock instead of*to set them up in the
panel. - Group mappings. On a provider's Groups page, an administrator maps the provider's groups to departments and to
the administrator role. A person's departments follow the mapped groups at each sign-in through the provider. A
group mapped to the administrator role does not grant it: it opens a request that another administrator approves
or denies within 7 days, under Users. Saving or removing a mapping says how many linked accounts may leave a
department at their next sign-in, how many open requests end, and how many administrators approved through the
group keep the role. - The host tool.
dockvault.py setupandstatussay whether passkeys can be made at the vault's address and,
when passkeys made at another address exist, how many.python dockvault.py accountsgains the action Let an
account sign in without the passkey its role requires.
Security and privacy
- A passkey cannot be phished: it answers only at the vault's own address, and the vault keeps its public key
alone. The vault takes the address for passkeys and single sign-on fromALLOWED_HOSTS, never from a request. - SFTP agrees its session keys post-quantum. The hybrid exchange
mlkem768x25519-sha256(ML-KEM-768 with
X25519) is agreed with every client that lists it first, as OpenSSH 9.9 and later do.SFTP_KEX_POLICY=pq-required
refuses clients without it;defaultkeeps the classical exchanges for older clients. - An administrator always keeps a password. A passkey or a provider adds to it and never replaces it; an
administrator or a holder of the auditor right can never be made to sign in only through a provider. - A provider is trusted only as far as it is set to be. An identity is the provider's stable identifier for the
person, never an email address. The provider's own second factor counts only when an administrator says so, and
only with anamroracrvalue on the accepted list; a value that names a password, a PIN or a question alone
never counts. The vault calls a provider only overhttps, on a public address unless the provider is marked as
inside the network, and follows no redirect. - No session travels in an address. A sign-in through a provider comes back with a one-time code in the
address's fragment, which only the tab that started the sign-in can use, within 60 seconds, once. A passkey sign-in
stays on the page: the session, or the next step, comes back in the answer to the passkey itself. - A fresh sign-in at the provider confirms a person who has no password for a step-up: it stands in for the
password part, within a minute. An account that signs in only through its provider uses its passkey after the
provider, never instead of it. - For the auditor right, a passkey counts for the compliance step-ups only if the account held it when the right
was approved or last reconfirmed. - Single sign-on and passkeys never open a zero-knowledge vault: its passphrase stays, and nothing a provider
sends is used as a key. - SFTP: an account that signs in only through its provider has SFTP password sign-in turned off, and uses SSH keys
or temporary credentials. Where SFTP accepts only temporary credentials from accounts with a second factor, a
passkey counts as that factor. - Personal data. docs/data-inventory.md
lists every store. New: the passkeys people register (webauthn_credentials), the providers administrators
configure (sso_providers, with the summary of each one's last test sign-in), each account's link to a provider
(external_identities), what a session signed in through a provider remembers of that sign-in (sso_sessions,
with the provider's ID token, encrypted, only when signing out at the provider is on), the group mappings and the
administrator requests a provider group raises, and the email that carries the code confirming an account's
address.
Changes you may notice
- Settings has a sixth heading, Sign-in, and the Users table a Sign-in methods column.
- When every provider that is on signs its people in without a vault password, the sign-in screen shows the
provider buttons and puts the password form behind Sign in with a local account, for administrators and for the
day a provider is down. - Stay signed in refuses a renewal in new cases, each with its own sentence on the sign-in screen: an
administrator's session made without the password; a session a passkey made alone once the account must type its
password, or once its password is one nobody knows; a role past its time to set a passkey up; a session that came
through a provider the account is no longer linked to, or that no longer vouches for it; and a session no provider
made, on an account that now signs in only through its provider, or that a provider's days or refusal now hold to
a sign-in there. GET /auth/policycarries amethodsobject (the password form, the passkey button, the provider buttons), which
the sign-in screen is drawn from.GET /auth/sso/reasonslists, in words, every reason a provider sign-in can be
refused. Access tokens carryamrandauth_time.- Three emails are new, and always on: the code that confirms an address; a change to how you sign in (a passkey
added or removed; a provider linked or unlinked, by you or by a sign-in with your verified address; and an
administrator's change to a provider you are linked to: its password sign-in turned off or allowed again, accounts
made at a first sign-in allowed a password or no longer, the provider pointed somewhere else or removed); and the
warning to sign in through your organisation (whose words cannot be changed). - The image adds one Python package,
fido22.2.1 (pure Python), for passkeys. - Settings opens in the side menu. While Settings is open, the menu on the left lists the settings pages, under
Back and one Advanced switch. The switch shows or hides the advanced settings on every page and is kept in
your browser; it replaces each page's "Show advanced settings" button. The pages take the full width. - The menu button in the top bar collapses or expands the side menu on a wide screen, as it opens the menu on a
phone. The side menu's own button is gone. - Branding: a new switch, Show the name beside the logo, for a logo that already shows the name. An uploaded
logo or favicon whose file is missing from the server is replaced by the built-in one, and the Branding page says
so. The Privacy policy URL is set on the Branding page and is empty by default (it was the project site's own
policy):GET /legalanswersprivacy_policy: nulluntil it is set. - The link What this vault records is now Privacy, on the sign-in page and on the link pages. The page it
opens (still/recording) is titled Privacy and starts with your organisation's privacy policy, when one is set. - The upload-link, public-link and shared-note pages, and the Privacy page, use the app's own colours, font and
light or dark theme, with the vault's logo and name.
Fixed
- An administrator who had changed the recording levels could not be deleted or erased: the request failed with an
internal error and the account stayed.
Not in this release
- SAML 2.0. Single sign-on speaks OpenID Connect only.
- Microsoft Entra ID and Google send no back-channel logout: for their people, the days without a sign-in and the
refusal rule are what end access. - Single sign-on in the desktop app. No desktop release signs in through a provider yet.
Schema and going back
At its first start 0.36.0 adds the tables webauthn_credentials, sso_providers, external_identities,
sso_sessions, sso_group_mappings and sso_admin_requests, and columns: sso_only, email_confirmed_at,
email_confirmed_for, passkey_required_since, passkey_requirement_cleared_at, password_nobody_knows and
sessions_ended on users, and approved_credential_ids on auditor_grants. Each is nullable or has a default, and
0.35.2 ignores them, so going back to 0.35.2 needs no restore. Passkeys and single sign-on are then gone, and the
upgrade conditions say what to do first:
- Accounts that sign in only through a provider: an earlier release holds no account to its provider, and gives
such an account a password the ordinary ways: a reset link it asks for, where self-service reset is on, or an
administrator's. Disable the accounts of people who left, or turn self-service reset off, and sign these accounts
out before going back. - Accounts whose password nobody knows (one made through a provider, for example) need a reset link there before a
password works. - A passkey, or a provider's trusted second factor, is no second factor there: an account without an authenticator
app signs in with its password alone. Have each add an authenticator app first. A role's passkey requirement is not
asked for there either. - People a provider refused, or whose days have run out, get their password, SSH keys, temporary credentials and
devices back there. Disable those accounts first. - Held confirmations of an address: deny or withdraw them first. An earlier release applies one as a change of
address.
python dockvault.py update shows each of these before it goes back, with the query that finds them in the
deployment's database.
Coming back to 0.36 after a time on an earlier release, passkeys and provider links made before are back as they were.
An account that signs in only through its provider still does on 0.36: a password it set or was given on the earlier
release does not sign it in while it stays held. A second-factor reset made there by another administrator or the
server's operator retires, at the first start, the passkeys made before it, for at least 14 days after the reset; an
older reset does so only while the account has not answered it, and only where the account had an authenticator app.
Nothing else done there (a password reset, a sign-out everywhere, a factor an account turned off itself) ended a link
or a passkey: for each account acted on there for a security reason, remove its passkeys and unlink its identities.
The days there count, so people who did not sign in through their provider meanwhile may be held to it until they do,
and a role's time to set a passkey up may have run out. An account that signs in only through a provider and was made
an administrator, or given the auditor right, there gets its password sign-in back at the first start, and it and the
administrators are told.
The release attaches a VEX document with six statements: CVE-2026-119170 in Python 3.14.10, as in 0.35.2, and
the five findings of OpenSSL's advisories of 17 and 24 November 2026 (CVE-2026-107494, CVE-2026-124709,
CVE-2026-121482, CVE-2026-84786 and CVE-2026-107493, all rated Low by OpenSSL), which nothing in the image reaches.
OpenSSL 3.5.10, which fixes them, is scheduled for 1 December 2026; the image is rebuilt on it once Alpine serves
it. The images of 0.35.2, 0.34.5 and 0.33.10 have the same OpenSSL and are not affected either. The
upgrade paths and their conditions are in upgrade.json, attached to this release, and at
https://vault.dockvault.io/upgrades.
Full Changelog: v0.35.2...v0.36.0