1GPG-PRESET-PASSPHRASE(1)       GNU Privacy Guard      GPG-PRESET-PASSPHRASE(1)
2
3
4

NAME

6       gpg-preset-passphrase - Put a passphrase into gpg-agent's cache
7

SYNOPSIS

9       gpg-preset-passphrase [options] [command] keygrip
10
11

DESCRIPTION

13       The  gpg-preset-passphrase is a utility to seed the internal cache of a
14       running gpg-agent with passphrases.  It is mainly useful for unattended
15       machines,  where  the  usual  pinentry  tool  may  not  be used and the
16       passphrases for the to be used keys are given at machine startup.
17
18       Passphrases set with this utility  don't  expire  unless  the  --forget
19       option is used to explicitly clear them from the cache --- or gpg-agent
20       is either restarted or reloaded (by sending a SIGHUP  to  it).   It  is
21       necessary  to  allow  this  passphrase presetting by starting gpg-agent
22       with the --allow-preset-passphrase.
23
24
25
26
27       gpg-preset-passphrase is invoked this way:
28
29         gpg-preset-passphrase [options] [command] keygrip
30
31       keygrip is a 40 character string of hexadecimal characters  identifying
32       the  key  for which the passphrase should be set or cleared.  This key‐
33       grip is listed along with the  key  when  running  the  command:  gpgsm
34       --dump-secret-keys. One of the following command options must be given:
35
36
37       --preset
38              Preset a passphrase. This is what you usually will use. gpg-pre‐
39              set-passphrase will then read the passphrase from stdin.
40
41
42       --forget
43              Flush the passphrase for the given keygrip from the cache.
44
45
46
47              The following additional options may be used:
48
49
50       -v
51
52       --verbose
53              Output additional information while running.
54
55
56       -P string
57
58       --passphrase string
59              Instead of reading the passphrase from stdin, use  the  supplied
60              string as passphrase.  Note that this makes the passphrase visi‐
61              ble for other users.
62
63

SEE ALSO

65       gpg(1), gpgsm(1), gpg-agent(1), scdaemon(1)
66
67       The full documentation for this tool is maintained as a Texinfo manual.
68       If  GnuPG and the info program are properly installed at your site, the
69       command
70
71         info gnupg
72
73       should give you access to the complete manual including a  menu  struc‐
74       ture and an index.
75
76
77
78
79
80
81
82
83GnuPG 2.0.8                       2008-01-24          GPG-PRESET-PASSPHRASE(1)
Impressum