-
Notifications
You must be signed in to change notification settings - Fork 547
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
Set go to min 1.21 and update dependencies #3327
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3327 +/- ##
==========================================
+ Coverage 30.31% 30.32% +0.01%
==========================================
Files 155 155
Lines 9919 9921 +2
==========================================
+ Hits 3007 3009 +2
Misses 6462 6462
Partials 450 450
|
049902f
to
539a90a
Compare
@@ -117,5 +117,5 @@ func (c *TSAClient) GetTimestampResponse(tsq []byte) ([]byte, error) { | |||
tsStruct.Time = c.Time | |||
} | |||
|
|||
return tsStruct.CreateResponse(c.CertChain[0], c.Signer) | |||
return tsStruct.CreateResponseWithOpts(c.CertChain[0], c.Signer, hashAlg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are different hash algs, this is for generating the hash for the signed timestamp structure. Let’s just hardcode to sha256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it, thanks
Signed-off-by: cpanato <ctadeu@gmail.com>
Signed-off-by: cpanato <ctadeu@gmail.com>
Signed-off-by: cpanato <ctadeu@gmail.com>
Signed-off-by: cpanato <ctadeu@gmail.com>
Signed-off-by: cpanato <ctadeu@gmail.com>
Signed-off-by: cpanato <ctadeu@gmail.com>
Summary