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!
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!
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
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!
... 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?
Has anyone tried to reproduce this?
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