git-secret/man/man1/git-secret-reveal.1.ronn

40 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-02-21 13:26:17 +00:00
git-secret-reveal - decrypts all added files.
=============================================
## SYNOPSIS
git secret reveal [-f] [-F] [-P] [-d dir] [-p password] [pathspec]...
2016-02-21 13:26:17 +00:00
## DESCRIPTION
`git-secret-reveal` - decrypts all the files in `.gitsecret/paths/mapping.cfg`,
or the passed `pathspec`s.
2018-04-17 04:06:11 +00:00
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.
2016-02-21 13:26:17 +00:00
(See [git-secret(7)](http://git-secret.io/git-secret) for information about renaming the .gitsecret
folder using the SECRETS_DIR environment variable.
2016-02-21 13:26:17 +00:00
## OPTIONS
-f - forces gpg to overwrite existing files without prompt.
-F - forces reveal to continue even if a file fails to decrypt.
2018-04-14 20:07:12 +00:00
-d - specifies `--homedir` option for the `gpg`, basically use this option if you store your keys in a custom location.
2016-02-21 13:26:17 +00:00
-p - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
2018-08-18 14:09:58 +00:00
-P - preserve permissions of encrypted file in unencrypted file.
2016-02-21 13:26:17 +00:00
-h - shows help.
## MANUAL
Run `man git-secret-reveal` to see this note.
2016-02-21 13:26:17 +00:00
## SEE ALSO
2018-04-17 04:06:11 +00:00
[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)