Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=245288.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-07-21T08:01:53+00:00 Teke wrote:

Version:           1.13.5 (using Devel) 
OS:                Linux

When trying to send a message marked for signing, the pinentry dialog
box flickers very quickly for a few seconds (so quickly so that I can
only see its title) and then I get a dialog "Signing failed: Bad
passphrase". If I try pinentry on the command line it works (I just give
it the command GETPIN).

(I am not sure that I really use SVN or Snapshot Version. KDE reports
itself as having version 4.4.5 and I have picked it up from kubuntu-
ppa.)

Reproducible: Always

Steps to Reproduce:
1. Create new mail and click Sign.
2. Send mail.

Actual Results:  
Pinentry dialog box flickers back and forth between visibility and invisibility 
for a few seconds.

Expected Results:  
Dialog should show so that I can input password of GPG key.

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/1

------------------------------------------------------------------------
On 2011-05-12T09:21:53+00:00 M wrote:

Can confirm this bug for Kubuntu 11.04 amd64

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/9

------------------------------------------------------------------------
On 2011-08-20T13:52:17+00:00 kaputtnik wrote:

confirm this Bug with KMyMoney and Konsole:

typing: echo "test" | gpg -ase -r 0x791E0AAA | gpg

will shortly display the pinentry-Dialog.

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/10

------------------------------------------------------------------------
On 2011-08-20T14:20:42+00:00 kaputtnik wrote:

Installing pinentry-gtk2 solves my Problem with KMymoney.

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/11

------------------------------------------------------------------------
On 2011-08-20T19:51:23+00:00 kaputtnik wrote:

sorry, but it works also fine with pinentry-qt4, didn't know why.
Using Kubuntu 11.04 with kde 4.6.2

You have to control:
 1. File "~/gnupg/gpg.conf" must have an entry "use-agent"
 2. File "~/gnupg/gpg-agent.conf" must have an entry "pinentry-program 
/usr/bin/pinentry-qt4"

IMHO thats all. There is an bug on kpgp, or gpg, or gpg-agent, while
there are no default Config-Files in the Folder "~/.gnupg". In kpgp you
could automatically create the configfile "~/gnupg/gpg.conf" by
selecting a configfolder but accepting the default.

For me its solved :-)

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/12

------------------------------------------------------------------------
On 2011-08-24T21:28:32+00:00 Husimon wrote:

unfortunately, I have put my observations in the wrong thread! Sorry for
that. The problem with pinentry-qt4 (input dialog window foe entering
passphrase) still persists. Using Kmail alone is fine as long as I use
pinentry-gtk-2 for Encryption, Signing or Decryption (of course with
gpg-agent.conf setup to include the statements supplied above. The
complete system break-down occurs as soon as kleoptatra is installed
(its "use-agent" dependency is fixed and points to pinentry-qt4). No
amount of configuration tuning helps to get the pinentry-qt4 input
window to come to fore and accept any meaningful entry. The work-around
to replace pinentry-qt4 with pinentry-gtk-2 fails too. As a result no
encryption or decryption is possible with kleopatra installed together
with kmail. I had to remove the package kleopatra to get the kmail up
and running again with pinentry-gtk-2.

Kubuntu 11.04 (all updates till date installed)
KMail Version 1.13.6
under KDE Plattform-Version 4.6.2 (4.6.2)

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/14

------------------------------------------------------------------------
On 2011-11-26T15:20:14+00:00 W1yo2624ebi-darw2l-lo8mzs0dn9h wrote:

I had the same issue. Like others, I too had both gpg and gpg-agent
correctly configured, but still it didn't work. As others have
mentioned, pinentry-gtk-2 worked perfectly fine.

After lots of debugging, I found that pinentry-qt4 crashes inside ibus.

In my case, the problem was that GTK_IM_MODULE/QT_IM_MODULE/XMODIFIERS
were set (to ibus) when gpg-agent was launched (by a script in
.kde/env). However, at the time gpg-agent is launched, a full KDE
session isn't available. For example, I don't think the session dbus has
been started yet. This apparently causes problems in ibus.

I worked around the problem by modifying the gpg-agent script in
.kde/env to this:

#!/bin/sh
eval `GTK_IM_MODULE="" QT_IM_MODULE="" XMODIFIERS="" gpg-agent --daemon`

With this, pinentry-qt4 no longer crashes, although it obviously means
you can't use other input methods.

It does look really ugly though, as it's using some kind of default
widget theme. Probably also related to the fact that gpg-agent is
launched "too early".

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/18

------------------------------------------------------------------------
On 2012-09-05T08:51:51+00:00 Lekensteyn wrote:

This is a bus in ibus-qt, a patch is available at:
http://code.google.com/p/ibus/issues/detail?id=1504
This is not an issue of KDE, so this issue can be closed I guess.

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/19

------------------------------------------------------------------------
On 2012-09-05T10:55:09+00:00 Montel-3 wrote:

oki will close it

Reply at: https://bugs.launchpad.net/kdepim/+bug/371178/comments/20


** Changed in: kdepim
       Status: New => Won't Fix

** Bug watch added: IBus bugs #1504
   http://code.google.com/p/ibus/issues/detail?id=1504

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/371178

Title:
  pinentry-qt4 doesn't prompt for a password when trying to read an
  encrypted email in Kmail

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdepim/+bug/371178/+subscriptions

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

Reply via email to