Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Ludwig Hügelschäfer
On 21.02.17 20:55, Anders Bateva wrote:
> Debugging doesn't bugs me.
> 
> Here is the log. I noticed that, 16 times, it tried to open
> "trustdb.gpg" and had "permission denied" ("Permissão negada"). Probably
> isn't what should happen.

No, under these conditions gpg can't work satisfactory. Please repair
the permissions of your ~/.gnupg directory.

chmod -R u+rwx ~/.gnupg
chmod -R go-rwx ~/.gnupg

This can also be done via your file managers GUI.

Ludwig



signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva
Debugging doesn't bugs me.

Here is the log. I noticed that, 16 times, it tried to open
"trustdb.gpg" and had "permission denied" ("Permissão negada"). Probably
isn't what should happen.


Em 21/02/2017 16:42, Ludwig Hügelschäfer escreveu:
> Hi Anders,
>
> On 21.02.17 20:18, Anders Bateva wrote:
>> gpg -K shows nothing
>>
>> gpg2 -K shows the keys
>>
>> So, the storage is different. But I generated all of them on gpg2 and
>> they are stored on gpg2 and Enigmail access gpg2.
> This is all very strange. To find the root of your problems, we would
> need to see the debug log not only during startup, but during the launch
> of Enigmails key manager. Sorry to bug you for more and more debugging
> actions.
>
> So please, restart Thunderbird, and immediately after it is accessible,
> start Enigmails key manager. Then store the log. Thanks for your
> cooperation.
>
> Ludwig
>
>
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Enigmail version 1.9.6.1
OS/CPU=Linux x86_64
Platform=X11
Non-default preference values:
keyCheckResult: {"expiredList":[],"lastCheck":1487672571854}
configuredVersion: 1.9.6.1
keyserver: keys.gnupg.net, pgp.mit.edu, pool.sks-keyservers.net
advancedUser: true

2017-02-21 16:45:48.479 Mozilla Platform: Thunderbird 45.7.0
2017-02-21 16:45:48.478 [DEBUG] keyRing.jsm: EnigmailKeyRing.clearCache
2017-02-21 16:45:48.669 [DEBUG] mimeVerify.jsm: registerContentTypeHandler
2017-02-21 16:45:54.472 [DEBUG] enigmailMsgHdrViewOverlay.js: 
this.msgHdrViewLoad
2017-02-21 16:45:54.512 [DEBUG] enigmailMsgHdrViewOverlay.js: this.hdrViewLoad
2017-02-21 16:45:54.513 [DEBUG] enigmailMessengerOverlay.js: Startup
2017-02-21 16:45:54.513 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute 
oncommand: oldValue=goDoCommand('cmd_print')
2017-02-21 16:45:54.514 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute 
oncommand: oldValue=goDoCommand('cmd_printpreview')
2017-02-21 16:45:54.514 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute 
oncommand: oldValue=goDoCommand('cmd_print')
2017-02-21 16:45:54.514 [DEBUG] enigmailMessengerOverlay.js: *** UNABLE to 
override id=button-print
2017-02-21 16:45:54.515 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute 
oncommand: oldValue=Enigmail.msg.msgPrint('cmd_print');
2017-02-21 16:45:54.517 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute 
oncommand: oldValue=Enigmail.msg.msgPrint('cmd_printpreview');
2017-02-21 16:45:54.517 [DEBUG] enigmailMessengerOverlay.js: 
overrideLayoutChange
2017-02-21 16:45:55.436 [DEBUG] enigmailMsgHdrViewOverlay.js: 
this.msgHdrViewHide
2017-02-21 16:45:55.602 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
2017-02-21 16:45:55.610 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
2017-02-21 16:45:55.626 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
2017-02-21 16:45:56.995 [DEBUG] enigmailMessengerOverlay.js: messageFrameUnload
2017-02-21 16:45:56.995 [DEBUG] enigmailMessengerOverlay.js: messageCleanup
2017-02-21 16:45:56.995 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
2017-02-21 16:46:06.529 [DEBUG] traverseTree: menu_EnigmailPopup2
2017-02-21 16:46:06.530 [DEBUG] traverseTree: enigmail_wizard_basic2
2017-02-21 16:46:06.531 [DEBUG] traverseTree: enigmail_decryptverify2
2017-02-21 16:46:06.532 [DEBUG] traverseTree: enigmail_autoDecrypt2
2017-02-21 16:46:06.532 [DEBUG] traverseTree: enigmail_clearPassphrase2
2017-02-21 16:46:06.532 [DEBUG] traverseTree: enigmail_reload_msg2
2017-02-21 16:46:06.533 [DEBUG] traverseTree: enigmail_sendersKeyMenu2
2017-02-21 16:46:06.533 [DEBUG] traverseTree: enigmail_importpublickey2
2017-02-21 16:46:06.533 [DEBUG] traverseTree: enigmail_keyMgmtDispKeyDetails2
2017-02-21 16:46:06.533 [DEBUG] traverseTree: enigmail_keyMgmtSignKey2
2017-02-21 16:46:06.534 [DEBUG] traverseTree: enigmail_keyMgmtKeyTrust2
2017-02-21 16:46:06.535 [DEBUG] traverseTree: enigmail_keyMgmtShowPhoto2
2017-02-21 16:46:06.535 [DEBUG] traverseTree: enigmailDecryptToFolder2
2017-02-21 16:46:06.536 [DEBUG] traverseTree: enigmailDecryptfileHereMenu2
2017-02-21 16:46:06.536 [DEBUG] traverseTree: enigmail_keymgmt2
2017-02-21 16:46:06.536 [DEBUG] traverseTree: enigmail_smartCard2
2017-02-21 16:46:06.536 [DEBUG] traverseTree: enigmail_RulesEditor2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_prefs2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_help2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_debugMenu2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_console2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_debug_log2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_wizard_advanced2
2017-02-21 16:46:06.537 [DEBUG] traverseTree: enigmail_about2
2017-02-21 16:46:09.082 [DEBUG] enigmailMessengerOverlay.js: 
updateOptionsDisplay: 
2017-02-21 

Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Ludwig Hügelschäfer
Hi Anders,

