This release contains a large number of commits, bug fixes, and breaking changes.
The changes will migrate the database automatically, if this fails a backup will have been made, restore to the old version and open an issue.
Notable changes:
- Users can now have multiple devices
- Configuration file has slightly changed how the tunnel web server address is denoted
Breaking changes:
Webserver.Tunnel.ListenAddress
has been replaced byWebserver.Tunnel.Port
as a user should not specify any listen address that is outside the tunnel IP address
Changes:
registration
command now allows for-username
to specify an existing user to generate a token that will add a device to said userdevices
command uses-address
to specify individual devices and-username
to target multiple devices
Features:
- Wag now has
users
cli command, this allows for management of users MFA, resetting, locking, and unlocking of associated devices. users
has-reset-mfa
to re-show users their MFA detailsregistration
now has an-overwrite
directive to replace the public key of an existing user device (rather than having to generate a whole new token- Wag now has
gen-config
command to interactively create a configuration file with some sane defaults
Bug Fixes:
- Remove LastPacketTime entry when device is deleted (minor bug)