action-hsm-sign/action.yml

26 lines
781 B
YAML

name: 'HSM Signing'
description: 'Signs using HSM'
author: 'lobo'
inputs:
files:
description: 'Files to sign'
required: true
user_pin:
description: 'User pin for HSM on build server'
required: true
slot:
description: 'HSM slot used for signing'
required: true
default: 3
public_key:
description: 'URL to PEM format public key. Specify only if uploading to sigstore'
required: false
uhub_location:
description: 'If HSM is attached to software controlled power hub, location of hub (-l parameter of uhubctl)'
required: false
uhub_port:
description: 'If HSM is attached to software controlled power hub, port to power on, then off (-p parameter of uhubctl)'
required: false
runs:
using: 'docker'
image: 'Dockerfile'