https://bugs.kde.org/show_bug.cgi?id=226630

           Summary: kwatchgnupg appends invalid options to
                    ~/.gnupg/gpg.conf
           Product: kleopatra
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: caspervec...@gmail.com
                CC: m...@kde.org


Version:           2.0.9 (using KDE 4.3.5)
OS:                Linux
Installed from:    Ubuntu Packages

    When kwatchgnupg opens, it seems to append somethings unexpected to
~/.gnupg/gpg.conf (while making a backup ~/.gnupg/gpg.conf.gpgconf.bak). The
appended stuff turns to be the content of ~/.gnupg/gpg-agent.conf.

cas...@caspervector:~/.gnupg$ diff gpg.conf gpg.conf.gpgconf.bak 
240,248d239
< 
< ###+++--- GPGConf ---+++###
< utf8-strings
< debug-level basic
< log-file socket:///home/casper/.gnupg/log-socket
< ###+++--- GPGConf ---+++### Sat 13 Feb 2010 11:45:32 CST
< # GPGConf edited this configuration file.
< # It will disable options before this marked block, but it will
< # never change anything below these lines.
cas...@caspervector:~/.gnupg$ cat gpg-agent.conf

###+++--- GPGConf ---+++###
debug-level basic
log-file socket:///home/casper/.gnupg/log-socket
###+++--- GPGConf ---+++### Sat 13 Feb 2010 11:45:32 CST
# GPGConf edited this configuration file.
# It will disable options before this marked block, but it will
# never change anything below these lines.
cas...@caspervector:~/.gnupg$ 

    This causes gpg to report an error and exit while being expected to work
normally, and further causes seahorse (GNOME) and kleopatra to wrongly show
that the gpg keys in the user's database "disappeared".

cas...@caspervector:~/.gnupg$ gpg --list-keys
gpg: /home/casper/.gnupg/gpg.conf:243: invalid option
gpg: /home/casper/.gnupg/gpg.conf:244: invalid option
cas...@caspervector:~/.gnupg$

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to