mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-08 19:10:31 +00:00
4a3877b486
* -F (force even if gpg fails) option for hide and reveal * allow 'reveal' to decrypt a subset of files. * update and regen man pages * man pages update and improvements * text about why all files should be hidden at once * add _warn() and _warn_or_abort() * tests for -F option * glob source .sh files in Makefile better * add comment about issue #238. cleanup error msg. * test exact case in #253 * disable gnupg doc building on ubuntu-rolling
40 lines
1.4 KiB
Markdown
40 lines
1.4 KiB
Markdown
git-secret-reveal - decrypts all added files.
|
|
=============================================
|
|
|
|
## SYNOPSIS
|
|
|
|
git secret reveal [-f] [-F] [-P] [-d dir] [-p password] [pathspec]...
|
|
|
|
|
|
## DESCRIPTION
|
|
`git-secret-reveal` - decrypts all the files in `.gitsecret/paths/mapping.cfg`,
|
|
or the passed `pathspec`s.
|
|
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.
|
|
|
|
(See [git-secret(7)](http://git-secret.io/git-secret) for information about renaming the .gitsecret
|
|
folder using the SECRETS_DIR environment variable.
|
|
|
|
|
|
## 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.
|
|
-p - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
|
|
-P - preserve permissions of encrypted file in unencrypted file.
|
|
-h - shows help.
|
|
|
|
|
|
## MANUAL
|
|
|
|
Run `man git-secret-reveal` to see this note.
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
[git-secret-init(1)](http://git-secret.io/git-secret-init), [git-secret-cat(1)](http://git-secret.io/git-secret-cat),
|
|
[git-secret-tell(1)](http://git-secret.io/git-secret-tell), [git-secret-add(1)](http://git-secret.io/git-secret-add),
|
|
[git-secret-hide(1)](http://git-secret.io/git-secret-hide)
|