On 21.02.17 20:18, Anders Bateva wrote:
> gpg -K shows nothing
> 
> gpg2 -K shows the keys
> 
> So, the storage is different. But I generated all of them on gpg2 and
> they are stored on gpg2 and Enigmail access gpg2.

This is all very strange. To find the root of your problems, we would
need to see the debug log not only during startup, but during the launch
of Enigmails key manager. Sorry to bug you for more and more debugging
actions.

So please, restart Thunderbird, and immediately after it is accessible,
start Enigmails key manager. Then store the log. Thanks for your
cooperation.

Ludwig




signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] imposible to generate key

2017-02-21 Thread Ludwig Hügelschäfer
On 21.02.17 20:25, Mike Acker wrote:
> could be a problem between Enigmail and GPG2.1 .
> 
> i think gpg2.1 has only recently become available

I'm using gpg 2.1 since more than a year together with Enigmail.

> what i would try: set Enigmail to use gpg rather than gpg2.   go back
> and generate a key using gpg then rather than gpg2.1this clearly
> isn't where you want to end up but the test results could very likely be
> useful

This will not reveal the reason of Anders' problems, I'm afraid.

> you are not playing with EC Curves   are you?

Enigmail together with gpg2.1 can display EC Curve based keys perfectly.

Ludwig




signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] imposible to generate key

2017-02-21 Thread Mike Acker

  
  
could be a problem
between Enigmail and GPG2.1 .
i think gpg2.1 has only
recently become available
what i would try: set
Enigmail to use gpg rather than gpg2.   go back and generate a
key using gpg then rather than gpg2.1    this clearly isn't
where you want to end up but the test results could very likely
be useful
you are not playing
with EC Curves   are you?


On 02/21/2017 01:37 PM,
  enigmail-users-requ...@enigmail.net wrote:


  This is because the keys were generated with GnuPG 2.1. GnuPG 2.1 stores
the keys differently than GnuPG 1.4 and 2.0; therefore you don't see
these keys with "gpg".

As you do have a list of keys from gpg2, I'd recommend you set the path
for GnuPG in Enigmail to /usr/bin/gpg2 (menu Enigmail > Preferences),
such that these keys are visible in Enigmail.

-Patrick


-- 
/Mike
  


___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva
gpg -K shows nothing

gpg2 -K shows the keys


So, the storage is different. But I generated all of them on gpg2 and
they are stored on gpg2 and Enigmail access gpg2.


Em 19/02/2017 04:19, Ludwig Hügelschäfer escreveu:
> On 18.02.17 13:21, Anders Bateva wrote:
>> Em 16/02/2017 19:03, Ludwig Hügelschäfer escreveu:
>>> On 16.02.17 21:41, Anders Bateva wrote:
>>>
 Maybe... It's communicating with gpg (v1) instead of gpg (v2)? That
 symlink thing that was initially told?
