Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic in signCSRs if no attested node record found #684

Merged
merged 2 commits into from
Jan 23, 2019

Conversation

azdagron
Copy link
Member

@azdagron azdagron commented Jan 22, 2019

PR adds a check that there is an attested node entry before trying to use it while exercising signCSR to sign a a Node SVID.

Fixes #682

@azdagron azdagron changed the title ix panic in signCSRs if no attested node record found Fix panic in signCSRs if no attested node record found Jan 22, 2019
@azdagron azdagron force-pushed the fix-sign-csr-panic branch 3 times, most recently from 0bb39e9 to a196f01 Compare January 22, 2019 18:11
Signed-off-by: Andrew Harding <azdagron@gmail.com>
Copy link
Member

@evan2645 evan2645 left a comment

Choose a reason for hiding this comment

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

Thank you @azdagron !

@azdagron azdagron merged commit 83d16bd into spiffe:master Jan 23, 2019
@azdagron azdagron deleted the fix-sign-csr-panic branch January 23, 2019 02:34
@evan2645 evan2645 mentioned this pull request Feb 4, 2019
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.

2 participants