Red Hat Bugzilla – Bug 471027
gnupg2: Manpage is misleading -- ` is not `
Last modified: 2018-04-11 03:33:57 EDT
Created attachment 323170 [details]
patch fixing gpg-agent man page
Description of problem:
Author of the manpage for gpg-agent was obviously persuaded that when he writes ` to the source roff text, he gets ` on the output of man program. It is not so, so gpg-agent(1) shows things like this (copied from the gnome-terminal):
eval ‘gpg-agent --daemon‘
which is not the same and when copied blindly to ~/.xinitrc produces incomprehensible error messages ("‘gpg-agent command not found, which makes most people wonder, how it is possible when they have /usr/bin/agent in their $PATH).
The generated text is exactly:
[matej@hubmaier ~]$ echo 'eval ‘gpg-agent --daemon‘' |xxd
0000000: 6576 616c 20e2 8098 6770 672d 6167 656e eval ...gpg-agen
0000010: 7420 2d2d 6461 656d 6f6e e280 980a t --daemon....
Correct source should say,
eval \`gpg-agent --daemon\`
(groff(7) is mistaken as well -- see bug 471025).
Attached is suggested patch for gpg-agent manpage -- other manpage needs to be tested as well.
Similar bug was filed in the Debian as well -- http://bugs.debian.org/505286
Version-Release number of selected component (if applicable):
This bug has been triaged
Better, to report and give patch upstream, but I can do that now, thanks.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
FYI, this was fixed upstream. The fix is in GnuPG 2.0.10.
gnupg2-2.0.10-1.fc10 has been submitted as an update for Fedora 10.
gnupg2-2.0.10-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gnupg2'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2744
gnupg2-2.0.10-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.