Skip to content

v1.10.3

Choose a tag to compare

@github-actions github-actions released this 06 Oct 03:22
· 174 commits to main since this release

A fix release. Moving or cloning a connection entry no longer loses its stored credentials, the Docker image copes with a database outside the default path, and the installer restarts guacd on upgrade.

Moving and cloning entries keeps their credentials (#232)

Moving an entry to another folder lost its password. The move was done in the browser by creating a copy from the edit form and deleting the original, and the browser is never sent an entry's secrets, so the copy arrived without its password, private key, jump host credentials, Proxmox token or container password. A $variable reference in the password field was lost the same way, and the original was deleted for good. Clone had the same problem. Thanks Jon for the report, and sorry to everyone who had to re-enter passwords.

Both now happen on the server, from the entry as stored:

  • Move (the "Move to folder" option in Edit) writes the complete entry to the new folder and only then removes the original. If removing it fails, you are told the entry now exists in both folders.
  • Clone copies the complete entry under its new name, then applies your edits. Credentials you don't retype are kept.

Neither will overwrite an existing entry of the same name; Vault itself enforces this. Both are admin-only, like every other change to entries, and both appear in the address book audit log. They are also available to API users as POST .../entries/{entry}/move and .../copy; see the API reference.

Selecting several entries and moving them together is being built for the next release.

Docker: custom database path (#240)

The container's entrypoint decided whether this was a first run by looking for a database at /opt/rustguac/data/rustguac.db. With db_path pointing anywhere else, for example a Kubernetes persistent volume, every start tried to create the admin key again and failed with UNIQUE constraint failed: admins.name. The entrypoint now uses a new rustguac add-admin --if-none, which reads db_path from the config and creates the admin only when no admin exists yet. Thanks @hit-rich for the report.

Installer restarts guacd (#239)

An upgrade with install.sh rebuilt guacd but kept the old one running, because only rustguac was restarted. guacd is now restarted too, ahead of rustguac, whenever it is running. Contributed by @pletch.

Other changes

  • The Microsoft Entra ID guide has a troubleshooting entry for "Signature verification failed": an app created under Enterprise applications instead of App registrations signs tokens with a key the standard key set does not contain (#237). The log line added in 1.10.2 now points straight at it.
  • Dependency updates: tokio-rustls 0.26.6, pageant 0.2.3 and rand 0.10.3.