1.2.9 (2024-12-11)
- config: include version in user agent
- config: simplify backgroundJobInterval
- config: export and use Version const directly
- config: add support for environment variables
- config: cleanup, add env var support #135
1.2.8 (2024-06-14)
- Properly close the response body when requesting metadata service to avoid memory leak
- Enable
pprof
in debug mode - Upgraded to go 1.22
- Switched the usage of gomock from
golang/mock
touber-go/mock
- Explicitly disable CGO when building binary #104
1.2.7 (2023-09-20)
- Explicitly disable CGO when building the agent binary
- Explicitly disable CGO when building binary #104
1.2.6 (2023-09-20)
- Switched to go 1.21
- Upgraded all modules
- Fix installation on Debian 12
1.2.5 (2023-02-28)
- Use Lshortfile flag when using syslog
- Added
-trimpath
build flag
- Update log format and build flag #73
- Add support for installing the agent on AlmaLinux (NOTE: no new version is introduced as there are not any changes made to the binary)
- Add AlmaLinux OS support #32
1.2.4 (2022-09-21)
- For Ubuntu & Debian droplets, the update script will now also check for newer keyring package as well to ensure a fast and smooth GPG key rotation
- update.sh check for newer keyring packages #60
1.2.3 (2022-06-16)
- Droplet Agent now supports dynamically turning the managed ssh keys feature on and off. If the metadata of the droplet suggests that the droplet has the managed ssh keys feature turned on, droplet-agent will attempt to manage the keys that are configured through DigitalOcean platform.
- NOTES: Only keys configured through DigitalOcean platform will be managed by the droplet-agent. Such keys will be marked in the authorized_keys file and should not be manually modified.
- Support dynamically enabling and disabling managed keys feature #58
1.2.2 (2022-05-31)
- Starting from 1.2.0, agent supports managing ssh keys for the customers by attempting to sync the keys presented in the droplet's metadata to the droplet. This prevents customers from being able to remove the keys from the droplet. Therefore, the feature is turned off for now.
- Stop managing droplet ssh keys #57
1.2.1 (2022-03-28)
- Update ssh keys will ignore invalid keys.
- We noticed that some keys configured for a droplet may become deprecated by OpenSSH, which causes validation of those keys to fail.
- Now, instead of failing at the first invalid SSH key, we continue processing in case there are valid SSH keys in the input list.
- This behavior is accomplished by skipping invalid keys, and only processing the valid keys.
- Fixed a bug that can unexpectedly extend the expiry time of a temporary ssh key
1.2.0 (2022-02-03)
- Add support for managing SSH Keys on a droplet. If a droplet is configured with one or more SSH Keys through DigitalOcean, either during droplet creation or added/removed via DigitalOcean APIs, such changes can now be synchronized to the droplet and the keys can be dynamically installed/uninstalled.
- Don't use syslog when systemd is supported
- Support managing ssh keys #44
1.1.1 (2021-11-24)
- Refactored the update script to consume less CPU when checking for newer version.
1.1.0 (2021-10-28)
- Support for custom sshd port. If the sshd service is running on a port different from the default one (22), the agent
will try to fetch the target port by parsing the
sshd_config
. The port number can also be specified via the command line argumentsshd_port
when launching the agent.
- Support Custom SSHD Port #5: Monitor sshd_config changes #41 (house-lee)
- Support Custom SSHD Port #4: Vendor fsnotify #40 (house-lee)
- Support Custom SSHD Port #3: Report Port Number to Metadta #39 (house-lee)
- Support Custom SSHD Port #2: SSH Watcher #38 (house-lee)
- Support Custom SSHD Port #1 #37 (house-lee)
1.0.0 (2021-08-05)
Launch of the droplet-agent
- Adjust log level #30 (house-lee)
- check version should not check against github #29 (house-lee)
- Fix new user missing authorized keys #28 (house-lee)
- Add support for rocky linux #23 (house-lee)
- Inline retry when install failed #21 (house-lee)
- Switch to use apt & yum repository for package management #18 (house-lee)
- Stop updating keys if failed to apply SELinux label #17 (house-lee)
- Fix trust key bug in update.sh #16 (house-lee)
- Ingore imports order #15 (senorprogrammer)
- For Linux environment, use
selinux
package instead of callingrestorecon
command #14 (house-lee) - Should skip the vendor dir #13 (senorprogrammer)
- Include vendor in git repo #12 (house-lee)
- Fix GNUPG check & Bump up version to 0.4.x #11 (house-lee)
- Update readme with test instructions #10 (senorprogrammer)
- trust gpg public keys for given fingerprints #9 (house-lee)
- Use in-memory lock instead of file lock to prevent keys not being able to update #6 (house-lee)
- Add the specs github action #5 (senorprogrammer)
- Add SPDX short identifier to all source files #4 (senorprogrammer)
- Rename dotty agent to droplet agent #3 (house-lee)
- Update the readme and makefile #1 (senorprogrammer)