-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use GetDigestOIDForSignatureAlgorithm
to set the digest algorithm OID
#18
Conversation
* set digest alg oid based off incoming timestamp hash alg Signed-off-by: Meredith Lancaster <malancas@github.com> * typo Signed-off-by: Meredith Lancaster <malancas@github.com> * temporarily replace dep Signed-off-by: Meredith Lancaster <malancas@github.com> * remove accidentally committed changes Signed-off-by: Meredith Lancaster <malancas@github.com> * spaces Signed-off-by: Meredith Lancaster <malancas@github.com> * update replace statement Signed-off-by: Meredith Lancaster <malancas@github.com> --------- Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
GetDigestOIDForSignatureAlgorithm
to set the digest algorithm OID
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #18 +/- ##
==========================================
- Coverage 66.45% 66.15% -0.31%
==========================================
Files 3 3
Lines 322 325 +3
==========================================
+ Hits 214 215 +1
- Misses 70 71 +1
- Partials 38 39 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Can you check the lint errors and test coverage? |
Sure, I'll take a look |
Reviewing the linter failure, it looks like it could be due to the linter GitHub Action being out of date. Updating to Reviewing the codecov failures, it looks like most of them are responding to code changes that fix typos. Do you know if the codecov warnings can be disabled for these lines? |
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
I updated the golangci-lint Action to the latest version, I think an older version was causing the linting failure. I also pushed a codecov config that disables alerts for patching. The alerts seem a bit noisy since they were mostly around line changes related to typo corrections. |
@vanbroup just wanted to follow up around the linter and codecov updates as resolution to the workflow failures. |
Small follow up PR to digitorus/pkcs7#11. This pull request uses
pkcs7.GetDigestOIDForSignatureAlgorithm
to set the digest algorithm used in the signing process. Currently the digest algorithm is hardcoded to SHA-256. This PR also fixes a few small typos.