You are here

enigmail takes C:\ for keyring files

7 posts / 0 new
Last post
nonano
Offline
Last seen: 15 years 4 months ago
Joined: 2009-05-04 14:46
enigmail takes C:\ for keyring files

Hi all,

I have recently set up a Portable Thunderbird with GnuPG (and Lightning) extension which seemed to run pretty well at the first glance.

Now that I am trying to set up another USB-stick in the same manner, I learned that gpg stores the keyring files under C:\

I made some experiments with adding parameters in the 'expert settings' dialogue or putting a gpg.conf file in the gpg root directory (where the gpg.exe lives) -- I didn't suceed, needless to mention.

To clearify the whole issue, here is how I figured out which keyring is used:

Input

G:\gnupg-thunderbird\ThunderbirdPortable\App\gpg\gpg.exe --list-keys

output

C:/Dokumente und Einstellungen/JohnDoe/Anwendungsdaten/gnupg\pubring.gpg
-----------------------------------------------------------------------
(... key list here ...)

How can I tell Enigmail / gnupg to use the gnupg directory (in this case, G:\gnupg-thunderbird\ThunderbirdPortable\App\gpg\) for the keyring files?

Thanks in advance!

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 26 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Enigmail Stores On Key

Enigmail will store it on the key as it has for years now when used in this configuration. You can't use any of the gpg tools directly, though. Only via Enigmail within Thunderbird Portable.

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

nonano
Offline
Last seen: 15 years 4 months ago
Joined: 2009-05-04 14:46
I don't get it.

I don't get it.
Does that mean, A different keyring is used when I use cmd to list the keys rather than the gui?
The test case is one computer (and the same user account for both users) which is used by two persons. Both are using Enigmail within Thunderbird Portable. Since this configuration uses C:\, they have to share their keyrings?

According to that, enigmail is only semi-portable?

enigmail Console

EnigmailAgentPath=G:\gnupg-thunderbird\ThunderbirdPortable\App\gpg\gpg.exe
(...)
Home: C:/Dokumente und Einstellungen/JohnDoe/Anwendungsdaten/gnupg
John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 26 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Launcher

The Thunderbird Portable launcher will automatically configure Enigmail to use the keyring on your USB device in the default location or in the location you configure in the optional ThunderbirdPortable.ini if you use it (explained in the readme in Other\Source). If you manually reconfigure it in Enigmail, though, it won't then reset it... it assumes you know what you're doing if you reconfigure it and doesn't second guess you (in which case it would then not be portable).

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

nonano
Offline
Last seen: 15 years 4 months ago
Joined: 2009-05-04 14:46
Thanks for the detailed explanation

... That made things clearer to me. On the other Hand, the console (which I opened via OpenPGP -> Debugging OpenPGP -> View Console) as quoted above indicates that Enigmail (launched via Thunderbird Portable) uses C:\ as its home directory.

Perhaps the problem is caused by a previously installed "Gnu Privacy Guard" which environment vars mess up the whole thing?

nonano
Offline
Last seen: 15 years 4 months ago
Joined: 2009-05-04 14:46
*push*

Has anyone tried to reproduce this?

ottosykora
Offline
Last seen: 7 hours 39 min ago
Joined: 2007-10-11 17:48
negative here, my output of

negative here, my output of the mentioned console:

Initializing Enigmail service ...
EnigmailAgentPath=L:\PortableApps\ThunderbirdPortable\App\gpg\gpg.exe

enigmail> L:\PortableApps\ThunderbirdPortable\App\gpg\gpg.exe --version --versio
n --batch --no-tty --charset utf8
gpg (GnuPG) 1.4.9

Copyright (C) 2008 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

Home: L:/PortableApps/ThunderbirdPortable/Data/gpg

Supported algorithms:

Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA

Cipher: IDEA (S1), 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8),

AES256 (S9), TWOFISH (S10)

Hash: MD5 (H1), SHA1 (H2), RIPEMD160 (H3), SHA256 (H8), SHA384 (H9),

SHA512 (H10), SHA224 (H11)

Compression: Uncompressed (Z0), ZIP (Z1), ZLIB (Z2), BZIP2 (Z3)

----
whereby L: is the usb stick at the moment.

Whe you go to Oen PGP, preferencies, what path is contained there? Is the tickbox selected?

Otto Sykora
Basel, Switzerland

Log in or register to post comments