Re: [Enigmail] can't import keys

2016-01-27 Thread Daniel Kahn Gillmor
On Sun 2016-01-24 09:13:13 -0500, Patrick Brunschwig wrote:
> On 24.01.16 11:51, Ludwig Hügelschäfer wrote:
>> On 24.01.16 04:32, Rob Landau wrote:
>>> Many error messages per session, it seems, such as: TypeError:
>>> Enigmail.msg.addressOnChange(...) is undefined
>> 
>> This is a problem! Can you please give the related file and line
>> number?
>
> No, this is not a problem. This is nothing to worry about. These are
> the typical error messages that you see from time to time when you
> open a new compose window. They have to do with an unforeseeable
> sequence of of how Thunderbird does certain things (asynchronously).

is this something that can be tested for and cleanly skipped then?
generating spurious error messages in the console just distracts from
real error messages.

 --dkg

___
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] can't import keys

2016-01-27 Thread Ludwig Hügelschäfer
Hi, sorry for the late followup - I thought I had already answered.

On 03.01.16 20:10, Rob Landau wrote:
> Hello Ludvig:  Is this what you want?
> total 36
> -rw--- 1 rob rob 1200 Dec 27 19:44 trustdb.gpg
> -rw--- 1 rob rob0 Dec 27 10:49 secring.gpg
> -rw-r--r-- 1 rob rob 1659 Apr 10  2011 Rob MS .gpg
> -rw--- 1 rob rob  600 Dec 27 18:38 random_seed
> -rw--- 1 rob rob0 Dec 27 10:49 pubring.gpg~T
> -rw--- 1 rob rob   54 Dec 27 11:00 pubring.gpg
> drwx-- 2 rob rob 4096 Jan  2 12:00 private-keys-v1.d/
> -rw--- 1 rob rob 9398 Dec 27 10:49 gpg.conf
> -rw-rw-r-- 1 rob rob  550 Dec 30 12:12 Bob.asc

Yes, that's sufficient. Access rights are ok.

The size of pubring.gpg is VERY small and different from pubring.gpg~.
This indicates that the operation failed even on the first key.

As the keyrings are practically empty, you could as well delete
pubring.* and secring.* and try to import again. As your problem is a
bit special, it would be better, if you try to this on the command line.

This would look like:

gpg2 --import --allow-weak-digest-algos 

if you haven't gpg2, try with gpg.

This is a workaround to keep you running. You should generate a new key
pair and distribute the public key soon and use your old one only for
decrypting old stuff.

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] can't import keys

2016-01-24 Thread Patrick Brunschwig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 24.01.16 11:51, Ludwig Hügelschäfer wrote:
> On 24.01.16 04:32, Rob Landau wrote:
>> Many error messages per session, it seems, such as: TypeError:
>> Enigmail.msg.addressOnChange(...) is undefined
> 
> This is a problem! Can you please give the related file and line
> number?

No, this is not a problem. This is nothing to worry about. These are
the typical error messages that you see from time to time when you
open a new compose window. They have to do with an unforeseeable
sequence of of how Thunderbird does certain things (asynchronously).

[...]

- -Patrick

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJWpNv4AAoJENsRh7ndX2k7yTMP/0iIUam2kq6rxBZg4TjYm16E
0SWQBCDopHi+Xo6iehevbdigfr2I/LA650fFUm+H+DcrSlyDikPhm5Ucv8czQbod
PbE7/z72sya1+Xadb+n9TGZP2lZk18VCf07PHbA7C9Y8w4i6c+RdXjokAwqfprFk
ykM+jumRxPjly89ZZCiSvX3sqez4QTGFRh6+e5uy5/iGoHJMP0RTkHvz5EU0sEXv
/k+Meyc6LJmN5tYT94aR6ltl93ypZuyJzRRje+iR0Lc/o5mhO2XuHAq1jVKxBIxp
WCSAZREkpDJQFzlM3ebaE5SEwBg2I36WSCHMdPPPYhpTXLT7TtniRFeTTCcGKlr6
gUoNKgkN67O9h1pDDbzLl1Dt06y7DAtj0/G31lkjey631S1gWqCDav74lOmjL8Z1
xzH9JKmC1bAzYHFbETWdOeqMHraFF3gbN3CXCM7jkdUz67CxbIR98r5o8E0DyX52
llgTOVLxd9HkA9ycP5rPa4hWC8G758Oy1XpKIzwBrZjmtbf4hnZd8QGfD0Y0QkCL
kB0eFUMNXeRiUmRuvUZ24cqWotuRMldJ2K4zxzRkEl15oKRL4LfkHMqXv7d+aVDs
qdfur70TtjCynL6jUSDSyBPNeA/TXK7vwBo761T5xrHXYMduGFX36imCUupqkEaB
kaCiCYLof6++FYZb/t78
=BsFe
-END PGP 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] can't import keys

