GIT-SECRET-REVEAL(1)

πŸ“¦
version 0.5.0 Β· 3 versions
, in debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ‘‘ GIT-SECRET-REVEAL(1) πŸ‘‘

okay bestie, welcome to the git-secret manual, version 0.5.0-alpha2 ✨ this one's all about git-secret-reveal, and it's genuinely iconic.


✨ NAME ✨

git-secret-reveal β€” decrypts all added files. πŸ’–


🌸 SYNOPSIS 🌸

git secret reveal [-f] [-F] [-P] [-v] [-d dir] [-p password] [pathspec]...

πŸ’… DESCRIPTION πŸ’…

git-secret-reveal decrypts the files you pass it, or literally every file that git-secret considers secret. no cap.

Under the hood, reveal uses the gpg --decrypt command and your private key (typically from your personal keyring in your home directory) to decrypt files. πŸ”

So for this whole operation to succeed, your personal keyring must contain a private key matching one of the public keys that were used to encrypt the secrets β€” i.e., one of the public keys in your repo's git-secret keyring at the time the file was encrypted. no matching key, no reveal, sorry bestie 😭


πŸŽ€ OPTIONS πŸŽ€

  • -f β€” forces gpg to overwrite existing files without prompt. it's giving decisive πŸ’…
  • -F β€” forces reveal to continue even if a file fails to decrypt. resilience era 🫢
  • -d β€” specifies the --homedir option for the gpg, basically use this option if you store your keys in a custom location. 🏠
  • -v β€” verbose, shows extra information. she's chatty, we love her ✨
  • -p β€” specifies password for noinput mode, adds the --passphrase option for gpg. 🀫
  • -P β€” preserve permissions of the encrypted file in the unencrypted file. matching energy, obsessed πŸ‘‘
  • -h β€” shows help. always here for you 🌸

πŸ¦‹ ENV VARIABLES πŸ¦‹


πŸ“– MANUAL πŸ“–

Run man git-secret-reveal to see this document. yes, the manual tells you how to read the manual. main character energy fr fr πŸ’€


πŸ’– SEE ALSO πŸ’–


shoutout to sobolevn for writing this one, and to April 2022 for the timestamp β€” this page is brought to you by git-secret 0.5.0-alpha2, slay πŸ’…βœ¨