Skip to content

Conversation

@TheLydonKing
Copy link
Collaborator

@TheLydonKing TheLydonKing commented Jan 21, 2025

Release Notes:

  • Use Current Key creation time to calculate expiration of keys instead of Previous Key Creation Time.

Minor BugFix for Key Phase expiry being based on the previous keys creation time. This is incorrect as this reflects the previous rotation time and therefore the key will always be expired.

We need to base the expiry time on the creation time of the current key as that's the latest rotation time.

closes #114

@TheLydonKing TheLydonKing self-assigned this Jan 21, 2025
@TheLydonKing TheLydonKing linked an issue Jan 21, 2025 that may be closed by this pull request
@github-actions
Copy link

JaCoCo code coverage report - scala:2.12.17

File Coverage [41.87%]
AwsSecretsManagerKeyConfig.scala 41.87%
Total Project Coverage 63.54% 🍏

Copy link
Collaborator

@dk1844 dk1844 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, I did not realize this issue.
Makes sense like this (just read the code)

@TheLydonKing TheLydonKing merged commit 52c2f24 into master Jan 21, 2025
5 of 8 checks passed
@TheLydonKing TheLydonKing deleted the feature/114-fix-isexpired-for-keyphaseout branch January 21, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix isExpired for keyphaseOut

3 participants