2016-01-24 Thread Ludwig Hügelschäfer
On 24.01.16 04:32, Rob Landau wrote:
> Many error messages per session, it seems, such as:
> TypeError: Enigmail.msg.addressOnChange(...) is undefined

This is a problem! Can you please give the related file and line number?

The rest is irrelevant.

> Any help would still be appreciared -- I have keys from PGP 6.5.8 and
> from 5.5.5, and it seems I cannot import them, or if I can I can't find
> them in Enigmails key manager.  Sorry I'm so new to Linux.

Having such old keys is an important information in the context of your
problem. They probably use internally the old MD5 digest algorithm.

GnuPG from 2.0.23 on does not accept such keys unconditionally:

> Noteworthy changes in version 2.0.23 (2014-06-03)
> -
>
> * gpg: Reject signatures made using the MD5 hash algorithm unless the
>new option --allow-weak-digest-algos or --pgp2 are given.

The same is true for 1.4.20 (2015-12-20).

With the above mentioned switch you can import them, but you should
develop a migration strategy to make you independent of such old keys.

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] can't import keys

2016-01-23 Thread Rob Landau
Many error messages per session, it seems, such as:
TypeError: Enigmail.msg.addressOnChange(...) is undefined
chrome://messanger/content/messangercompose/messangercompose.xul

also lots of warning about forcing children to be wrapped in a block.  All
opaque to me.

Any help would still be appreciared -- I have keys from PGP 6.5.8 and from
5.5.5, and it seems I cannot import them, or if I can I can't find them in
Enigmails key manager.  Sorry I'm so new to Linux.

Cheers   ~Rob

On Sat, Jan 2, 2016 at 9:18 PM, Ludwig Hügelschäfer 
wrote:

> On 02.01.16 00:44, Rob wrote:
> > Hi - I'm trying to import keys using the Enigmail Key Management menu
> > item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
> > in the Ubuntu Software Center shows a title bar, a menu bar, and a
> > search box, then an empty list of keys.  My window shows all that but no
> > menu bar, so I can't get to the file menu and the import routines.
> > Right clicking the empty list gets a menu that allows me to export and
> > delete keys, but import is not even an dimmed item in this menu.  I feel
> > crippled.   Thanks for help.
>
> I'm not familiar with Linux installations, but: Do you have any
> Enigmail-related entries in the Thunderbird Error Console (Tools ->
> Error Console)?
>
> 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] can't import keys

2016-01-03 Thread Rob Landau
Hello Ludvig:  Is this what you want?
total 36
-rw--- 1 rob rob 1200 Dec 27 19:44 trustdb.gpg
-rw--- 1 rob rob0 Dec 27 10:49 secring.gpg
-rw-r--r-- 1 rob rob 1659 Apr 10  2011 Rob MS .gpg
-rw--- 1 rob rob  600 Dec 27 18:38 random_seed
-rw--- 1 rob rob0 Dec 27 10:49 pubring.gpg~
-rw--- 1 rob rob   54 Dec 27 11:00 pubring.gpg
drwx-- 2 rob rob 4096 Jan  2 12:00 private-keys-v1.d/
-rw--- 1 rob rob 9398 Dec 27 10:49 gpg.conf
-rw-rw-r-- 1 rob rob  550 Dec 30 12:12 Bob.asc

Cheers   ~Rob

On Sun, Jan 3, 2016 at 11:23 PM, Ludwig Hügelschäfer 
wrote:

> On 03.01.16 03:53, Rob wrote:
> > Hello again -- I'm afraid that even with  File > Import keys from File
> > in Enigmail, I get what must be errors as the window in Key Management
> > remains empty.  I've tried three imports and get :
>
> It seems, your keyring files are corrupt or not properly accessible by
> gnupg.
>
> Did you use some special folder for storing them? On a unixoid system,
> they should be in a folder named .gnupg in your home directory. What is
> the contents of this folder in your installation (file listing and
> access rights are sufficient)?
>
> 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] can't import keys

2016-01-03 Thread Ludwig Hügelschäfer
On 03.01.16 03:53, Rob wrote:
> Hello again -- I'm afraid that even with  File > Import keys from File 
> in Enigmail, I get what must be errors as the window in Key Management
> remains empty.  I've tried three imports and get :

It seems, your keyring files are corrupt or not properly accessible by
gnupg.

Did you use some special folder for storing them? On a unixoid system,
they should be in a folder named .gnupg in your home directory. What is
the contents of this folder in your installation (file listing and
access rights are sufficient)?

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] can't import keys

2016-01-02 Thread Rob
Hello again -- I'm afraid that even with  File > Import keys from File 
in Enigmail, I get what must be errors as the window in Key Management
remains empty.  I've tried three imports and get :

