4x0v7/Verify Git object

Verify a git object (commit/tag) signature

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Feb 20, 2022
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: 4x0v7/ghaction-verify-gitobj@c660bb181c34add48b7e6d99df581e2a89a61ab4 # v0.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repogit repository to validatenoself
refA git ref, eg. refs/heads/main, HEAD, v0.1.0, 2965f6byes
tagan annotated or lightweight tagno
pubkeyPublic key of the object signer which validates the signatureno
pubkey_urlURL to a public key file (ex. https://github.com/web-flow.gpg)nohttps://github.com/web-flow.gpg
pubkey_url_hashSHA256 hash of the public key file (generate by hashing the public key after inspecting it)no
namedescription
signedbool of result
refgit ref that was passed in to verify
commitgit commit sha of ref
signer_nameName of the signer
signer_emailEmail address of the signer
signature_dateDate the signature was made in ISO-8601 format
signer_fingerprintSigner gpg key full fingerprint
signer_longidSigner gpg key in long format