github dophq/dopbase 0.2.3
Dopbase 0.2.3

3 hours ago

Summary

Dopbase 0.2.3 lets you set how often sensitive actions
ask for your password, with DOPBASE_REAUTH_INTERVAL_MINUTES. The prompt is
off by default now, so set it to 10 to keep 0.2.2's behavior. It also fixes
single sign-on re-authentication and long CLI backups, and files personal
token records in the audit log under their project, so readers outside it no
longer see them. 0.2.3 doesn't migrate the database.

Added

  • DOPBASE_REAUTH_INTERVAL_MINUTES (or reauth_interval_minutes) asks for a
    fresh password before sensitive actions, 1 to 1440 minutes; 0 turns it off.
    See Re-authentication interval.

Improvement

  • A new project's setup list offers local, stag and prod instead of
    development, staging and production, with prod protected. Existing
    environments keep their names.
  • Revert and Save sit beside the Table and Editor switch, and
    the secrets toolbar no longer wraps unevenly on phones.
  • Revealing, copying or downloading a secret, revealing an older version, and
    turning on Show references show a spinner until the value arrives.
    Before, a slow server looked like a click that did nothing.
  • Switches are rounded pills with a round knob, and the off track is lighter
    so it stands out from the row behind it. While Show references
    loads, its switch moves to on, outlined, with three dots pulsing in turn.
  • While Editor loads, it shows the editor's frame with placeholder lines
    shaped like a .env file instead of a grey block, so nothing jumps when the
    secrets arrive.
  • Update test app rust test coverage up to 95% plus.

Fixed

  • Show references says why a reference stays as written, such as two
    secrets that refer to each other in a loop, and reveal returns it as
    unfilled. Before, every case read "Nothing fills in".
  • A version revealed in a secret's History no longer shows a
    Show references switch, which did nothing there.
  • When filling in references fails, the Show references switch stays off.
    Before, it looked off but the next click did nothing.
  • Loading spinners in buttons and the account menu show at their small size
    instead of 20px.
  • dopbase server start shuts down cleanly on SIGTERM or Ctrl+C that arrives
    as soon as the port opens. Before, such a signal could kill the server.
  • Single sign-on re-authentication now opens in a normal browser tab instead of
    a popup window, reports provider errors back to the dialog immediately while
    keeping Cancel usable, and no longer fails on providers that omit
    auth_time (such as Google and default Microsoft Entra ID). With those
    providers, a live provider session can confirm without a new sign-in.
  • The older-version banner on the 0.1 docs is solid now, so the page no longer
    shows through it as you scroll.
  • dopbase backup and dopbase restore wait up to 15 minutes for a backup to
    download, upload or restore, as the server already does. Before, the CLI gave
    up after 30 seconds and said to check the server's health. A server that
    can't be reached still fails within 10 seconds.
  • When the CLI can't reach the server within 10 seconds, it says it could not
    connect, not that the server did not respond within 30 seconds.

Security

  • A personal token made for one environment is recorded under that
    environment's project in the audit log. Before, the record had no project,
    so anyone with audit.read saw its name and owner whatever projects they
    could reach. Records written before this release show only to readers of
    the whole log and to the person who made the token.
  • Revoking a personal token for a project or an environment is recorded under
    that project too, whether someone revoked it, a new token replaced it, or a
    password change or reset revoked it. Revoke records written before this
    release name no project, so everyone with audit.read still sees them.

Note

  • The password prompt before revealing secrets, minting tokens and backups is
    off by default. Set DOPBASE_REAUTH_INTERVAL_MINUTES=10 to keep 0.2.2's.
    The CLI still asks for a password on every export, secret get --reveal,
    env edit and restore.

Full Changelog: 0.2.2...0.2.3

Don't miss a new dopbase release

NewReleases is sending notifications on new releases.