Either I get this:


The key(s) were successfully imported


gpg: no valid OpenPGP data found.

gpg: Total number processed: 0



OR I get this when I try importing exported PGP keys


The key(s) were successfully imported


gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_get_keyblock failed: Unknown system error

gpg: [don't know]: invalid packet (ctb=2f)

gpg: /home/rob/.gnupg/pubring.gpg: copy to
`/home/rob/.gnupg/pubring.gpg.tmp' failed: Invalid packet

gpg: error writing keyring `/home/rob/.gnupg/pubring.gpg': Invalid packet

gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_search failed: Invalid packet

gpg: key 86A04EF5: public key "[User ID not found]" imported

gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_search failed: Invalid packet

gpg: error reading `/home/rob/Desktop/J. Meisner.asc': Invalid packet

gpg: import from `/home/rob/Desktop/J. Meisner.asc' failed: Invalid packet

gpg: Total number processed: 0

gpg: imported: 1



OR this:

gpg: requesting key 4F3DB022 from hkp server pool.sks-keyservers.net

gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_get_keyblock failed: Unknown system error

gpg: [don't know]: invalid packet (ctb=2f)

gpg: /home/rob/.gnupg/pubring.gpg: copy to
`/home/rob/.gnupg/pubring.gpg.tmp' failed: Invalid packet

gpg: error writing keyring `/home/rob/.gnupg/pubring.gpg': Invalid packet

gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_search failed: Invalid packet

gpg: key 4F3DB022: public key "[User ID not found]" imported

gpg: [don't know]: invalid packet (ctb=2f)

gpg: keydb_search failed: Invalid packet

gpg: error reading `[stream]': Invalid packet

gpg: Total number processed: 0

gpg: imported: 1 (RSA: 1)



On 02/01/16 22:12, Alexander Buchner wrote:
> On 02.01.2016 00:44, Rob wrote:
>> Hi - I'm trying to import keys using the Enigmail Key Management menu
>> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
>> in the Ubuntu Software Center shows a title bar, a menu bar, and a
>> search box, then an empty list of keys.  My window shows all that but no
>> menu bar, so I can't get to the file menu and the import routines. 
>> Right clicking the empty list gets a menu that allows me to export and
>> delete keys, but import is not even an dimmed item in this menu.  I feel
>> crippled.   Thanks for help.
> Are you already familiar with Ubuntu?
> Could it be that you look for the menu in the "wrong" place?
>
> Ubuntu moved the windows' menus to another place in some versions, see:
> http://www.howtogeek.com/187999/how-to-enable-local-menus-in-ubuntu-14.04/
>
>
>
> ___
> 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] can't import keys

2016-01-02 Thread Rob
Hi Ludwig, thanks for pointing out the error console -- but there
doesn't appear to be any enigmail stuff there.  But I think the problem
has been fixed now.   Cheers   ~Rob

On 02/01/16 21:18, Ludwig Hügelschäfer wrote:
> On 02.01.16 00:44, Rob wrote:
>> Hi - I'm trying to import keys using the Enigmail Key Management menu
>> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
>> in the Ubuntu Software Center shows a title bar, a menu bar, and a
>> search box, then an empty list of keys.  My window shows all that but no
>> menu bar, so I can't get to the file menu and the import routines. 
>> Right clicking the empty list gets a menu that allows me to export and
>> delete keys, but import is not even an dimmed item in this menu.  I feel
>> crippled.   Thanks for help.
> I'm not familiar with Linux installations, but: Do you have any
> Enigmail-related entries in the Thunderbird Error Console (Tools ->
> Error Console)?
>
> 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] can't import keys

2016-01-02 Thread Rob
Thank you Alexander -- no this is my first Linux system, and yes your
tip brought the menu alive and I see the import function now.  If I
still have trouble I'll write again.  However now I can't seem to get
the "This message will be signed" option to go away, and as I have no
imported keys to sign with, I can't send it just now.  Ok--worked that
one out. Thanks   ~Rob

On 02/01/16 22:12, Alexander Buchner wrote:
> On 02.01.2016 00:44, Rob wrote: >> Hi - I'm trying to import keys using the 
> Enigmail Key Management
menu >> item in Thunderbird from Ubuntu 14.04.  The picture of the start
screen >> in the Ubuntu Software Center shows a title bar, a menu bar,
and a >> search box, then an empty list of keys.  My window shows all
that but no >> menu bar, so I can't get to the file menu and the import
routines. >> Right clicking the empty list gets a menu that allows me to
export and >> delete keys, but import is not even an dimmed item in this
menu.  I feel >> crippled.   Thanks for help. > > Are you already
familiar with Ubuntu? > Could it be that you look for the menu in the
"wrong" place? > > Ubuntu moved the windows' menus to another place in
some versions, see: >
http://www.howtogeek.com/187999/how-to-enable-local-menus-in-ubuntu-14.04/
> > > > ___ > 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] can't import keys

2016-01-02 Thread Rob
Hello Patrick, Yes I've installed Thunderbird 38.4.0 and Enigmail 1.8.2
over that. I can find the Enigmail > Key Management  menu, but it gives
a window with no menu bar -- only a title bar, then a search bar (with
the button for all keys by default) then a box (that will presumably
show all my keys) which is empty.  Right clicking the box gives a menu
that allows deletion and export of keys, but no import.  Cheers   ~Rob

On 02/01/16 23:35, Patrick Brunschwig wrote:
> On 02.01.16 00:44, Rob wrote:
>> Hi - I'm trying to import keys using the Enigmail Key Management menu
>> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
>> in the Ubuntu Software Center shows a title bar, a menu bar, and a
>> search box, then an empty list of keys.  My window shows all that but no
>> menu bar, so I can't get to the file menu and the import routines. 
>> Right clicking the empty list gets a menu that allows me to export and
>> delete keys, but import is not even an dimmed item in this menu.  I feel
>> crippled.   Thanks for help.
> Did you already install Thunderbird and Enigmail? If not, type
> "Thunderbird" in the Software Center and check if Thunderbird is
> installed. If it isn't click on the "Install" button to install it. Do
> the same with Enigmail, then close the Software Center.
>
> Then click on the "Ubuntu" button and type "Thunderbird" to start
> Thunderbird. The Enigmail key Management can be found in the menu
> Enigmail > Key Management.
>
> -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] can't import keys

2016-01-02 Thread Patrick Brunschwig
On 02.01.16 00:44, Rob wrote:
> Hi - I'm trying to import keys using the Enigmail Key Management menu
> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
> in the Ubuntu Software Center shows a title bar, a menu bar, and a
> search box, then an empty list of keys.  My window shows all that but no
> menu bar, so I can't get to the file menu and the import routines. 
> Right clicking the empty list gets a menu that allows me to export and
> delete keys, but import is not even an dimmed item in this menu.  I feel
> crippled.   Thanks for help.

Did you already install Thunderbird and Enigmail? If not, type
"Thunderbird" in the Software Center and check if Thunderbird is
installed. If it isn't click on the "Install" button to install it. Do
the same with Enigmail, then close the Software Center.

Then click on the "Ubuntu" button and type "Thunderbird" to start
Thunderbird. The Enigmail key Management can be found in the menu
Enigmail > Key Management.

-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


Re: [Enigmail] can't import keys

2016-01-02 Thread Alexander Buchner
On 02.01.2016 00:44, Rob wrote:
> Hi - I'm trying to import keys using the Enigmail Key Management menu
> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
> in the Ubuntu Software Center shows a title bar, a menu bar, and a
> search box, then an empty list of keys.  My window shows all that but no
> menu bar, so I can't get to the file menu and the import routines. 
> Right clicking the empty list gets a menu that allows me to export and
> delete keys, but import is not even an dimmed item in this menu.  I feel
> crippled.   Thanks for help.

Are you already familiar with Ubuntu?
Could it be that you look for the menu in the "wrong" place?

Ubuntu moved the windows' menus to another place in some versions, see:
http://www.howtogeek.com/187999/how-to-enable-local-menus-in-ubuntu-14.04/



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] can't import keys

2016-01-02 Thread Ludwig Hügelschäfer
On 02.01.16 00:44, Rob wrote:
> Hi - I'm trying to import keys using the Enigmail Key Management menu
> item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
> in the Ubuntu Software Center shows a title bar, a menu bar, and a
> search box, then an empty list of keys.  My window shows all that but no
> menu bar, so I can't get to the file menu and the import routines. 
> Right clicking the empty list gets a menu that allows me to export and
> delete keys, but import is not even an dimmed item in this menu.  I feel
> crippled.   Thanks for help.

I'm not familiar with Linux installations, but: Do you have any
Enigmail-related entries in the Thunderbird Error Console (Tools ->
Error Console)?

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


[Enigmail] can't import keys

2016-01-01 Thread Rob
Hi - I'm trying to import keys using the Enigmail Key Management menu
item in Thunderbird from Ubuntu 14.04.  The picture of the start screen
in the Ubuntu Software Center shows a title bar, a menu bar, and a
search box, then an empty list of keys.  My window shows all that but no
menu bar, so I can't get to the file menu and the import routines. 
Right clicking the empty list gets a menu that allows me to export and
delete keys, but import is not even an dimmed item in this menu.  I feel
crippled.   Thanks for help.

___
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