Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inwx: Wait before generating new TOTP TANs
This is a workaround for go-acme#1608. INWX forbids to re-use the same TOTP twice, but the INWX DNS provider tries to reauthenticate from scratch on each step. I believe that this is not easily implementable with the existing Lego DNS provider interface, so to avoid refactoring that interaction, let's just make the INWX provider wait a bit until a new token is available. A new token is available every 30 seconds. The current workaround is to invoke Lego many more times. Retrying at a higher level is worse than retrying here. Fixes go-acme#1608 Signed-off-by: Günther Noack <[email protected]>
- Loading branch information