sap

command module
v0.0.0-...-7ebfa8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README ¶

sap

secure artifact provisioning

🚨 sap is not ready for serious use at this time 🚨

sap is currently under heavy development, don't use it for anything important.

sap is a tool to sign a thing (script, file, etc) with using sigstore and then store the signature, sigstore certicate in a git repository and the rekor transparency log.

It neatly maps the script, signature and public key using the commit sha.

sap will also perform a verification of the signature and public key against the commit sha when running the install command.

Sign

Create a new github token and export it as an environment variable

export GITHUB_AUTH_TOKEN="your-token"
sap sign --script path/to/script.sh --owner jdoe --repo myrepo --author-email [email protected] --author-name jdoe --base-branch main --commit-branch pr-branch --commit-message "Pusshing new script" --pr-text "New script revision" --pr-title "New Script changes"

Install

sap sign --script path/to/script.sh --owner jdoe --repo myrepo script.sh

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL