Encrypt or decrypt option doesn't work

Bug #1168685 reported by Josef Andersson
176
This bug affects 35 people
Affects Status Importance Assigned to Milestone
seahorse-nautilus (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Installed the plugin in raring, freshly installed system. I have verified that my keys are set up ok otherwise. When encrypting with enigmamail, CLI and so on, encryption works fine.

When using the nautilus encrypt option on a file, I can choose keys, but after ok click nothing happens. Same setup, keys and options works fine on my 12.10 box.
_____
Encryption is now fixed in Saucy. Please see bug 1222538 for more details.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in seahorse-nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Shane Synan (digitalcircuit) wrote :

I can confirm this issue with 'seahorse-nautilus' version 3.7.5-0ubuntu1. When encrypting multiple files, it even creates the archive, but doesn't actually save a .pgp file. Decryption fails without warning as well. Note, however, that using 'gpg --encrypt file' and 'gpg file' to encrypt and decrypt works as expected, even prompting for my passphrase with the standard GTK keyring dialog.

'.xsession-errors' contains the following line immediately after I correctly type the passphrase for my PGP key:
(seahorse-tool:18139): GLib-WARNING **: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_child_watch_add()/g_spawn_sync() either directly or indirectly.

papukaija (papukaija)
tags: added: amd64 raring
summary: - Encrypt option doesn't work in raring
+ Encrypt or decrypt option doesn't work
description: updated
Revision history for this message
Michael Steger (m-steger) wrote :

(seahorse-tool:12963): GLib-WARNING **: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_child_watch_add()/g_spawn_sync() either directly or indirectly.

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

Is this bug specific to Ubuntu or is it coming from upstream? Also, is the package in Saucy (if any) bug free?

Revision history for this message
papukaija (papukaija) wrote :

I'm not sure if this issue is Ubuntu specific but I've noticed that the passphrace dialogue appears for decrypting a file when I have double clicked twice on the file's icon. After that, the encrypting option works too from the context menu.

Revision history for this message
Dominik Bauer (dominikfelixbauer) wrote :

Are somebody knowing who is working at the package seahorse-nautilus?
I saw the integration of GnuPG in the "Ubuntu Privacy Remix" Projekt, and they have a much better frontend for encrypton end decrypton. I think it whut be a good idee to replace seahorse-nautilus in Ubuntu 13.10.
More informations about the UPR GnuPG frontend:
https://www.privacy-cd.org/en/features-mainmenu-35/gnupg-frontend

Revision history for this message
papukaija (papukaija) wrote :

The Ubuntu package is maintained by Ubuntu MOTU (<email address hidden>) and the upstream package by Gnome. Thanks.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :

@Felipe Castillo: I have tried now the seahorse plugin in Ubuntu Saucy 13.10, and the issue is still present. No "sig" file, nor "pgp" file are created.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :

I can also add that until Ubuntu 12.10 the seahorse-plugin for nautilus worked well. It's starting from Ubuntu 13.04 that there is a problem.

Revision history for this message
papukaija (papukaija) wrote :

Added the regression tag since this bug didn't occur in 12.10 and earlier.

tags: added: regression-release saucy
Revision history for this message
Phil Wyett (u-k-i-t) wrote :

Tested and does not affect current 13.10 daily release as of 2013-09-18. Removed the saucy tag. If you can duplicate the bug, please re-add the tag.

tags: removed: saucy
Revision history for this message
papukaija (papukaija) wrote :

Thanks for the report. The fix comes from this upload:

seahorse-nautilus (3.8.0-0ubuntu2) saucy; urgency=low

  * debian/patches/git_work_with_new_glib.patch:
    - restore working encryption and signature with new glib (lp: #1222538)
 -- Sebastien Bacher <email address hidden> Mon, 09 Sep 2013 15:47:01 +0200

Changed in seahorse-nautilus (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Josef Andersson (northar) wrote :

yes, encryption works now, however decryption option still doesn't work.

tags: added: saucy
Changed in seahorse-nautilus (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Josef Andersson (northar) wrote :

Encrypt option was fixed, however decrypt wasn't.

Revision history for this message
papukaija (papukaija) wrote :

Thanks for the clarification, I assumed that the decryption would work too. Sorry about that.

description: updated
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug has a moderate impact on a core application, it has a priority of 'medium'.

Changed in seahorse-nautilus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug is:

- Valid.
- Well described.
- Reported in the upstream bug tracker (Launchpad).
- Ready to be worked on by a developer.

it's also triaged.

Changed in seahorse-nautilus (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Francesco Ponzin (francesco-ponzin) wrote :

Similar behaviour in 14.10 (Utopic): it decrypts and signs, but doesn't encrypt anymore (it has always worked for me)

I've tried whit "seahorse-tool -e [myfile]", it make me choose the keys but when I click "ok" it ends whit no error (but without creating "myfile.pgp")

"seahorse-tool -s" works fine

Revision history for this message
erintiransom (israelplanaguma) wrote :

It was working fine for me in 14.04 -actually it wasn't working perfectly: I was able to sign and encrypt files from nautilus, but the unencrypt option didn't even show up. To unencrypt, though, I could always "open with Kgpg", which saved the day. I could verify signatures -provided I changed the extension of the signature file, I don't remember now but I think it had to be .sig, it didn't work with .asc, since .asc was supposedly only for public or private keys itself. So I had full functionality, even if not perfect -I think due to the mess in the use of extensions between different people and software.

Anyways, I updated to 14.10 a few days ago, and everything has gone astray. Gotta use the terminal again. I guess how long it will take until some terminal-guru geek insults me for complaining -I don't think it will happen here, but it happens in many Linux forums, even Ubuntu ones...

I also have other complains about the update to 14.10, but it'd be off-topic.

Revision history for this message
Lacyc3 (lacyc3) wrote :

I can confirm that Ubuntu 14.04 is unaffected.
Also confirm, that Ubuntu 14.10. Nautilus-seahorse can sign, but can't encrypt.

Ubuntu 14.10 - Fresh Install
seahorse: 3.12.2-1ubuntu1
seahorse-nautilus: 3.8.0-0ubuntu2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.