LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2004, 10:02 AM   #1
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Rep: Reputation: 15
Thunderbird & enigmail "decrypt and open"


AM using the latest versions of thunderbird and enigmail. Everything is working fine including the encrption and decryptopn of messages. Howver if someone sends an encrypted attachement and I right click on it and select "decrypt and open" nothing happens. At all. I can howver save it somewhere and then go open it but I want to use that decrypt and open option.
 
Old 09-27-2004, 05:38 AM   #2
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Original Poster
Rep: Reputation: 15
anyone? any ideas at all?
 
Old 09-27-2004, 11:34 AM   #3
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Original Poster
Rep: Reputation: 15
last try......
 
Old 09-27-2004, 05:29 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
When I right-click and select "decrypt and open" it gives me
the dialog box, but at the moment I've not imported my keys
so as soon as I do I'll get back to you.

I'm using thunderbird-0.8-i686-linux-gtk2+xft.tar.gz and
enigmail-0.86.1.xpi and enigmime-0.86.0-tb-linux.xpi if that
makes any difference.
 
Old 09-27-2004, 07:17 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
I've just imported all my keys, and that works very well!
I'm glad to know about that feature - thanks. All I did was
just right-clicked the file name where it says Attachments:
and selected Decrypt and Open. It gave me a dialog box
to enter my passphrase and then opened the .jpg image
that had been decrytped with Eye of Gnome.

If you think it would help, I can tell you what settings I have
selected. Otherwise, I can only confirm that it's working on
this box for me.

