[Pkg-geany-team] Bug#672286: geany-plugin-pg: GeanyPG Encrypt menu option silently fails

Alain Kelder bts at mxcow.com
Wed May 9 18:02:55 UTC 2012


Package: geany-plugin-pg
Version: 0.21.1.dfsg-2
Severity: important

Dear Maintainer,

I've been encrypting files in the shell using gpg (gnupg 1.4.12-4) and that's been working fine, but I'd also like to encrypt/decrypt files with Geany 0.21. 

When I select "Tools" > "GeanyPG" > "Encrypt", I get a "Select recipients" window without any recepients in the list, when I click "OK" (without selecting any recepients), the "Select recipients" window goes away and I'm back in the main Geany window. I've tried starting Geany from the shell to see if any error messages show up there, but none there either. According to geanypg.html doc [1], I would expect to get prompted for a passphrase:

> To encrypt a file, simply choose Encrypt from the menu. A dialog will
> open allowing you to select any recipients. At the bottom of the dialog
> you also have to option to choose a key to sign the text with (Default
> is None).

> When you press Ok, a few things can happen. If you haven't selected any
> recipients a new dialog will open asking you if you want to use a
> symmetric cipher. If you choose yes you will be asked for a passphrase
> that will be used to encrypt the text.

I'm using Gnome and have pinentry:

ii  gnome-shell     3.2.2.1-2
ii  pinentry-gtk2   0.8.1-1 

I do get a graphical popup prompting for password of my SSH key (~/.ssh/id_rsa) when connecting to remote systems in gnome-terminal.

According to another geanypg.html [2], gpg-agent can also be used:

> When encrypting a message you can choose to sign at the same time. 
> If a passphrase is needed, the GPGME library will decide how the 
> user is prompted. Usually this will use gpg-agent. If gpg-agent 
> is disabled, pinentry (see man 1 pinentry) will be used. 

I then installed gnupg-agent and gnupg2:

ii  gnupg                  1.4.12-4
ii  gnupg-agent            2.0.19-1
ii  gnupg2                 2.0.19-1
ii  python-gnupginterface  0.3.2-9.1

But GeanyPG still silently failed.

[1] https://github.com/pradeepmurugesan/geany-plugins/blob/866573ab2ed28a27a019daf4086905c7db0886a6/geanypg/doc/geanypg.html 
[2] http://plugins.geany.org/geanypg.html

Many thanks,
Alain

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages geany-plugin-pg depends on:
ii  geany-plugins-common  0.21.1.dfsg-2
ii  libc6                 2.13-32
ii  libglib2.0-0          2.32.0-4
ii  libgpgme11            1.2.0-1.4
ii  libgtk2.0-0           2.24.10-1

geany-plugin-pg recommends no packages.

geany-plugin-pg suggests no packages.

-- no debconf information





More information about the Pkg-geany-team mailing list