You are here

[Fixed] GPG paths with 2nd, 3rd profiles

19 posts / 0 new
Last post
erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
[Fixed] GPG paths with 2nd, 3rd profiles

Can somebody tell me why portable GPG memorize created keys in the C:\Documents and Settings\user\Application Data\gnupg directory
and not in the ThunderbirdPortable profile directory?
How it is possible to fix it?
I am working with Thunderbird 14.0 and GPGPortable 1.4.12 and Enigmail 1.4.3
Thanks to everybody
Erasmo

ottosykora
Offline
Last seen: 14 hours 13 min ago
Joined: 2007-10-11 17:48
gpg itself

does that by default if no other keyrings found, but you simply take those keyrings and copy it to the data folder, delete the in the appdata and the gpg will use them.

You may still find in the appdata folder some empty files, kind of dummy files with the names of the keyrings etc. You may delete them.

Otto Sykora
Basel, Switzerland

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
GPG Portable directories - MORE

Finally the problem I described in my first post only arrive with a Second (or Third) Profile with Thunderbird Portable.
The main profile work fine.
Is a bug or there is something wrong in my practice?
thanks for the help
Erasmo

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
GPG Main

I think GPG+Enigmail only works with the main Thunderbird Profile. I don't think Thunderbird 2nd profile supports it (since everything isn't in the locations it expects). I'll take a look at it tomorrow.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Test Fix

Could you please try this text fix. Just download it and replace your existing ThunderbirdPortable2ndProfile.exe. It should direct GPG to the GPG install in your mail TBP install and GPGHome to a new GPG directory within TBP2ndProfile\Data.

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
[Fix Tested] GPG paths with 2nd, 3rd profiles

Dear John thanks for your reply and to trying to fix the problem.
I tested your fix:
1) there is problems in addressing the installation directory ThunderbirdPortable2ndProfile.
2) after manually corrected the installation I tested the fix, but it still don't work properly: If I generate a GPG key pair in a 2np profile the program continue to update the database keyring in the C:\Documents and Settings\user\Application Data\gnupg directory.
Strangely the program don't read back the data in the same directory, because he don't list the generated key.

Shortly: there is still to work.
I am sure that with a small effort you will be able enough to fix these problems.
Thanks
Erasmo

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Addressing?

What do you mean in addressing the installation directory. You should be able to just explore to X:\PortableApps\ThunderbirdPortable2ndProfile (or similar) and replace the EXE there, correct?

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
Addressing:

Yes it was what I would tell.
When I execute ThunderbirdPortable2ndProfile.exe (the fixed one) to install, he search ..\ThunderbirdPortable\ThunderbirdPortable.exe from his resident directory and if he don't find the installation program not even run giving an error message.
Yes, as you told, I bypassed manually this bug (anyway is to fix); but, after a proper installation, the main bug concerning the GPG paths is anyway not fixed as I described in the point 2) of my previous post.
Thanks

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
One week after

Dear John,
one week passed after our last post and no more news from you.
Can you tell me if you are working on our problem or if you renounced? Can I help you in something to try to fix it?
Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Don't Use It Right Now, Next Week Or Two

For now, don't use GPG/Enigmail with 2nd etc profiles as is indicated on the 2nd profile section of Thunderbird Portable's support page. They're primarily intended for advanced users testing things like extensions and things out in clean profiles anyway, so I think you may be the only user affected.

I will likely need to rework the whole Thunderbird Portable launcher for this to work right just for this one issue. It's not just something simple in the Thunderbird Portable 2nd Launcher EXE I can fix. I have to rework both of them and then release an updated TBP.exe launcher in conjunction with an upcoming release of Thunderbird Portable. So, it will likely get done with an upcoming Thunderbird release on August 28th. If I have a launcher available to test before then, it will be posted here, so please ensure you are subscribed to get email notifications.

Lastly, please be sure not to modify the topic of this post. By putting text in front of [Bug] in the subject, you removed it from the bug tracker. And we don't want to lose it! Smile

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Test Fix # 2

Ok, please try using this ThunderbirdPortable.exe launcher in place of your current Thunderbird Portable one and this ThunderbirdPortable2ndProfile.exe in place of your current one. These are not installers, they are just the launchers that should be downloaded and copied over your existing ones. It should properly point to the GPG Path in the main TBP install and the GPG Home Path in your 2nd profile's Data directory.

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
I wanted, ...

... try to use your new fixes but the links above not worked (404 error).
Anyway, thanks for work on the problem. Take your time, I shall wait patiently.
No problem.
Sorry for changed [BUG] in front of the subject, it was only for ignorance and with purpose of attract your attention. Sorry again.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Links Fixed

Sorry, I had a typo in the links. They are working now.

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
Positively Tested

Finally I downloaded and tested the two fixed launchers and they worked fine. We only need to wait now for the definitive installer version, but don't worry, take your time. We have already a good provisional solution so. Thanks

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed Thunderbird 15.0 and Second Profile 1.2

I added the fix into yesterday's Thunderbird Portable 15.0 release as well as the 10.0.7 ESR release. The updated Second Profile 1.2 app supports it as well. I added the same support to today's SeaMonkey Portable release as well as its Second Profile app.

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
Thunderbird Portable 2nd Profile Installer don't work

After chosen the installation language, the installation process stop with the canonical Microsoft window error message.
On the contrary, the installation of Firefox Portable 2nd Profile worked fine.
What happens?

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Works Fine Here

It works just fine here on both Windows XP and Windows 7. Are you sure you got a complete download?

Sometimes, the impossible can become possible, if you're awesome!

erasmo52
Offline
Last seen: 1 month 2 weeks ago
Joined: 2007-02-24 04:43
After your message ....

I tried to run the installer again, with administrator privileges and it worked fine.
Finally to run correctly the installer "ThunderbirdPortable2ndProfile_1.2.paf.exe" need administrator privileges.
It is the first portable application which behaves so, probably it was not your intention and you would fix it.
If you run the installer with common user privileges you will have the same problems I had. Try.
Thanks anyway

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
It Doesn't

I'm running it without admin privs right now. Both Windows XP and Windows 7. Works fine. It's exactly the same installer code used in every other portable app including the Firefox Portable 2nd profile installer.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments