PSI can't find GPG key [ERROR: This message is encrypted, and you are unable to decrypt it.]

Bug #212813 reported by Patje
14
Affects Status Importance Assigned to Milestone
psi (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: psi

In the account menu the GPG/pgp settings stay grey and PSI don't find my gpg keys. Other programs as Thunderbird + Opengpg doesn't have any problem to work with gpg on my system. Problem came after some updates a few days ago in the latest Ubuntu beta. System is a up to date 8.04beta.

Linux ubuntu 2.6.24-15-generic #1 SMP Fri Apr 4 03:48:31 UTC 2008 i686 GNU/Linux
PSI v: 0.11
This program uses Qt Open Source Edition version 4.3.4.
Thank you for your interest in Ubuntu 8.04 - the Hardy Heron - released in April 2008.

dpkg -S psi

psi-translations: /usr/share/psi/psi_sk.qm
psi: /usr/share/psi/iconsets/system/default/whiteboarding/scroll.png
psi: /usr/share/psi/iconsets/emoticons/default/blush.png
psi: /usr/share/psi/iconsets/emoticons/default/photo.png
psi-translations: /usr/share/psi/psi_pl.qm
psi: /usr/share/psi/iconsets/roster/default/message.fading.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/bring_to_front.png
psi-translations: /usr/share/psi/psi_it.qm
psi-translations: /usr/share/psi/psi_bg.qm
psi: /usr/share/psi/iconsets/system/default/whiteboarding/translate.png
linux-headers-2.6.24-14-generic: /usr/src/linux-headers-2.6.24-14-generic/include/config/scsi/psi240i.h
psi: /usr/share/psi/sound/chat1.wav
psi: /usr/share/psi/iconsets/emoticons/default/girl.png
gnome-doc-utils: /usr/share/gnome/help/gnome-doc-xslt/C/db2html-classsynopsis.xml
psi-translations: /usr/share/psi/psi_ca.qm
psi: /usr/share/psi/iconsets/system/default/show_hidden.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/scale.png
psi-translations: /usr/share/psi/psi_ru.qm
psi: /usr/share/psi/iconsets/system/default/eye_blue.png
linux-headers-2.6.24-15: /usr/src/linux-headers-2.6.24-15/include/asm-ia64/hpsim.h
wireshark-common: /usr/lib/wireshark/plugins/opsi.so
psi: /usr/share/psi/iconsets/system/default/cancel.png
psi: /usr/share/psi/iconsets/roster/default/online.png
psi: /usr/share/icons/hicolor/32x32/apps/psi.png
psi: /usr/share/psi/iconsets/system/default/key_bad.png
psi: /usr/share/psi/iconsets/emoticons/default/phone.png
psi: /usr/share/psi/iconsets/emoticons/default/cuffs.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding
psi: /usr/share/psi/iconsets/system/default/whiteboarding/send_to_back.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/erase.png
psi: /usr/share/psi/iconsets/emoticons/default/flower.png
psi: /usr/share/psi/iconsets/system/default/icondef.xml
psi: /usr/share/psi/iconsets/emoticons/default/boy.png
psi: /usr/share/psi/iconsets/system/default/browse.png
psi: /usr/share/psi/iconsets/system/default/logo_16.png
psi: /usr/share/psi/iconsets/system/default/closetab.png
psi: /usr/share/psi/iconsets
psi: /usr/share/psi/iconsets/roster/README
psi: /usr/share/psi/iconsets/system/default/groupchat.png
psi: /usr/share/psi/iconsets/emoticons
psi: /usr/share/psi/iconsets/emoticons/default/mail.png
psi: /usr/share/psi/iconsets/roster/crystal-aim.jisp
psi: /usr/share/doc/psi/changelog.Debian.gz
psi: /usr/share/psi/iconsets/system/default/logo_128.png
psi: /usr/share/psi/sound/ft_incoming.wav
psi: /usr/share/psi/iconsets/system/default/reload.png
psi: /usr/share/psi/iconsets/system/default/smile.png
psi: /usr/share/man/man1/psi.1.gz
psi: /usr/share/psi/COPYING
psi: /usr/share/psi/iconsets/system/default/url.png
psi: /usr/share/psi/iconsets/system/default/events.png
psi: /usr/share/psi/iconsets/system/default/psilogo.png
psi: /usr/share/psi/iconsets/roster/crystal-service.jisp
psi: /usr/share/psi/iconsets/emoticons/default/devil.png
psi: /usr/share/psi/iconsets/system/default/show_offline.png
psi: /usr/share/psi/sound/chat2.wav
psi-translations: /usr/share/psi/psi_pt.qm
libcupsimage2: /usr/share/doc/libcupsimage2/changelog.gz
psi: /usr/share/psi/iconsets/roster/crystal-yahoo.jisp
psi: /usr/share/psi/iconsets/roster/default/offline.png
psi: /usr/share/psi/iconsets/roster/crystal-sms.jisp
psi: /usr/share/psi/iconsets/system/default/publish_tune.png
psi: /usr/share/psi/iconsets/system/default/command.png
ghostscript: /usr/share/ghostscript/8.61/lib/ps2epsi.ps
psi: /usr/share/psi/iconsets/emoticons/default/coffee.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/add_text.png
psi: /usr/share/psi/sound/ft_complete.wav
psi: /usr/share/psi/iconsets/system/default/tip.png
psi: /usr/share/psi/iconsets/roster/default/groupclose.png
psi-translations: /usr/share/psi/psi_sw.qm
psi: /usr/share/psi/iconsets/roster/default/file.fading.png
psi: /usr/share/psi/iconsets/system/default/changeacc.png
psi: /usr/share/psi/sound/online.wav
psi: /usr/share/psi/iconsets/system/default/logo_64.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/send_backwards.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/group.png
linux-image-2.6.24-12-generic: /lib/modules/2.6.24-12-generic/kernel/drivers/scsi/psi240i.ko
psi: /usr/share/psi/iconsets/emoticons/default/star.png
psi: /usr/share/psi/iconsets/emoticons/default/wink.png
psi-translations: /usr/share/psi/psi_de.qm
psi: /usr/share/psi/iconsets/roster/default/headline.png
psi: /usr/share/psi/iconsets/system/default/status.png
psi: /usr/share/psi/iconsets/system/default/remove.png
psi: /usr/share/icons/hicolor/64x64/apps/psi.png
psi: /usr/share/psi/iconsets/system/default/disco.png
kdelibs-data: /usr/share/apps/ksgmltools2/docbook/xsl/params/funcsynopsis.style.xml
psi: /usr/share/psi/iconsets/roster/default/groupopen.png
psi: /usr/share/psi/iconsets/emoticons/default/no.png
psi-translations: /<email address hidden>
psi-translations: /usr/share/psi/psi_et.qm
psi: /usr/share/psi/iconsets/roster/crystal-roster.jisp
gnome-doc-utils: /usr/share/gnome/help/gnome-doc-xslt/C/db2html-funcsynopsis.xml
psi: /usr/share/psi/iconsets/emoticons/default/yes.png
psi: /usr/share/psi/iconsets/emoticons/default/lamp.png
gnome-doc-utils: /usr/share/xml/gnome/xslt/docbook/html/db2html-funcsynopsis.xsl
psi-translations: /usr/share/psi/psi_hu.qm
psi: /usr/share/psi/iconsets/system/README
psi: /usr/share/psi/iconsets/system/default/register.png
psi: /usr/share/psi/iconsets/emoticons/default/heart.png
psi: /usr/share/psi/iconsets/system/default/play.png
linux-headers-2.6.24-14: /usr/src/linux-headers-2.6.24-14/include/asm-ia64/machvec_hpsim.h
psi: /usr/share/psi/iconsets/system/default/configure-room.png
libcupsimage2: /usr/share/doc/libcupsimage2/changelog.Debian.gz
psi: /usr/share/psi/iconsets/system/default/search.png
psi: /usr/share/psi/iconsets/roster
psi: /usr/share/doc/psi/copyright
psi-translations: /usr/share/psi/psi_vi.qm
psi: /usr/share/psi/iconsets/roster/crystal-icq.jisp
psi: /usr/share/psi/iconsets/emoticons/default/drink.png
psi: /usr/share/psi/iconsets/system/default
psi: /usr/share/psi/iconsets/emoticons/default/brheart.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/draw_rectangles.png
psi: /usr/share/psi/iconsets/system/default/arrow_left.png
psi-translations: /usr/share/psi/psi_fr.qm
psi: /usr/share/psi/iconsets/emoticons/default/stare.png
psi: /usr/share/psi/README
psi: /usr/share/psi/iconsets/emoticons/default/bat.png
psi-translations: /usr/share/psi/psi_cs.qm
libcupsimage2: /usr/share/doc/libcupsimage2/copyright
psi: /usr/share/psi/iconsets/system/default/xml.png
psi: /usr/share/psi/iconsets/system/default/ssl_yes.png
psi: /usr/share/psi/iconsets/roster/default/xa.png
psi: /usr/share/psi/iconsets/emoticons/default/cry.png
psi: /usr/share/psi/iconsets/system/default/account.png
psi: /usr/share/psi/iconsets/system/default/close.png
psi: /usr/share/doc/psi/README.Debian
psi: /usr/share/psi/iconsets/emoticons/default/unhappy.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/ungroup.png
psi: /usr/share/psi/iconsets/roster/default/perr.png
psi: /usr/share/psi/iconsets/emoticons/default/beer.png
psi: /usr/share/psi/iconsets/emoticons/default/pussy.png
psi: /usr/share/icons/hicolor/16x16/apps/psi.png
psi: /usr/share/psi/iconsets/system/default/arrow_up.png
psi: /usr/share/psi/iconsets/system/default/key.png
psi: /usr/share/psi/certs/README
psi: /usr/share/psi/iconsets/system/default/arrow_right.png
psi: /usr/share/psi/iconsets/system/default/vcard.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/rotate.png
psi: /usr/share/psi/sound
psi: /usr/share/psi/iconsets/system/default/help.png
psi: /usr/share/psi/iconsets/system/default/options.png
psi: /usr/share/psi/iconsets/system/default/advanced.png
psi: /usr/share/psi/iconsets/system/default/show_away.png
psi: /usr/share/psi/iconsets/emoticons/default/brflower.png
psi: /usr/share/psi/iconsets/system/default/logo_48.png
linux-headers-2.6.24-15-generic: /usr/src/linux-headers-2.6.24-15-generic/include/config/scsi/psi240i.h
psi: /usr/share/psi/iconsets/roster/default/invisible.png
psi: /usr/bin/psi
psi: /usr/share/psi/iconsets/emoticons/default/smile.png
psi: /usr/share/psi/sound/send.wav
psi: /usr/share/psi/iconsets/system/default/add.png
gnome-doc-utils: /usr/share/xml/gnome/xslt/docbook/html/db2html-cmdsynopsis.xsl
psi-translations: /usr/share/psi/psi_zh.qm
psi: /usr/share/icons/hicolor/128x128/apps/psi.png
psi: /usr/share/psi/iconsets/emoticons/default/icondef.xml
psi: /usr/share/psi/certs
linux-image-2.6.24-14-generic: /lib/modules/2.6.24-14-generic/kernel/drivers/scsi/psi240i.ko
psi: /usr/share/pixmaps/psi.xpm
psi: /usr/share/psi/iconsets/system/default/appearance.png
psi: /usr/share/psi/iconsets/roster/default/icondef.xml
psi-translations: /usr/share/doc/psi-translations/changelog.gz
psi: /usr/share/psi/iconsets/emoticons/default/music.png
psi: /usr/share/psi/iconsets/emoticons/default
linux-image-2.6.22-14-generic: /lib/modules/2.6.22-14-generic/kernel/drivers/scsi/psi240i.ko
psi: /usr/share/psi/iconsets/system/default/whiteboarding/draw_circles.png
psi: /usr/share/psi/iconsets/system/default/jabber.png
psi: /usr/share/psi/iconsets/system/default/stop.png
app-install-data: /usr/share/app-install/icons/psi.png
psi: /usr/share/psi/iconsets/system/default/play_sounds.png
psi: /usr/share/psi/iconsets/system/default/shortcuts.png
psi: /usr/share/psi/iconsets/system/default/upload.png
psi: /usr/share/psi/iconsets/emoticons/default/biggrin.png
psi-translations: /usr/share/psi/psi_nl.qm
psi: /usr/share/psi/iconsets/system/default/time.png
psi: /usr/share/psi/iconsets/emoticons/default/tongue.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/bring_forwards.png
psi: /usr/share/psi/iconsets/roster/crystal-gadu.jisp
psi: /usr/share/psi/iconsets/roster/default
psi: /usr/share/psi/iconsets/system/default/whiteboarding/draw_paths.png
psi: /usr/share/psi/iconsets/roster/default/away.png
libcupsimage2: /usr/lib/libcupsimage.so.2
psi: /usr/share/psi/iconsets/system/default/whiteboarding/add_image.png
psi-translations: /usr/share/psi/psi_eo.qm
psi: /usr/share/psi/iconsets/system/default/whiteboarding/draw_ellipses.png
psi: /usr/share/lintian/overrides/psi
psi: /usr/share/psi/iconsets/system/default/whiteboarding/whiteboard.png
psi-translations: /usr/share/psi/psi_fi.qm
psi: /usr/share/psi/iconsets/roster/crystal-msn.jisp
ghostscript: /usr/share/man/man1/ps2epsi.1.gz
psi-translations, psi: /usr/share/psi
psi: /usr/share/icons/hicolor/48x48/apps/psi.png
linux-headers-2.6.24-15: /usr/src/linux-headers-2.6.24-15/include/asm-ia64/machvec_hpsim.h
linux-image-2.6.24-15-generic: /lib/modules/2.6.24-15-generic/kernel/drivers/scsi/psi240i.ko
psi: /usr/share/psi/iconsets/roster/default/system.png
psi: /usr/share/menu/psi
psi: /usr/share/psi/iconsets/system/default/ok.png
psi-translations: /usr/share/doc/psi-translations
psi: /usr/share/psi/iconsets/system/default/pgp.png
psi: /usr/share/psi/iconsets/roster/default/ask.png
psi: /usr/share/psi/iconsets/system/default/self.png
psi: /usr/share/psi/iconsets/roster/default/chat.fading.png
psi: /usr/share/psi/sound/offline.wav
psi: /usr/share/psi/iconsets/emoticons/default/hugright.png
psi: /usr/share/psi/iconsets/system/default/configure_toolbars.png
psi: /usr/share/psi/iconsets/system
psi-translations: /usr/share/psi/psi_es.qm
psi: /usr/share/psi/iconsets/emoticons/default/frowning.png
psi: /usr/share/psi/iconsets/emoticons/default/angry.png
psi: /usr/share/psi/iconsets/system/default/chatclear.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/select.png
psi: /usr/share/psi/iconsets/emoticons/default/coolglasses.png
psi: /usr/share/psi/iconsets/system/default/whiteboarding/draw_lines.png
psi: /usr/share/psi/iconsets/system/default/send.png
psi: /usr/share/psi/iconsets/system/default/logo_32.png
psi: /usr/share/doc/psi
psi: /usr/share/psi/iconsets/system/default/filemanager.png
psi: /usr/share/psi/iconsets/emoticons/default/oh.png
psi: /usr/share/psi/iconsets/system/default/quit.png
linux-headers-2.6.24-14: /usr/src/linux-headers-2.6.24-14/include/asm-ia64/hpsim.h
psi: /usr/share/psi/iconsets/system/default/history.png
psi: /usr/share/psi/iconsets/roster/default/online.dimming.png
gnome-doc-utils: /usr/share/gnome/help/gnome-doc-xslt/C/db2html-cmdsynopsis.xml
kdelibs-data: /usr/share/apps/ksgmltools2/docbook/xsl/params/funcsynopsis.decoration.xml
psi: /usr/share/psi/iconsets/system/default/psimain.png
app-install-data: /usr/share/app-install/desktop/psi.desktop
psi: /usr/share/psi/iconsets/system/default/ssl_no.png
psi: /usr/share/psi/iconsets/system/default/info.png
psi: /usr/share/psi/iconsets/emoticons/default/rainbow.png
psi: /usr/share/psi/iconsets/system/default/key_unknown.png
psi-translations: /usr/share/psi/psi_pt_BR.qm
psi: /usr/share/psi/iconsets/roster/default/dnd.png
psi: /usr/share/psi/iconsets/roster/default/noauth.png
kdelibs-data: /usr/share/apps/ksgmltools2/docbook/xsl/params/funcsynopsis.tabular.threshold.xml
psi-translations: /usr/share/doc/psi-translations/copyright
psi: /usr/share/psi/iconsets/system/default/start-chat.png
psi: /usr/share/psi/certs/startcom_ca.crt
libcupsimage2: /usr/share/doc/libcupsimage2
psi: /usr/share/psi/iconsets/system/default/arrow_down.png
psi: /usr/share/psi/iconsets/system/default/download.png
psi: /usr/share/psi/iconsets/emoticons/default/hugleft.png
psi: /usr/share/applications/psi.desktop
ghostscript: /usr/bin/ps2epsi
psi-translations: /usr/share/psi/psi_mk.qm
psi: /usr/share/psi/iconsets/emoticons/default/kiss.png
psi: /usr/share/doc/psi/README
gnome-doc-utils: /usr/share/xml/gnome/xslt/docbook/html/db2html-classsynopsis.xsl
psi: /usr/share/psi/iconsets/roster/default/chatty.png
wireshark-common: /usr/lib/wireshark/plugins/opsi.la

Revision history for this message
wolfgang (wolfhai-gmx) wrote :

I can confirm that Ubuntu/Hardy - I am thinking of switching to debian.

Revision history for this message
Jana (ramjan2) wrote :

I had the same problem, BUT there is a solution...

1. Install libqca2-plugin-gnupg and libqca2-plugin-ossl

2. Restart Psi

3. Select your key in the Psi account properties

4. Restart Psi

5. Done.

The problem is/was the change of the crypto architecture to QCA2.

Revision history for this message
LimCore (limcore) wrote :

This sucks, another broken application :(

I have this bug on 8.04 (amd64)

LimCore (limcore)
Changed in psi:
status: New → Confirmed
Revision history for this message
Patje (patrick-coeman) wrote : Re: [Bug 212813] Re: PSI can't find GPG key [ERROR: This message is encrypted, and you are unable to decrypt it.]

Hello Jana,

I forgot to thank you. Thanks for the solution.

Jana schreef:
> I had the same problem, BUT there is a solution...
>
> 1. Install libqca2-plugin-gnupg and libqca2-plugin-ossl
>
> 2. Restart Psi
>
> 3. Select your key in the Psi account properties
>
> 4. Restart Psi
>
> 5. Done.
>
> The problem is/was the change of the crypto architecture to QCA2.
>

--
Patrick Coeman
171dotBE

ICT consulting & beveiliging
Informatiebeveiliging naar ISO-17799, openbron en openstandaarden
Debian GNU Linux, Ubuntu Linux, Microsoft windows en server.

BTW / Ondernemingsnummer: BE-0868.969.748
Bredestraat 171, 2620 Hemiksem
Tel: 038777998, Fax: 070421431, GSM: 0476959505
www.171.be - www.171hosting.be

Revision history for this message
Patje (patrick-coeman) wrote :

I received this solution and it works:

I had the same problem, BUT there is a solution...

1. Install libqca2-plugin-gnupg and libqca2-plugin-ossl

2. Restart Psi

3. Select your key in the Psi account properties

4. Restart Psi

5. Done.

The problem is/was the change of the crypto architecture to QCA2.

Thanks to <email address hidden>

LimCore schreef:
> ** Changed in: psi (Ubuntu)
> Status: New => Confirmed
>

--
Patrick Coeman
171dotBE

ICT consulting & beveiliging
Informatiebeveiliging naar ISO-17799, openbron en openstandaarden
Debian GNU Linux, Ubuntu Linux, Microsoft windows en server.

BTW / Ondernemingsnummer: BE-0868.969.748
Bredestraat 171, 2620 Hemiksem
Tel: 038777998, Fax: 070421431, GSM: 0476959505
www.171.be - www.171hosting.be

Revision history for this message
LimCore (limcore) wrote :

This solution does NOT work for me
ubuntu 8.04 amd64

1) aptitude install libqca2-plugin-gnupg libqca2-plugin-oss
0 packages upgraded, 0 newly installed, 0 to remove and 95 not upgraded. (was installed)

2) close psi
3) open psi, it connects to server
4) select OpenPGP key for this account (normal key, worked before)
5) restart psi or disconnect and try to connect again
6) it do not connect to the server, because it waits for the openpgp passphrase but there is no window/dialog to input it.

