-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: parse all certificates from multi-signed files (#95)
* feat: parse multiple certificates in section Multiple certificates are not, like the current code assumes, appended; instead, a specific (unsigned) attribute is nested inside the PKCS7 struct that contains the next PKCS7 struct. Also improve the returned certificates to include structs for all parsed, PKCS7 structs. * fix: Extract signature algorithm from authenticode The signature algorithm listed in the signing certificate is not necessarily the signature algorithm used for the file signature. Extract the algorithm for the file signature from the authemticode instead.
- Loading branch information
1 parent
8846571
commit f9f7d40
Showing
6 changed files
with
231 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.