Re: Cannot encrypt to reenabled key after migration

2017-04-20 Thread Martin S.
Title: Re: Cannot encrypt to reenabled key after migration


Hi

Am Mittwoch, 12. April 2017, 13:45:09 schreiben Sie:





Hey folks,
I have a keypair that was created with gpg 1.4.20 and currently is disabled.
I installed gpg 2.1.20 and tried to enable this key, but get the following error:

\>gpg --edit-key testkey
gpg (GnuPG) 2.1.20; Copyright (C) 2017 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '.../gnupgHome/secring.gpg' to gpg-agent
gpg: key C4EE06ABF10675C4: secret key imported
gpg: migration succeeded
gpg: checking the trustdb
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...



Yes, exactly same problem on Windows 7 - 32bit Version.

I swichted back to GnuPG 2.1.19 - and there this problem doesn't exist.

-- 
Regards
Martin
mailto:msch...@gmail.com 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Cannot encrypt to reenabled key after migration

2017-04-19 Thread Daniel Kahn Gillmor
Hi MFPA--

On Wed 2017-04-12 15:21:38 +0100, MFPA wrote:
> I have encountered a problem with 2.1.20 writing to my public keyring.
> I was using the pre-compiled binaries on Windows 10.
>
> When editing/refreshing keys, or running gpg --check-trustdb, at the
> end of the operation the command window gradually fills up with
> repeated lines of:-
>
> gpg: waiting for file 'C:/[path]/gnupg/pubring.kbx' to become
> accessible ...
>
> These lines keep coming until I close the command window, or CTRL C
> then RETURN, or terminate "GnuPG's OpenPGP tool (32 bit)" in Task
> Manager.
>
> Oddly, creating new keys does not seem to trigger this. (Or else the
> problem is intermittent.)
>
> The problem went away when I switched back to GnuPG 2.1.19.

I've just opened a bug report about this at https://dev.gnupg.org/T3097

 --dkg

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Cannot encrypt to reenabled key after migration

2017-04-13 Thread Derek Tye
2017-04-12 16:21 GMT+02:00 MFPA <2014-667rhzu3dc-lists-gro...@riseup.net>:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
>
>
> On Wednesday 12 April 2017 at 12:45:09 PM, in
> ,
> Derek Tye wrote:-
>
>
> > gpg: waiting for file '.../gnupgHome/pubring.gpg' to
> > become accessible ...
>
> I have encountered a problem with 2.1.20 writing to my public keyring.
> I was using the pre-compiled binaries on Windows 10.
>
> When editing/refreshing keys, or running gpg --check-trustdb, at the
> end of the operation the command window gradually fills up with
> repeated lines of:-
>
> gpg: waiting for file 'C:/[path]/gnupg/pubring.kbx' to become
> accessible ...
>
> These lines keep coming until I close the command window, or CTRL C
> then RETURN, or terminate "GnuPG's OpenPGP tool (32 bit)" in Task
> Manager.
>
> Oddly, creating new keys does not seem to trigger this. (Or else the
> problem is intermittent.)
>
> The problem went away when I switched back to GnuPG 2.1.19.
>

Thank you for the hint. The message went way with 2.1.19.

Regards
Derek
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Cannot encrypt to reenabled key after migration

2017-04-12 Thread MFPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On Wednesday 12 April 2017 at 12:45:09 PM, in
,
Derek Tye wrote:-


> gpg: waiting for file '.../gnupgHome/pubring.gpg' to
> become accessible ...

I have encountered a problem with 2.1.20 writing to my public keyring.
I was using the pre-compiled binaries on Windows 10.

When editing/refreshing keys, or running gpg --check-trustdb, at the
end of the operation the command window gradually fills up with
repeated lines of:-

gpg: waiting for file 'C:/[path]/gnupg/pubring.kbx' to become
accessible ...

These lines keep coming until I close the command window, or CTRL C
then RETURN, or terminate "GnuPG's OpenPGP tool (32 bit)" in Task
Manager.

Oddly, creating new keys does not seem to trigger this. (Or else the
problem is intermittent.)

The problem went away when I switched back to GnuPG 2.1.19.

- --
Best regards

MFPA  

Keep them dry and don't feed them after midnight
-BEGIN PGP SIGNATURE-

iNUEARYKAH0WIQQzrO1O6RNO695qhQYXErxGGvd45AUCWO439F8UgAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNB
Q0VENEVFOTEzNEVFQkRFNkE4NTA2MTcxMkJDNDYxQUY3NzhFNAAKCRAXErxGGvd4
5C8pAQD7LfN2DrFXaJHJdxmpzM9sBcr2Pi6SOgvT7lJxkUVy2AD/fbKlrk+gDlCf
d08/GjB62q3FYY/i6vPKTx21bFm5fAiJAZMEAQEKAH0WIQSzrn7KmoyLMCaloPVr
fHTOsx8l8AUCWO439F8UgAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0QjNBRTdFQ0E5QThDOEIzMDI2QTVBMEY1NkI3
Qzc0Q0VCMzFGMjVGMAAKCRBrfHTOsx8l8FcMCACl1XxPWIFDz0BaAgDIdLRtjWU2
tIOz5iVAi1UUNLZYdrX3Gwb5lBjGViJlTo6I/fO3TQPWgZf9VynnHYhFXB4I0aOs
zlH/WvpRfOzVTN9cBWciFdyF8U1VIgSyjyQNXEzlxHgh4jiYFUnZ04UaSM9NLU0i
dErHpNq6aB2TLcvxmfRqoh7BvBDX9I038CI5sv00sldt5hbt1x8Vq8p49JxoA/iD
7UN9pVRQC4mtIeo7ZrTG8ATWYLoZ70lW047OozEiHzEpFgH3id4I1h/wiFb1be5c
pUt5m1gp7PTw4EkThOLCX8uPJjMflEECd+rYxV/JSKxaNq3SfmLSJpIq9DRT
=yvI/
-END PGP SIGNATURE-


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Cannot encrypt to reenabled key after migration

2017-04-12 Thread Derek Tye
Hey folks,
I have a keypair that was created with gpg 1.4.20 and currently is disabled.
I installed gpg 2.1.20 and tried to enable this key, but get the following
error:

\>gpg --edit-key testkey
gpg (GnuPG) 2.1.20; Copyright (C) 2017 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '.../gnupgHome/secring.gpg' to gpg-agent
gpg: key C4EE06ABF10675C4: secret key imported
gpg: migration succeeded
gpg: checking the trustdb
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
gpg: waiting for file '.../gnupgHome/pubring.gpg' to become accessible ...
^C

When I repeat the edit-key command it works ok.

Then I want to encrypt something to this key, but get the same error
message:
\>gpg --encrypt -r testkey
gpg: checking the trustdb
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
^C
\>gpg --encrypt -r testkey
gpg: checking the trustdb
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
^C
\>gpg --encrypt -r testkey
gpg: checking the trustdb
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
gpg: waiting for file 'Z:/Anwendungsdaten/gnupgHome/pubring.gpg' to become
accessible ...
^C

As you can see it never works, until I use list-key or list-public-key
command. After this I am able to encrypt to this key.
(I am using Windows 8.1 64.)

Anybody had/has this problem too?


Regards
Derek
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users