Revision history for this message
jpfle (jpfle) wrote :

I confirm this bug on Ubuntu 8.10 (i386) and Psi 0.11. In the Details tab of my Jabber account properties, the OpenPGP section is gray and inaccessible.

I can use without any problem GPG encryption on Gajim.

Revision history for this message
jpfle (jpfle) wrote :

I tested the solution described by Jana, and I confirm that it resolved the bug for me.

Revision history for this message
spinxz (spinxz) wrote :

This is not a bug!

See the PSI package:
http://packages.ubuntu.com/intrepid/psi

It is up to the user to decide if she wants to install a suggested package or not. And libqca2-plugin-gnupg is there in the list of suggested packages for PSI. Not everyone needs gpg support...

So the topic actually is to decide if libqca2-plugin-gnupg should be recommended or even required instead.
In my opinion it is perfect the way it is.

Revision history for this message
jpfle (jpfle) wrote :

I think that if the support of gpg isn't activated, there should not be a gpg entry in the Psi menu. It's confusing. Or maybe Psi should put a message in the gpg menu about the necessity of installing a third package to be be able to support gpg.

Revision history for this message
Tomáš Myšík (gapon) wrote :

I consider it as a bug because:
- I had to google to find out where the problem could be (I found this page)
- if one doesn't want to use GPG then (s)he simply does not select any key and that's it

