0.1.1 • Published 2 years ago
zxp-sign v0.1.1
zxp-sign
Command-line utility to self-sign a ZXP which wraps zxp-sign-cmd. The purpose of this utility is to easily sign from GitHub Actions.
Usage
npx zxp-sign \
-i path/to/extension/ \
-o path/to/extension.zxpArguments
--inputor-i- Path to directory with contents for ZXP.--outputor-i- Path to the output zxp extension.--timestampor-t- Optional, timestamp URL for signing (default:"http://timestamp.digicert.com/")
Environment Variables
These things can be set in CI as environment variables.
ZXP_INPUT- Same as--inputargumentZXP_OUTPUT- Same as--outputargumentZXP_TIMESTAMP- Same as--timestampargumentZXP_CERT_COUNTRY- (required) Country for cert (e.g., "US")ZXP_CERT_PROVINCE- (required) Province or State for cert (e.g., "CA")ZXP_CERT_ORG- (required) Organization nameZXP_CERT_NAME- (required) Certificate name (e.g., the extension id)ZXP_CERT_PASSWORD- (required) Cert passwordZXP_CERT_OUTPUT- Optional cert output path (default:${ZXP_CERT_NAME}-cert)