Public bug reported:

Binary package hint: seahorse-plugins

When gpg is first run, it's supposed to copy
/usr/share/gnupg/options.skel into ~/.gnupg/gpg.conf however seahorse-
agent is part of the default ubuntu-desktop session.  Seahorse-agent
writes an empty file there on its first run.  This means "use-agent"
isn't in there.  If the user then installs kubuntu-desktop, seahorse-
agent will still run instead of gpg-agent.

Net effect, if the following sequence of events occurs:
1. User installs Ubuntu
2. User logs into a GNOME session in Ubuntu
3. User installs kubuntu-desktop
4. User logs into KDE and uses KMail

The result is:
seahorse-agent (which is not compatible with KMail) runs instead of gpg-agent 
(which is compatible)
KMail hangs when told to sign an email, finally throwing an error saying it 
couldn't get the passphrase

This is fixed by having use-agent in ~/.gnupg/gpg.conf...in other words,
by having the skeleton file there instead of an empty file.  If this is
the case, seahorse-agent still runs in GNOME but gpg-agent runs in KDE,
allowing KMail to function properly.

** Affects: seahorse-plugins (Ubuntu)
     Importance: Medium
     Assignee: Mackenzie Morgan (maco.m)
         Status: In Progress

** Changed in: seahorse-plugins (Ubuntu)
   Importance: Undecided => Medium
     Assignee: (unassigned) => Mackenzie Morgan (maco.m)
       Status: New => In Progress

** Branch linked: lp:~maco.m/seahorse-plugins/gpgconf-change

** Description changed:

  Binary package hint: seahorse-plugins
  
  When gpg is first run, it's supposed to copy
  /usr/share/gnupg/options.skel into ~/.gnupg/gpg.conf however seahorse-
  agent is part of the default ubuntu-desktop session.  Seahorse-agent
  writes an empty file there on its first run.  This means "use-agent"
  isn't in there.  If the user then installs kubuntu-desktop, seahorse-
  agent will still run instead of gpg-agent.
  
  Net effect, if the following sequence of events occurs:
  1. User installs Ubuntu
  2. User logs into a GNOME session in Ubuntu
  3. User installs kubuntu-desktop
  4. User logs into KDE and uses KMail
  
  The result is:
- seahorse-agent, which is not compatible with KMail, is still running
+ seahorse-agent (which is not compatible with KMail) runs instead of gpg-agent 
(which is compatible)
  KMail hangs when told to sign an email, finally throwing an error saying it 
couldn't get the passphrase
  
  This is fixed by having use-agent in ~/.gnupg/gpg.conf...in other words,
  by having the skeleton file there instead of an empty file.  If this is
  the case, seahorse-agent still runs in GNOME but gpg-agent runs in KDE,
  allowing KMail to function properly.

-- 
Seahorse-agent writes an empty ~/.gnupg/gpg.conf on first run, breaking email 
signing in KDE
https://bugs.launchpad.net/bugs/345727
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to