>>> That's a possible reason. To be sure, would you please create a debug
>>> log file after a startup of Enigmail (Instructions are here:
>>> https://enigmail.net/index.php/en/faq?view=topic=15#faqLink_6) and
>>> post it here. You may want to obfuscate personal information in the file
>>> before posting it here.
>> Log attached.
> This looks all unproblematic. Enigmail finds gpg2 and will use it. There
> should be no problem at all when using Enigmail. To clarify what has
> happend, would you please check the output of the following commands:
>
>   gpg -K
>
> and
>
>   gpg2 -K
>
> (remind that K is a capital letter). If the outcome is different, then
> you generated your key with one gpg version, Enigmail uses the other and
> they have different storage systems.
>
> Ludwig
>
>
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva
They don't appear on the Enigmail key manager. There is no configuration
to be done on the keys inside the addon.


Em 21/02/2017 16:00, Onno Ekker escreveu:
> Did you set owner trust on the keys?
>
> On 21 Feb 2017, at 19:37, Anders Bateva
>  > wrote:
>
>> Checked by default.
>>
>> Unchecking and checking again does not change anything.
>>
>>
>> Em 21/02/2017 15:33, Ludwig Hügelschäfer escreveu:
>>> On 21.02.17 17:53, Anders Bateva wrote:
 Path is already set to  /usr/bin/gpg2 by default.
>>> Anders, did you check the checkbox "Display All keys by Default"?
>>>
>>> Ludwig
>>>
>>>
>>>
>>>
>>> ___
>>> enigmail-users mailing list
>>> enigmail-users@enigmail.net
>>> To unsubscribe or make changes to your subscription click here:
>>> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
>>
>> ___
>> enigmail-users mailing list
>> enigmail-users@enigmail.net 
>> To unsubscribe or make changes to your subscription click here:
>> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Onno Ekker
Did you set owner trust on the keys?

> On 21 Feb 2017, at 19:37, Anders Bateva  
> wrote:
> 
> Checked by default.
> 
> Unchecking and checking again does not change anything.
> 
> Em 21/02/2017 15:33, Ludwig Hügelschäfer escreveu:
>>> On 21.02.17 17:53, Anders Bateva wrote:
>>> Path is already set to  /usr/bin/gpg2 by default.
>> Anders, did you check the checkbox "Display All keys by Default"?
>> 
>> Ludwig
>> 
>> 
>> 
>> 
>> ___
>> enigmail-users mailing list
>> enigmail-users@enigmail.net
>> To unsubscribe or make changes to your subscription click here:
>> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
> 
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


smime.p7s
Description: S/MIME cryptographic signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva
Checked by default.

Unchecking and checking again does not change anything.


Em 21/02/2017 15:33, Ludwig Hügelschäfer escreveu:
> On 21.02.17 17:53, Anders Bateva wrote:
>> Path is already set to  /usr/bin/gpg2 by default.
> Anders, did you check the checkbox "Display All keys by Default"?
>
> Ludwig
>
>
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Ludwig Hügelschäfer
On 21.02.17 17:53, Anders Bateva wrote:
> Path is already set to  /usr/bin/gpg2 by default.

Anders, did you check the checkbox "Display All keys by Default"?

Ludwig




signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva


Em 16/02/2017 17:24, Ludwig Hügelschäfer escreveu:
> Hi Anders,
>
> On 16.02.17 18:36, Anders Bateva wrote:
>> Hello I used /"gpg2 --full-gen-key/", and a key pair was generated in
>> less than 10 minutes.
> That's quite long and an indication of missing entropy.
>
>> But, after generating, I used "/gpg2 -k/" and
>> discovered there are 5 keys for my e-mail address on my computer.
>> Appears some of the earlier tentatives of creating the key pair really
>> created a key pair. Those are set to expire on 2021 or 2022. The one I
>> created right now is set to expire on 2018.
> Having an expiry date is not a bad idea. I once was glad that an
> unusable, but uploaded key had an expiry date set. If it is near, then
> you can easily extend the expiry period. Enigmail will tell you when the
> expiry is near. You then can decide what to do.
>
>> Now, what should I do, in order to start using the key pair on my
>> Thunderbird client, "/gpg2 --send-keys/"?
>> And how to "cancel" the previous key pairs, "/--delete-keys/",
>> "/--gen-revoke/"?
> As Doug said: If they were never used and are not uploaded or sent
> anywhere, just delete them.
>
> The next thing to do is to tell Enigmail to use the last generated key.
> You should open the settings of the account you want to use with
> encryption. Then select "OpenPGP security". The checkbox "Enable OpenPGP
> support" should be selected.
Already selected.
> Next, use the "Use specific OpenPGP key ID" should be selected. Click on
> the "Select key..." button. A key listing should open. Select the key
> you want to use.
Blank.
> If you have further questions, please ask!
>
> Ludwig
>
>
>
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva
Path is already set to  /usr/bin/gpg2 by default.

Em 21/02/2017 13:49, Patrick Brunschwig escreveu:
> On 21.02.17 17:43, Anders Bateva wrote:
>>
>> Em 19/02/2017 09:29, Mike Acker escreveu:
>>> On 02/19/2017 02:19 AM, enigmail-users-requ...@enigmail.net wrote:
 Impossible to generate key
>>> ==>
>>> If they don't come up, then from the Enigmail, Key Management dialog, 
>>> select the File
>>> option and hit reload key cache.this should get the keys for you;
>>> let us know if it does not.
>>>
>>> Nothing shown.
>>> <==
>>>
>>> this means your Thunderbird is not communicating with the daemon -- i think 
>>> they call it gnome-keyring-daemon.   this means something is not installed 
>>> properly.   i'd try removing the Enigmail plug-in and then re-install it.
>> I already did this many times before.
>>> it appears to me that gpg and gpg2 use the same keyring: if i do --list-key 
>>> using either program i get the same result.   you should too; you might 
>>> check this -- did you mention you had un-installed or attempted to 
>>> un-install gpg ?you don't want to do that: keep both programs on your 
>>> system.
>> Nope, /gpg --list-key/ return nothing, while /gpg2 --list-key/ returns 5
>> keys I generated + 1 I added and don't know how.
> This is because the keys were generated with GnuPG 2.1. GnuPG 2.1 stores
> the keys differently than GnuPG 1.4 and 2.0; therefore you don't see
> these keys with "gpg".
>
> As you do have a list of keys from gpg2, I'd recommend you set the path
> for GnuPG in Enigmail to /usr/bin/gpg2 (menu Enigmail > Preferences),
> such that these keys are visible in Enigmail.
>
> -Patrick
>
>
>
> ___
> enigmail-users mailing list
> enigmail-users@enigmail.net
> To unsubscribe or make changes to your subscription click here:
> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Patrick Brunschwig
On 21.02.17 17:43, Anders Bateva wrote:
> 
> 
> Em 19/02/2017 09:29, Mike Acker escreveu:
>> On 02/19/2017 02:19 AM, enigmail-users-requ...@enigmail.net wrote:
>>> Impossible to generate key
>> ==>
>> If they don't come up, then from the Enigmail, Key Management dialog, select 
>> the File
>> option and hit reload key cache.this should get the keys for you;
>> let us know if it does not.
>>
>> Nothing shown.
>> <==
>>
>> this means your Thunderbird is not communicating with the daemon -- i think 
>> they call it gnome-keyring-daemon.   this means something is not installed 
>> properly.   i'd try removing the Enigmail plug-in and then re-install it.
> I already did this many times before.
>> it appears to me that gpg and gpg2 use the same keyring: if i do --list-key 
>> using either program i get the same result.   you should too; you might 
>> check this -- did you mention you had un-installed or attempted to 
>> un-install gpg ?you don't want to do that: keep both programs on your 
>> system.
> Nope, /gpg --list-key/ return nothing, while /gpg2 --list-key/ returns 5
> keys I generated + 1 I added and don't know how.

This is because the keys were generated with GnuPG 2.1. GnuPG 2.1 stores
the keys differently than GnuPG 1.4 and 2.0; therefore you don't see
these keys with "gpg".

As you do have a list of keys from gpg2, I'd recommend you set the path
for GnuPG in Enigmail to /usr/bin/gpg2 (menu Enigmail > Preferences),
such that these keys are visible in Enigmail.

-Patrick



signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Impossible to generate key

2017-02-21 Thread Anders Bateva


Em 19/02/2017 09:29, Mike Acker escreveu:
> On 02/19/2017 02:19 AM, enigmail-users-requ...@enigmail.net wrote:
>> Impossible to generate key
> ==>
> If they don't come up, then from the Enigmail, Key Management dialog, select 
> the File
> option and hit reload key cache.this should get the keys for you;
> let us know if it does not.
>
> Nothing shown.
> <==
>
> this means your Thunderbird is not communicating with the daemon -- i think 
> they call it gnome-keyring-daemon.   this means something is not installed 
> properly.   i'd try removing the Enigmail plug-in and then re-install it.
I already did this many times before.
> it appears to me that gpg and gpg2 use the same keyring: if i do --list-key 
> using either program i get the same result.   you should too; you might check 
> this -- did you mention you had un-installed or attempted to un-install gpg ? 
>you don't want to do that: keep both programs on your system.
Nope, /gpg --list-key/ return nothing, while /gpg2 --list-key/ returns 5
keys I generated + 1 I added and don't know how.
>
> i see you sent Ludwig debug logs; he's a much better help on this than me!
>
>
>

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net