Add ability to sign with additional certificates
See original GitHub issueVarious other signing tools offer the ability to sign with additional certificates:
Sign command option | Description |
---|---|
/ac file | Adds an additional certificate from file to the signature block. |
Sign command option | Description |
---|---|
–additional-certificates [short: -ac, required: no] | A list of paths to additional certificates to aide in building a full chain for the signing certificate. Azure SignTool will build a chain, either as deep as it can or to a trusted root. This will also use the Windows certificate store, in addition to any certificates specified with this option. Specifying this option does not guarantee the inclusion of the certificate, only if it is part of the chain. To include multiple certificates, specify this option mulitple times, such as -ac file1.cer -ac file2.cer. The files specified must be public certificates only. They cannot be PFX, PKCS12 or PFX files. |
It would be great if jsign
also had this ability.
Issue Analytics
- State:
- Created a year ago
- Comments:21 (10 by maintainers)
Top Results From Across the Web
Certificate-based signatures, Adobe Acrobat
Certifying and signing documents ... The Sign > Work with Certificates panel lets you apply two types of certificate-based signatures. You can ...
Read more >Digital signatures and certificates - Microsoft Support
Signing certificate To create a digital signature, you need a signing certificate, which proves identity. When you send a digitally-signed macro or document, ......
Read more >Digitally Sign using CAC Certificates - YouTube
Digitally Sign using CAC Certificates. 99K views · 5 years ago ... more. Isaac Bancroft. 525. Subscribe. 573. Share. Save. Report ...
Read more >Document Signing Certificates: How to Install and Use - Entrust
1. Insert your token into a USB port. · 2. In the notification email sent to you by Entrust, click the link to...
Read more >Certificates - Support - Apple Developer
Users will no longer be able to run apps that have been signed with this certificate. You must distribute a new version of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Because the dummy certificate isn’t used for signing, it’s simply appended to the certificate store embedded within the signature. This store is used by Windows to link the signing certificate with the CA certificate (this is necessary if some of the intermediate certificates are unknown to Windows). The dummy certificate doesn’t participate in the certificate chain and is invisible in the file properties. The signature is simply larger.
The addUnauthenticatedBlob feature is slightly different, it adds an entry into the unauthenticated attributes table of the signature. That’s more compact that injecting a whole certificate, but it’s visible in the file properties
No I’m still pondering if /ac is worth implementing, I’m just looking for a good use case. I’m tempted to extend the semantic of the
certfile
parameter and simply add all the certificates in this file even if they do not participate in the certificate chain.@MrAlex94 Thank you for the clarification. osslsigncode supports the
-addUnauthenticatedBlob
parameter to inject bytes into the signature that can be altered without invalidating it. That’s a simpler alternative than fiddling with the additional certificates. This is a feature I’d like to implement in Jsign as well.