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

response returns errors when signer2 provided but signing fails #40

Closed

Conversation

James-Pickett
Copy link
Contributor

No description provided.

@@ -97,8 +97,10 @@ func (o *OuterChallenge) Respond(signer crypto.Signer, signer2 crypto.Signer, re

var signature2 []byte
if signer2 != nil {
//nolint: errcheck - we allow nil signer2
signature2, _ = echelper.SignWithTimeout(signer2, innerResponse, signingTimeoutDuration, signingTimeoutInterval)
signature2, err = echelper.SignWithTimeout(signer2, innerResponse, signingTimeoutDuration, signingTimeoutInterval)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want this? Given the flakiness of the TPMs, I thought the old behavior was correct, but maybe needs a better comment.

@James-Pickett James-Pickett deleted the james/enforce-sig2-challenge branch April 18, 2024 17:32
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