Repository navigation
v0.7.0
What's new
- Docker image. Every release now publishes
ghcr.io/nexus421/dirlfor amd64 and arm64, as0.7.0andlatest. docker-compose.yml runs it as a real install, restricted like the systemd unit: read-only, no capabilities, no swap, the port only on127.0.0.1. You bringconfig.jsonand your reverse proxy, see Deployment. CI starts the image on every push and goes through a whole first start against it. - Snippets with variables.
{{Container}}or{{Lines:100}}in a command opens a small form above the terminal with one field per variable, the default prefilled and a live preview with every value marked. Go templates like{{.Names}}stay as they are. Snippets with variables carry a blue pill on the snippets page and{ }on their button. - Snippets ask before they send. A snippet that does not run immediately shows its command above the terminal with Send and Cancel. A button that runs on the click shows ⏎.
- Actions mode for phones. On touch screens the terminal page starts in Actions mode: the terminal only shows output, Enter, Cancel and a panel with every snippet are the input, so the on-screen keyboard stays closed. A toggle switches to the classic terminal, remembered per device.
- Ready-made tmux snippets. Start tmux and Stop tmux can be added on the snippets page, a long job then survives a dropped connection.
- Install as an app. Dirl can be installed from the browser, still without a service worker or any cache.
Security
- With
oidc.allowedSubjectsset, only those users can create or restore the vault. An empty list keeps first come, first served. - Access requests always show the subject, a display name already taken by an allowed user is marked, display names are cleaned and cut to 80 characters.
/login,/auth/start,/auth/callbackand/healthzare matched exactly instead of by prefix.- The reasons of a denied login and of a failed SSH connect are cleaned before they are logged or shown. A line break in them could forge a log line.
- A flood of login callbacks fails at once when all identity provider slots are taken instead of holding threads that serve terminals.
- Every file route refuses a host marked jump host only, not just the listing.
- The pages before the login no longer show the version.
Fixes
- A trailing slash of the issuer is dropped before the discovery document is fetched, as Authentik needs it.
- A query in the authorization endpoint is kept when the login parameters are added.
- Sealing the vault forgets the status of every host, the overview no longer shows old values after the unlock.
- The Enter button of the action bar sends a real Enter, and xterm's answers reach the host in Actions mode.
- Password managers no longer offer to fill the variable fields.
Upgrading
Replace dirl.jar and restart, vault and config stay as they are. Snippets that do not run immediately used to type their command only. They now ask with Send and Cancel first. With oidc.allowedSubjects set, only those users can create a vault, which matters only for an instance without one.