Thanks for "the work around" Jana.

Revision history for this message
Ninad S Pundalik (ninadsp16289) wrote :

I confirm the bug on Kubuntu 8.10, with Psi 0.12 (compiled from source with check install). I was unable use my gpg key with Psi, which I could do in earlier versions of Psi and Ubuntu (dont remember which version of Psi though)

The above solution of installing libqca2-plugin-gnupg worked for me too. If this is not a bug as such, then it should be included in the documentation/description of Psi that this package is necessary.

Thank You Jana for the solution.

Revision history for this message
Jan Niehusmann (jan-debian) wrote :

Ninad:

The description of the psi package contains the following text:

"Psi relies on the qca2 library for its encryption features. Therefore, it's necessary to install libqca2-plugin-ossl for SSL (client-to-server) encryption and libqca2-plugin-gnupg for PGP (end-to-end) encryption."

Isn't this exactly what you are asking for?

Revision history for this message
Ninad S Pundalik (ninadsp16289) wrote :

Am really sorry! My mistake... As I said, I'd compiled from source... Will be more careful next time before I post. Thanx for pointing it out...

Revision history for this message
Tomáš Myšík (gapon) wrote :

In my case (and it's not unusual IMHO) it didn't work because I got a new laptop and so I installed "the world" (all the applications I was able to remember). I can't imagine going through all the descriptions of all the programs (one note: I migrated from another distro at that time so it might have an impact). I would still prefer to have GPG functionality "ouf-of-the-box".

Revision history for this message
goto (gotolaunchpad) wrote :

Okay, let's close this then as invalid. If you want a new dependency of psi, report a new bug. Thanks everyone.

Changed in psi:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers