项目作者: GabrielAcostaEngler

项目描述 :
GitHub Action that uses signtool to code sign files recursively if needed, this action requires a PFX format code signing certificate.
高级语言: TypeScript
项目地址: git://github.com/GabrielAcostaEngler/signtool-code-sign.git
创建时间: 2021-02-23T13:33:37Z
项目社区:https://github.com/GabrielAcostaEngler/signtool-code-sign

开源协议:MIT License

下载


Signtool-Code-Signing

build-test

This action will code sign files from the given folder, this can be done recursively if needed.
The action uses a base64 encoded PFX certificate to sign files by adding the certificate to the store and then use signtool to do the code signing.

All inputs regarding the Certificate except description should be added via repository/organization secrets.

Thanks to Dirk Lemstra for providing a base for me to create this action.

Inputs

certificate

Required
Description - The base64 encoded certificate.

cert-password

Required
Description - Certificate Password. Used to add to the machine store.

cert-sha1

Required
Description - SHA1 hash for the certificate (Thumbprint of the certificate).

cert-description

Description - Add a desciption to the files being signed.

folder

Required
Description - The folder that contains the libraries to sign.

recursive

Description - Recursively search for DLL files.
Default - ‘false’

timestamp-server

Description - Url of the timestamp server.
Default - ‘http://timestamp.verisign.com/scripts/timstamp.dll

Usage

  1. runs-on: windows-latest
  2. steps:
  3. uses: GabrielAcostaEngler/signtool-code-sign@main
  4. with:
  5. certificate: '${{ secrets.CERTIFICATE }}'
  6. cert-password: '${{ secrets.PASSWORD }}'
  7. cert-sha1: '${{ secrets.CERTHASH }}'
  8. cert-description: 'foo'
  9. folder: 'path/to/folder'
  10. recursive: true
  11. timestamp-server: 'http://timestamp.digicert.com'

License

This project is released under the MIT License