This repository has been archived by the owner on Feb 18, 2023. It is now read-only.
Put the rotation logic in its own function so that the defer'd function to remove the lockfile isn't directly under main(). Hopefully this solves some corner cases where the lockfile is left dangling during an unclean credential update.
Add a bit more debug logging so we have a better idea of what's happening
Update dependency versions
Update Makefile to reduce compiled binary size