You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-secret/man/man1/git-secret-reveal.1.md

2.0 KiB

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 all the files in .gitsecret/paths/mapping.cfg, or the passed pathspecs. You will need to have imported the paired secret-key with one of the public-keys which were used in the encryption. Under the hood, this uses the gpg --decrypt command.

OPTIONS

-f  - forces gpg to overwrite existing files without prompt.
-F  - forces reveal to continue even if a file fails to decrypt.
-d  - specifies `--homedir` option for the `gpg`, basically use this option if you store your keys in a custom location.
-v  - verbose, shows extra information.
-p  - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-P  - preserve permissions of encrypted file in unencrypted file.
-h  - shows help.

ENV VARIABLES

  • SECRETS_GPG_COMMAND changes the default gpg command to anything else
  • SECRETS_GPG_ARMOR is a boolean to enable --armor mode to store secrets in text format over binary
  • SECRETS_DIR changes the default .gitsecret/ folder to another name as documented at git-secret(7)
  • SECRETS_EXTENSION changes the default .secret file extension
  • SECRETS_VERBOSE changes the output verbosity as documented at git-secret(7)
  • SECRETS_PINENTRY changes the gpg --pinentry mode as documented at git-secret(7)

MANUAL

Run man git-secret-reveal to see this note.

SEE ALSO

git-secret-init(1), git-secret-cat(1), git-secret-tell(1), git-secret-add(1), git-secret-hide(1)