git-secret/docs/_posts/2020-09-20-git-secret-reveal.md
Josh Smailes eafd3fc531
Issue548 gh pages in master (#616)
* Migrate docs to master branch, add action to deploy to pages branch on push

* Update docs, build pipeline to reflect new method of updating gh-pages

* Removed make build-gh-pages from post-commit hook

Co-authored-by: Josh Rabinowitz <joshr@joshr.com>
2020-12-15 18:49:51 +03:00

1.6 KiB

layout title date permalink categories
post git-secret-reveal 2020-09-20 15:12:56 -0400 git-secret-reveal command

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.

(See git-secret(7) for information about renaming the .gitsecret folder using the SECRETS_DIR environment variable.

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)