Skip to content

v1.0.0-beta.3

Latest

Choose a tag to compare

@zzzoryn zzzoryn released this 24 Nov 11:58
f287874

Okkey v1.0.0-beta.3

Okkey 1.0.0-beta.3 is the public beta after v1.0.0-beta.2. It adds self-host system updates, hybrid post-quantum protection for the device share of the account vault key, passkey approval of pending devices, and server-mail settings for the workspace owner. The browser extension is not part of this GitHub Release.

This release needs a backup and a pinned image tag (or the in-app Update button). SQL migrations run automatically when the API and the worker start. Read Upgrade before you move an existing install: crypto profile v1 is no longer allowed for vault items, a newly chosen master password must be at least 12 characters, and several .env values changed.

Highlights

  • Self-host system updates. Production Compose runs an update-agent service. The API checks the core feed at https://github.com/okkeyapp/okkey/releases/latest/download/feed.json (override with OKKEY_UPDATE_CORE_FEED_URL). An admin applies a signed .okpkg from the web UI (Update), or uploads an offline package. The agent checks the Ed25519 signature against OKKEY_UPDATE_TRUSTED_PUBLIC_KEY. Set OKKEY_UPDATE_ISOLATED=true to skip every online check (#242, #301, #305, #306, #307, #308, #324).
  • Hybrid device-key delivery. The device share of the account vault key is stored on the server only as a hybrid X25519 + ML-KEM-768 envelope for a key that stays on the device. A leak of the server database alone is not enough to brute-force the master password offline (#238, #235).
  • Passkey approval of pending devices. A trusted device can approve a pending device with a passkey (PRF wrap), including unlock follow-ups after approval, a passkey card and revoke, and handoff to the extension when you use one (#237, #313, #333, #343, #390).
  • Sign-in when outbound mail is not configured. Self-host auth can use a login key, and one-time codes are written to the worker logs, so the first accounts can sign in without SMTP (#302, #303, #323).
  • Server mail settings. The workspace owner can set SMTP, the sender address, and the public app URL in Server mail. Saved values override the matching fields in .env (#303, related server-mail UI follow-ups).
  • 12-character master passwords. A newly chosen master password must be at least 12 characters (#231).
  • Crypto profile v2. Vault items require profile 2. Hybrid ML-DSA-65 signatures are in profile v2. Shared-vault signatures are required in strict mode. DEPLOY_ENV=prod refuses CRYPTO_ROLLOUT_MODE=compat (#145, #229, #230, #240).

Features

Updates

  • System update notice and signed apply from the admin UI (#242).
  • Core update feed served from GitHub Releases, including feed.json and okkey-1.0.0-beta.3.okpkg on this tag (#301).
  • Enterprise self-host packages can be applied to api, web, and worker (#305, #346 / #358).
  • Core and enterprise updates appear in one system update popup (#306).
  • Offline packages use the import file field; core and enterprise can be packed into one offline archive (#308, #307). Uploaded .zip / .okbundle packages apply correctly, with aligned size limits (#324, #349).
  • Isolated online updates are disabled on the server when that mode is set (#350). The UI shows which update actually applied, including after a restart (#326, #331 / #335).

Devices and recovery

  • Approve a pending device with a passkey PRF wrap, with follow-up unlock, share-B refresh, passkey card, revoke, and extension handoff (#237, #313, #333, #336, #343, #344, #390).
  • Each browser profile is treated as its own device (#332 / #337). A newly approved device appears in the list without a reload (#312 / #330). Device denial is shown without signing in again (#327). The one-week device block duration is removed (#325).
  • Recovery-key restore is offered while device approval is pending; the recovery claim is bound to the proved device; another prove is allowed in the same session; pending devices are capped and the same fingerprint is replaced (#221, #226, #227, #224).
  • Recovery wraps with a non-account key_scope are rejected (#236).

Auth, mail, and settings

  • Login key and log-based sign-in codes when email is not deliverable (#302, #303, #323).
  • Workspace-owner Server mail settings: SMTP is activated only after a successful test send; a 30s timeout and countdown on test send; fallback when a stored SMTP password cannot be decrypted (#277 and server-mail UI follow-ups).
  • Invite email is deferred until mail is active (#329).
  • HTTP basic auth in the extension with explicit consent, closed on a wall-clock deadline (#321, #320).
  • Short commit SHA in the sidebar version label (#360 / #364). Vault lock on device sleep is off by default (#300).

Web and vault

  • Favicons stay private unless an admin opts into a direct fetch; fetched icons are normalized to 80×80 PNG; previews get hardened response headers (#234, #283, #290). Unrelated login edits no longer refetch and re-upload a favicon (#289).
  • TOTP period, digits, and algorithm are preserved on save, import, and export (#192, #194, #196).
  • Vault imports run in batches with bounded outbox retries (#288). A Yandex zip no longer requires an export password (#284).
  • Website login favicon is kept when the site is unreachable (#198).

Plans

  • Self-host entitlements follow the real plan tier and ignore a stale plan_tier field (#291, #294).
  • FAMILY plan is retired; catalog quotas are refreshed; SaaS storage quota is enforced; capsule files are gated on the catalog; plan-change requests are capped at 3 per 24h (#245, #256, #249, #254). Workspace owner is excluded from the member seat quota in the matching enterprise work (#202 in enterprise).

Fixes

API and security

  • Invalid entity ids are rejected before handlers (#197). Non-boolean device register flags are rejected (#223). Invalid URI path encoding returns 400 (#195). Attachment references are checked for ownership (#184).
  • Vault endpoints require an approved device; the account profile stays readable before approval; other devices stay hidden until the session device is trusted (#204).
  • Unsafe outgoing mail headers are encoded and folded (#285). Settings deep-link pipes in email are percent-encoded (#193). Workspace invite role i18n accepts optional detail vars (#199).
  • License request leftovers are cleaned up; invalid license request contact emails are rejected (#278, #279).
  • An expired enterprise license is shown in system updates (#319).

Deploy and images

  • api and worker runtime images no longer contain Debian libssl3; the runtime is sealed FROM scratch so the Trivy CRITICAL/HIGH gate passes (#412 / #413).
  • Runtime images are minimized to distroless, web is pinned to nginx 1.30.7-alpine-slim, and Trivy scans use TRIVY_PLATFORM for multi-arch digests (#353, #366, #363). Dev dependencies stay out of enterprise runtime images (enterprise #245).
  • OKKEY_GIT_SHA is baked into api and worker images (#345 / #357). The installer negotiates the Docker Engine API version (#351 / #355).
  • Installer default ref is pinned to the release tag (#275). Cosign verification runs on install, and published images carry OCI annotations (#222).

Extension (code in this tag; not shipped as a Release asset)

  • Store package polish and a store version derived from product SemVer (1.0.0.3 for this beta) (#255, #286).
  • Cached account name and email (#311). Background idle/sleep and related device work from earlier extension PRs remains in tree; this GitHub Release does not attach a store zip. See the Extension note below.

Security

  • Device share of the account vault key uses a hybrid X25519 + ML-KEM-768 envelope (#238).
  • Hybrid ML-DSA-65 signatures in crypto profile v2; vault items may not use profile v1; shared-vault signatures are required in strict mode; DEPLOY_ENV=prod refuses CRYPTO_ROLLOUT_MODE=compat (#229, #145, #230, #240).
  • One-time hybrid delivery for device approval (#235). The server key share stays in session memory (#233).
  • PQ TLS compatibility traffic is isolated on a dedicated port and certificates (#177).
  • Debian libssl3 is removed from api/worker runtime images (CVE-2026-107494 class findings on the system library) (#412 / #413).

Under the hood

  • Password monitoring moved out of Core into optional enterprise modules (#246).
  • Baseline v1.0.0-beta.1 schemas are applied before later migrations (#211).
  • Intended install defaults for this tag: CRYPTO_ALLOWED_PROFILE_VERSIONS=2, CRYPTO_ROLLOUT_MODE=compat, DEPLOY_ENV=dev. New registrations send password_kdf_params_version=2.
  • Browser e2e, PQ TLS policy/smoke, release-branch checks, and image-scan CI updates (#181, #177, #241, and follow-ups).
  • Public install, upgrade, proxy, cosign, SMTP, device, and HTTP-sync docs were aligned during the cycle (#213, #225, #292, #296, #297).

Install

curl -fsSL https://raw.githubusercontent.com/okkeyapp/okkey/v1.0.0-beta.3/deploy/docker/install.sh \
  | OKKEY_REF=v1.0.0-beta.3 OKKEY_IMAGE_TAG=1.0.0-beta.3 bash

Upgrade

Back up first. Upgrade in the web UI with the signed .okpkg from this Release, or from the command line:

cd ~/okkey
sed -i 's/^OKKEY_IMAGE_TAG=.*/OKKEY_IMAGE_TAG=1.0.0-beta.3/' .env
curl -fsSL -o docker-compose.prod.yml \
  https://raw.githubusercontent.com/okkeyapp/okkey/v1.0.0-beta.3/deploy/docker/docker-compose.prod.yml
docker compose -p okkey -f docker-compose.prod.yml --env-file .env pull
docker compose -p okkey -f docker-compose.prod.yml --env-file .env up -d

Note: CRYPTO_ALLOWED_PROFILE_VERSIONS is now 2, and new master passwords need at least 12 characters.

Extension

The product SemVer of this release is v1.0.0-beta.3. The store number for the browser extension, when it is published, is 1.0.0.3 (#255). This GitHub Release does not attach an extension zip.

Docs

Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3