Skip to content

sfuhrm/gpg-sign-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpg sign action

Docker Image CI License

This action detach-signs files in a path using GPG (GNU Privacy Guard) in a filesystem path. As a result you'll get .asc signatures in your path for every file.

Inputs

gpg-key

Required The private asymmetric GPG key to sign the files with. Typically has the form

-----BEGIN PGP PRIVATE KEY BLOCK-----
...
-----END PGP PRIVATE KEY BLOCK-----

This key should be stored in a secret variable.

gpg-passphrase

Required The passphrase to unlock the gpg-key.

This key should be stored in a secret variable.

path

Required The filesystem path where to gpg-sign the files. Note that this path must be in your github working directory.

Example usage

uses: sfuhrm/gpg-sign-action@main
with:
    path: my-file-path
    gpg-key: "${{ secrets.GPG_KEYFILE }}"
    gpg-passphrase: "${{ secrets.GPG_PASSPHRASE }}"

About

Experimental Github action to sign files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published