summaryrefslogtreecommitdiffstats
path: root/doc/debugging.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-06-25 11:15:45 +0200
committerWerner Koch <wk@gnupg.org>2014-06-25 11:15:45 +0200
commitb5f95c1b566f9530127f3f34e10d120a951cf428 (patch)
treef58583993538b9d7788bf349700d6502ca1f6a96 /doc/debugging.texi
parentdoc: Update for modern makeinfo. (diff)
downloadgnupg2-b5f95c1b566f9530127f3f34e10d120a951cf428.tar.xz
gnupg2-b5f95c1b566f9530127f3f34e10d120a951cf428.zip
doc: Improve the rendering of the manual
Diffstat (limited to 'doc/debugging.texi')
-rw-r--r--doc/debugging.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/debugging.texi b/doc/debugging.texi
index c83ab1ef9..f26d1aac9 100644
--- a/doc/debugging.texi
+++ b/doc/debugging.texi
@@ -177,10 +177,13 @@ you created the signing request. By running the command
you get a listing of all private keys under control of @command{gpg-agent}.
Pick the key which best matches the creation time and run the command
-
+
+@cartouche
@smallexample
- /usr/local/libexec/gpg-protect-tool --p12-export ~/.gnupg/private-keys-v1.d/@var{foo} >@var{foo}.p12
+ /usr/local/libexec/gpg-protect-tool --p12-export \
+ ~/.gnupg/private-keys-v1.d/@var{foo} >@var{foo}.p12
@end smallexample
+@end cartouche
(Please adjust the path to @command{gpg-protect-tool} to the appropriate
location). @var{foo} is the name of the key file you picked (it should
@@ -188,11 +191,13 @@ have the suffix @file{.key}). A Pinentry box will pop up and ask you
for the current passphrase of the key and a new passphrase to protect it
in the pkcs#12 file.
-To import the created file on the machine you use this command:
+To import the created file on the machine you use this command:
+@cartouche
@smallexample
/usr/local/libexec/gpg-protect-tool --p12-import --store @var{foo}.p12
@end smallexample
+@end cartouche
You will be asked for the pkcs#12 passphrase and a new passphrase to
protect the imported private key at its new location.
@@ -230,7 +235,7 @@ gpg: fatal: WriteConsole failed: Access denied
@end smallexample
@noindent
-The solution is to use the command @command{wineconsole}.
+The solution is to use the command @command{wineconsole}.
Some operations like gen-key really want to talk to the console directly
for increased security (for example to prevent the passphrase from