gpg2, kgpg and kmail
Maurizio Marini
maumar at datalogica.com
Sat Jul 4 19:16:12 UTC 2009
Fedora 11 fully upgraded.
I see that kgpg can be configured to use gpg or gpg2 or whatever you setup.
Kmail, instaed, doesn't (or, better, i was not able to find it).
In my ~/.gnupg file option was modified by fedora11 upgrade and these line were
appended to it:
###+++--- GPGConf ---+++###
utf8-strings
debug-level basic
log-file socket:///home/maumar/.gnupg/log-socket
###+++--- GPGConf ---+++### Wed 06 May 2009 09:34:17 AM CEST
# GPGConf edited this configuration file.
# It will disable options before this marked block, but it will
# never change anything below these lines.
Now, using gpg i get the obvious error
gpg -d cryptato
gpg: /home/maumar/.gnupg/options:119: invalid option
gpg: /home/maumar/.gnupg/options:120: invalid option
but using tha old one, i can get gpg to work fine:
~/.gnupg ]$ gpg --options options.gpgconf.bak -d cryptato
You need a passphrase to unlock the secret key for
user: "Maurizio Marini <maumar at datalogica.com>"
1024-bit ELG-E key, ID 33B888E3, created 2002-08-07 (main key ID 72094E5C)
etc etc
i wouldn't rename
option -> option.gpg2
then
options.gpgconf.bak -> option
then configure kgpg to use /usr/bin/gpg2 --options $HOME/.gnupg/option.gpg2
i hope there is another solution, for example to configure default option file
for either gpg and gpg2, without recompiling them, i dunno how is possible
any suggestion is welcome :)
-m
More information about the fedora-list
mailing list