forked from hashicorp/vault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ACME tidy to not reference acmeContext (hashicorp#21870)
* Fix ACME tidy to not reference acmeCtx acmeContext is useful for when we need to reference things with a ACME base URL, but everything used in tidy doesn't need this URL as it is not coming from an ACME request. Refactor tidy to remove references to acmeContext, including dependent functions in acme_state.go. Signed-off-by: Alexander Scheel <[email protected]> * Remove spurious log message Signed-off-by: Alexander Scheel <[email protected]> * Draft Tidy Acme Test with Backdate Storage + Backdate Sysxsx * Fixes to ACME tidy testing Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Correctly set account kid to update account status Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Add TestTidyAcmeWithSafetyBuffer Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Add test for disabling tidy operation Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Add acme_account_safety_buffer to auto-tidy config Resolve: hashicorp#21872 Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Add tests verifying tidy safety buffers Co-authored-by: kitography <[email protected]> Signed-off-by: Alexander Scheel <[email protected]> * Add changelog entry Signed-off-by: Alexander Scheel <[email protected]> * Add account status validations and order cleanup tests --------- Signed-off-by: Alexander Scheel <[email protected]> Co-authored-by: kitography <[email protected]> Co-authored-by: Steve Clark <[email protected]>
- Loading branch information
1 parent
d791908
commit 4ec5e22
Showing
7 changed files
with
546 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.