1SYMCRYPTRUN(1) GNU Privacy Guard SYMCRYPTRUN(1)
2
3
4
6 symcryptrun - Call a simple symmetric encryption tool
7
9 symcryptrun --class class --program program --keyfile keyfile
10 [--decrypt|--encrypt] [inputfile]
11
12
14 Sometimes simple encryption tools are already in use for a long time
15 and there might be a desire to integrate them into the GnuPG framework.
16 The protocols and encryption methods might be non-standard or not even
17 properly documented, so that a full-fledged encryption tool with an
18 interface like gpg is not doable. symcryptrun provides a solution: It
19 operates by calling the external encryption/decryption module and pro‐
20 vides a passphrase for a key using the standard pinentry based mecha‐
21 nism through gpg-agent.
22
23 Note, that symcryptrun is only available if GnuPG has been configured
24 with '--enable-symcryptrun' at build time.
25
26
27
28 For encryption, the plain text must be provided on STDIN or as the
29 argument inputfile, and the ciphertext will be output to STDOUT. For
30 decryption vice versa.
31
32 CLASS describes the calling conventions of the external tool. Cur‐
33 rently it must be given as 'confucius'. PROGRAM is the the full file‐
34 name of that external tool.
35
36 For the class 'confucius' the option --keyfile is required; keyfile is
37 the name of a file containing the secret key, which may be protected by
38 a passphrase. For detailed calling conventions, see the source code.
39
40
41 Note, that gpg-agent must be running before starting symcryptrun.
42
43
44 The following additional options may be used:
45
46
47 -v
48
49 --verbose
50 Output additional information while running.
51
52
53 -q
54
55 --quiet
56 Try to be as quiet as possible.
57
58
59 --homedir dir
60 Set the name of the home directory to dir. If his option is not
61 used, the home directory defaults to `~/.gnupg'. It is only
62 recognized when given on the command line. It also overrides
63 any home directory stated through the environment variable
64 `GNUPGHOME' or (on W32 systems) by means on the Registry entry
65 HKCU\Software\GNU\GnuPG:HomeDir.
66
67
68
69 --log-file file
70 Append all logging output to file. Default is to write logging
71 informaton to STDERR.
72
73
74
75 The possible exit status codes of symcryptrun are:
76
77
78 0
79 Success.
80
81 1
82 Some error occured.
83
84 2
85 No valid passphrase was provided.
86
87 3
88 The operation was canceled by the user.
89
90
91
93 gpg(1), gpgsm(1), gpg-agent(1),
94
95 The full documentation for this tool is maintained as a Texinfo manual.
96 If GnuPG and the info program are properly installed at your site, the
97 command
98
99 info gnupg
100
101 should give you access to the complete manual including a menu struc‐
102 ture and an index.
103
104
105
106
107GnuPG 2.0.8 2008-01-24 SYMCRYPTRUN(1)