Repository navigation
v1.1.0
Dirl 1.1.0 closes the findings of a second security audit and makes setup and everyday use a little simpler. Config
and vault stay as they are, nothing needs to be migrated.
Security
- A key file that no longer fits the unlock mode (after a switch to passphrase mode, a new key file or a restored
backup) kept opening the vault. The unlock page now explains the mismatch and offers to re-encrypt, the old key file
then opens nothing on the server any more. Nothing changes without that click, nothing is lost as long as you know
the passphrase. - A compromised server could crash Dirl with a huge directory listing, which restarted it sealed. Listings are now
capped at 16 MiB and end with a warning that the server may be compromised. - Uploads into a directory other users can write to no longer follow or write into files planted there. The temporary
file has a random name, and a failed rename never deletes the target. - A request still on its way when a user is removed or logs out no longer takes effect, for example granting access
or writing further files of an upload. - Escape sequences in log messages, for example from a server's error text, show as harmless text instead of acting
in the terminal of whoever reads the log. - Snippets with hidden characters (control characters, characters that reorder text such as U+202E) are refused, so
an imported snippet does what its preview shows. - The systemd unit keeps Dirl out of swap, so the decrypted keys never reach the disk.
New
- Every host page offers a command that puts its
authorized_keysline in place. It replaces an older line of the
same key and keeps all other keys. - The host overview updates itself without reloading the page, every second while hosts are connecting. The scroll
position stays. - The round trip is the smallest of three measurements, the first one after a login was often far too high.
- File uploads get the same drop zone as the snippet import, for several files at once.
- The systemd install needs four commands: the unit runs Dirl with a user of its own that systemd creates, and hands it
the config throughLoadCredential.
Smaller changes
- Cards next to each other have the same height.
- The quick start names the OIDC callback URL, the documentation is about half as long and starts each page with
the shortest way. - The Gradle wrapper checks the downloaded Gradle against its checksum.
Upgrading from 1.0.0
Replace dirl.jar or pull the new image and restart.
With systemd your current unit keeps working. Add MemorySwapMax=0 to it to keep Dirl out of swap. The new unit with
the dynamic user is meant for new installs, see Deployment.
In key file mode it reads the key through LoadCredential, see
Unlocking.
Downloads
dirl.jarwith its SHA-256 sumdirl.jar.sha256, runs on Java 21 or newer- Docker image
ghcr.io/nexus421/dirl:1.1.0, alsolatest, see Deployment