1GIT-SECRET-REVEAL(1)        git-secret 0.5.0-alpha2       GIT-SECRET-REVEAL(1)
2
3
4

NAME

6       git-secret-reveal - decrypts all added files.
7

SYNOPSIS

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

DESCRIPTION

12       git-secret-reveal  - decrypts passed files, or all files considered se‐
13       cret by git-secret.
14
15       Under the hood, reveal uses the gpg --decrypt command and your  private
16       key  (typically  from  your personal keyring in your home directory) to
17       decrypt files.
18
19       Therefore, for this operation to succeed, your  personal  keyring  must
20       contain  a  private key matching one of the public keys which were used
21       to encrypt the secrets -- i.e., one of the public keys in  your  repo´s
22       git-secret keyring when the file was encrypted.
23

OPTIONS

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

ENV VARIABLES

34SECRETS_GPG_COMMAND  changes  the  default  gpg command to anything
35           else
36
37SECRETS_GPG_ARMOR   is   a   boolean   to   enable   --armor   mode
38           https://www.gnupg.org/gph/en/manual/r1290.html  to store secrets in
39           text format over binary
40
41SECRETS_DIR changes the default .gitsecret/ folder to another  name
42           as documented at git-secret(7) https://git-secret.io/
43
44SECRETS_EXTENSION changes the default .secret file extension
45
46SECRETS_VERBOSE  changes  the  output  verbosity  as  documented at
47           git-secret(7) https://git-secret.io/
48
49SECRETS_PINENTRY    changes     the     gpg     --pinentry     mode
50           https://github.com/gpg/pinentry   as  documented  at  git-secret(7)
51           https://git-secret.io/
52
53
54

MANUAL

56       Run man git-secret-reveal to see this document.
57

SEE ALSO

59       git-secret-init(1)    https://git-secret.io/git-secret-init,    git-se‐
60       cret-cat(1)   https://git-secret.io/git-secret-cat,  git-secret-tell(1)
61       https://git-secret.io/git-secret-tell,                git-secret-add(1)
62       https://git-secret.io/git-secret-add,                git-secret-hide(1)
63       https://git-secret.io/git-secret-hide
64
65
66
67sobolevn                          April 2022              GIT-SECRET-REVEAL(1)
Impressum