[go: up one dir, main page]

Skip to content

Create signatures of files with a private key using GitHub Actions

Notifications You must be signed in to change notification settings

FKLC/sign-files-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sign Files GitHub Action

With this Action, you can create signatures of files in the target directory just by setting your private key.

Inputs

Name Description Required Default
privateKey The private key that will be used to sign the files Yes null
passphrase Private key passphrase No null
files Files to sign. Glob pattern(s) Yes null
algorithm Algorithm used to sign the files No 'RSA-SHA256'
extension File extension that will be added at the end of file names No '.sig'
outputFolder Target folder to create signature files in No './'
encoding Encoding type of signature No null

Usage Example with All Inputs

uses: 'FKLC/sign-files-action@v1.0.0'
with:
  privateKey: ${{ secrets.PRIVATE_KEY }}
  passphrase: ${{ secrets.PASSPHRASE }}
  algorithm: 'RSA-SHA256'
  extension: '.sig'
  outputFolder: './'
  files: |
    builds/**
    data/**

About

Create signatures of files with a private key using GitHub Actions

Resources

Stars

Watchers

Forks

Packages

No packages published