github GlassHaven/Haven v5.28.0

latest releases: v5.94.64, v5.94.63, v5.94.62...
6 months ago

Highlights

  • step-ca / OIDC SSH cert integration (#133) — register a step-ca CA in Keys → Certificate authorities, sign in via OIDC in your browser, and Haven mints a fresh Ed25519 keypair + signed SSH cert against the CA. Phases 2a + 2b in one release: cert lifecycle, lazy renewal at connect time, notification-driven background renewal via WorkManager, and CA-signed host-key trust that skips the TOFU prompt when a server's host cert is signed by a registered CA, currently valid, and the hostname is in its principals. New core/stepca module (PKCE + Custom Tabs OIDC client, pinned https://ca/1.0/sign-ssh + /1.0/ssh/config); new core/ssh/OpenSshCertificate.kt for OpenSSH cert wire-format parsing; DB migrates 47→48→49 on first launch.

  • CA registration moved from Settings to Keys — credentials live with credentials. The Add/Edit CA dialog grows Import from file buttons for the root certificate (PEM passes through, DER auto-detected and converted via X509 CertificateFactory, bare base64 wrapped) and the SSH host CA public key (.pub). The "Discover from /1.0/ssh/config" button auto-fills the host CA pubkey when the CA endpoint exposes it.

SSH

  • PTY size replay on reconnect (#120) — when the WiFi-jump reconnect path re-establishes a session, Haven now resends the current PTY size to the server, fixing the long-standing terminal-corruption-after-reconnect bug.

i18n

  • Korean (#146) — initial Korean translation contributed by @Nergis0318, plus Korean strings for the new step-ca surfaces.
  • New step-ca strings: real translations for zh-CN + ko-KR; en-US fallback in ar, bn, de, es, fr, hi, ja, pt, ru. MissingTranslation lint clean.

Tests

  • New OpenSshCertificateTest covers ed25519 / ecdsa / rsa cert parsing and validity_before clamping.
  • MIGRATION_48_49Test round-trips a v48 DB through the migration, asserting sshHostCaPublicKey exists and existing CAs are preserved.
  • ConnectionsViewModelSessionTest updated for the new CertRenewalGate constructor parameter.

Out of scope (named for transparency)

  • Multi-CA per-profile (use CA X for keys, CA Y for host trust).
  • KRL revocation list support.
  • Refresh-token-based silent renewal — depends on the OIDC provisioner family; step-ca's OIDC provisioner is one-shot ID-token by design.
  • Auto-discover root cert via /1.0/root (today the user pastes or imports).
  • Headless / MDM-preconfigured bootstrap.

Full changelog: v5.27.0...v5.28.0

New contributors

Don't miss a new Haven release

NewReleases is sending notifications on new releases.