-
Notifications
You must be signed in to change notification settings - Fork 29
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: fix signerInfo.authenticSigningTime
according to spec
#211
fix: fix signerInfo.authenticSigningTime
according to spec
#211
Conversation
Signed-off-by: Patrick Zheng <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #211 +/- ##
==========================================
+ Coverage 90.43% 90.88% +0.45%
==========================================
Files 26 26
Lines 1777 1778 +1
==========================================
+ Hits 1607 1616 +9
+ Misses 120 112 -8
Partials 50 50 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
signerInfo.authenticSigningTime
according to spec
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.
LGTM
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.
LGTM
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.
LGTM
This PR fixes
signerInfo.AuthenticSigningTime
to return the correct results.According to spec: https://github.com/notaryproject/specifications/blob/main/specs/signature-specification.md#signing-time--authentic-signing-time:
authentic signing time
is a valid concept only under signing schemenotary.x509.signingAuthority
. Therefore, for other signing schemes, this function should return an error.Resolves #38