Does it give you any error message? If not, perhaps we
should find out where Thunderbird logs errors, and maybe
(if you haven't) search any Thunderbird forum/help location
from Mozilla.

Last edited by Bruce Hill; 09-27-2004 at 07:18 PM.
 
Old 09-28-2004, 03:47 AM   #6
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Chinaman
I've just imported all my keys, and that works very well!
I'm glad to know about that feature - thanks. All I did was
just right-clicked the file name where it says Attachments:
and selected Decrypt and Open. It gave me a dialog box
to enter my passphrase and then opened the .jpg image
that had been decrytped with Eye of Gnome.

If you think it would help, I can tell you what settings I have
selected. Otherwise, I can only confirm that it's working on
this box for me.

Does it give you any error message? If not, perhaps we
should find out where Thunderbird logs errors, and maybe
(if you haven't) search any Thunderbird forum/help location
from Mozilla.
Thank you for your answers. I think telling me your settings may be a good idea although Im pretty sure I have everything else set up correctly. When I press decrypt and open I get the passphrase box also but nothing happens after I type this in. No error messages or anything. I know I am typing the correct passphrase because my encypted emails are then unencrypted when i open them immediately afterwards
 
Old 09-28-2004, 09:06 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
I don't think posting my settings would help you, either.
Especially since this is a default setup of the app, and
there's apparently no way to do anything about it - at
least from the gui, unless one learns how to get beyond
that creature to the real app. Which is why I'm only
using Thunderbird as a temporary app, until I test all the
new hardware and 2.6.7 kernel on this box. Then it gets
a facelift, and gui apps like Thunderbird will be retired.

I was going to suggest mozillaZine Thunderbird bugs,
but browsing for your topic lead me to your thread there.

Sorry I couldn't be any help. There is, however, a way
to create a log. From the Thunderbird menu choose
Enigmail -> Preferences -> Debugging, but I suspect
you've done that, also. If not, try creating a debugging
log, close Thunderbird, relaunch, and then try to duplicate
the problem. Afterwards, you should see something in
the error log.

Only one last thought - what is the extension of the message
that will not open? Maybe whatever tells your system to
open the appropriate app is failing to open that attachment?
 
Old 09-28-2004, 09:40 AM   #8
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Original Poster
Rep: Reputation: 15
hmm.

it may have something to do with the file extension - the attachment is an OpenOffice Document with a .sxw extension. However once it has been sent and i try to open it from the email it is <filename>.sxw.pgp

Does the fact that it adds .pgp to the filename affect my ability to open it?

Last edited by steste; 09-28-2004 at 10:02 AM.
 
Old 09-28-2004, 07:20 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
Quote:
Originally posted by steste
hmm.

it may have something to do with the file extension - the attachment is an OpenOffice Document with a .sxw extension. However once it has been sent and i try to open it from the email it is <filename>.sxw.pgp

Does the fact that it adds .pgp to the filename affect my ability to open it?
No. From Enigmail Help
Quote:
Opening encrypted attachments / importing attached OpenPGP keys
Attachments named *.pgp, *.asc and *.gpg are recognized as attachments that can be handled specially by Enigmail. Right clicking on such an attachment enables two special menu items in the context menu: Decrypt and Open and Decrypt and Save. Use these two menu items if you want Enigmail to decrypt an attachment before opening or saving it. If an attachment is recognized as an OpenPGP key file, you are offered to import the keys it into your keyrings.
As a test, I decrypted a .sxw file and emailed it to myself. OOo is
not yet installed on this hard drive. When I clicked the attachment
and chose "Decrypt and Open" I got the same results as you - the
dialog box accepted my password, but nothing else seemed to
happen. I waited over 3 minutes for it to open.

Logic tells me this is because OOo is not installed, and Thunderbird
has no app with which to open a .sxw file.

Did you create a log file? I did, and here's the output of enigenv.txt...
Code:
DISPLAY=:0.0,HOME=/home/mingdao,LANG=en_US,LC_COLLATE=C,LOGNAME=mingdao,LD_LIBRARY_PATH=/home/mingdao/thunderbird:/home/mingdao/thunderbird/plugins:/usr/local/lib/mre/mre-0.8,MOZILLA_FIVE_HOME=/home/mingdao/thunderbird,PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:.,PWD=/home/mingdao,SHELL=/bin/bash,USER=mingdao
If I'm correct, that part listed PATH= tells Thunderbird / Enigmail where
to look to find the app to exec to open files. And if OOo is not in one
of those paths, you would need to either (1) add the correct /path/to/OOo
in that statement, or (2) install OOo to a /path/that/is/available to Enigmail.

Do you have OOo installed? If not, maybe that's the problem. If it is
installed, then something between Thuderbird and OOo is failing to
communicate and open that file. Issue "locate soffice" to find the
path for it's executable.

I've looked in OOo_1.1.2_LinuxIntel_install.tar.gz and it looks like it is
installed to /usr/local by default
Code:
# Set the Defaults Here
oo_version="OpenOffice.org 1.1.2"
oo_home=OpenOffice.org1.1.2
oo_default_prefix=/usr/local
oo_default_netflg=-net
oo_default_interact=no
I noticed something else. In my previous install of OOo, I chose not
to do the "net install" but instead searched for the instructions for a
"single install" and this installed the whole program to my ~/ directory,
and with that install soffice was located at ~/OpenOffice.org1.1.2/program/
which may or may not apply to your situation.

Check out these things and see if it helps.
 
Old 09-29-2004, 04:39 AM   #10
steste
Member
 
Registered: Aug 2004
Location: N Ireland
Distribution: Ubuntu - well trying to!
Posts: 31

Original Poster
Rep: Reputation: 15
Once again thank you for taking the time to help me with this. It is very much appreciated. I am working on a ntework and as far as I am aware the Open Office Installs are done over it. Therefore it is not installed in my /usr/local. However the log which you quote above reflects this. It is ponting at the right place. This is confirmed beacause if I open an unencrypted message it works ok. Its just the "decrypt and open" option which does not work.

However upon looking at the other logs I came across this one in enigcmd.txt
Code:
/usr/bin/gpg --batch --no-tty --status-fd 2 -o '/tmp/Setting up Thunderbird & Enigmail.sxw' --yes  --passphrase-fd 0 --no-use-agent  -d
I dont really know what this means but the "no-use-agent" bit looks a bit dodgy to me?

Last edited by steste; 09-29-2004 at 05:56 AM.
 
Old 09-29-2004, 07:51 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
Quote:
Originally posted by steste
Once again thank you for taking the time to help me with this. It is very much appreciated. I am working on a ntework and as far as I am aware the Open Office Installs are done over it. Therefore it is not installed in my /usr/local. However the log which you quote above reflects this. It is ponting at the right place. This is confirmed beacause if I open an unencrypted message it works ok. Its just the "decrypt and open" option which does not work.

However upon looking at the other logs I came across this one in enigcmd.txt
Code:
/usr/bin/gpg --batch --no-tty --status-fd 2 -o '/tmp/Setting up Thunderbird & Enigmail.sxw' --yes  --passphrase-fd 0 --no-use-agent  -d
I dont really know what this means but the "no-use-agent" bit looks a bit dodgy to me?
I get the same "--no-use-agent -d" whether the file opens or not.

Problem solved, mate!

I booted up another comp running Slackware-10 with Thunderbird-0.7.3
which did not have Open Office installed. I tried the same email with the
same file, and got the same results. So I installed Open Office, and then
tried again. Hey, it works!

The only thing I can suggest is to install it on your computer. It's still not
in a PATH listed by Enigmail - it's in ~/OpenOffice.org1.1.2/soffice and
~/OpenOffice.org1.1.2/program/soffice on this comp because I untarred
and installed it from there.

I assume if you could get the PATH to one of these into your Enigmail, then
it would work. But I don't know how to do that...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 10:40 AM
wine - "can't open directory" & STATUS_UNSUCCESSFUL Avatar Linux - Software 0 06-14-2004 10:25 AM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 02:42 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration