[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

gpg2, kgpg and kmail

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 ---+++###
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 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
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 :)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]