Skip to content

Return an error when having an expired SVID when rotating the agent SVID#2065

Merged
amartinezfayo merged 2 commits intospiffe:masterfrom
amartinezfayo:agent-expired-shutdown
Jan 25, 2021
Merged

Return an error when having an expired SVID when rotating the agent SVID#2065
amartinezfayo merged 2 commits intospiffe:masterfrom
amartinezfayo:agent-expired-shutdown

Conversation

@amartinezfayo
Copy link
Member

Agents should shutdown when having an expired SVID during agent SVID rotation.
The current behavior continues trying to rotate using an expired SVID, which will never succeed without going through re-attestation.
This is a regression introduced in v0.12.0. Previous versions would shutdown properly.

Fixes #2061.

Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
Copy link
Member

@azdagron azdagron left a comment

Choose a reason for hiding this comment

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

\o/

@amartinezfayo amartinezfayo merged commit ba27669 into spiffe:master Jan 25, 2021
@azdagron azdagron added this to the 0.12.2 milestone Mar 23, 2021
azdagron pushed a commit to azdagron/spire that referenced this pull request Mar 30, 2021
…VID (spiffe#2065)

Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
@amartinezfayo amartinezfayo deleted the agent-expired-shutdown branch September 1, 2021 14:14
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.

Agent will never be stopped by SVID expired

2 participants