ag-mailcrypto / storm-plugin

Thunderbird plugin to implement the STORM encryption concept, not based on enigmail
GNU General Public License v3.0
6 stars 0 forks source link

Added preferences to use non-default keyrings (e.g. for development) #19

Closed opatut closed 11 years ago

opatut commented 11 years ago

Please test this. You can generate a new pair of keyrings using the following command:

gpg --no-default-keyring --keyring debug-pub.gpg --secret-keyring debug-sec.gpg --gen-key

This will create the keyrings debug-{pub,sec}.gpg in your ~/.gnupg/ folder. If you enter these file names or absolute paths in the settings, the keyrings will be found by gpg. I recommend creating an alias for running debug commands on the debug keyrings, e.g.

alias gpgdebug='gpg --no-default-keyring --keyring debug-pub.gpg --secret-keyring debug-sec.gpg"
gnomus commented 11 years ago

I suggest to add the trustDB to the options. We could merge the Settings and just let the User define a custom Folder for pub/sec-ring and trustDB