Re: export-minimal doesn't affect export-secret-key?

2017-03-04 Thread Werner Koch
On Sat, 25 Feb 2017 16:26, pe...@digitalbrains.com said:

> I'd like to add to the bug report that I also observe this behaviour
> with GnuPG 1.4.18 on Debian jessie/stable (package 1.4.18-7+deb8u3) and
> GnuPG 2.0.26 on the same (package 2.0.26-6+deb8u1). So it is not just 2.1.

FWIW, it has been fixed in 2.1.19.  Fixing it in the other branches will
likely not happen because over there a lot of code needs duplication.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgpjkhrg2uCuU.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: export-minimal doesn't affect export-secret-key?

2017-02-25 Thread Peter Lebbing
On 22/02/17 23:48, Daniel Kahn Gillmor wrote:
> I just confirmed this.  I've put it in the bugtracker so it doesn't get
> lost:
> 
>https://bugs.gnupg.org/gnupg/issue2973

Thanks!

I'd like to add to the bug report that I also observe this behaviour
with GnuPG 1.4.18 on Debian jessie/stable (package 1.4.18-7+deb8u3) and
GnuPG 2.0.26 on the same (package 2.0.26-6+deb8u1). So it is not just 2.1.

However, I think I can't actually add that to the bug report myself
because I only just created an account on bugs.gnupg.org :-).

Cheers,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at 



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: export-minimal doesn't affect export-secret-key?

2017-02-22 Thread Daniel Kahn Gillmor
On Wed 2017-02-22 08:12:31 -0500, Peter Lebbing wrote:
> I just found out that the following two commands are equivalent:
>
>> $ gpg2 -o full.gpg --export-secret-keys ac46efe6de500b3e
>> $ gpg2 -o minimal.gpg --export-options export-minimal --export-secret-keys 
>> ac46efe6de500b3e

I just confirmed this.  I've put it in the bugtracker so it doesn't get
lost:

   https://bugs.gnupg.org/gnupg/issue2973

Thanks for reporting it, Peter.

   --dkg

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


export-minimal doesn't affect export-secret-key?

2017-02-22 Thread Peter Lebbing
I just found out that the following two commands are equivalent:

> $ gpg2 -o full.gpg --export-secret-keys ac46efe6de500b3e
> $ gpg2 -o minimal.gpg --export-options export-minimal --export-secret-keys 
> ac46efe6de500b3e
> $ ll
> total 104
> -rw--- 1 peter peter 50731 Feb 22 14:00 full.gpg
> -rw--- 1 peter peter 50731 Feb 22 14:00 minimal.gpg
> $ gpg2 --version
> gpg (GnuPG) 2.1.18
> libgcrypt 1.7.6-beta
> [...]

I thought "well this is surely a bug in the new 2.1, what with the new
secret key storage". But:

> $ gpg -o full.gpg --export-secret-keys ac46efe6de500b3e
> $ gpg -o minimal.gpg --export-options export-minimal --export-secret-keys 
> ac46efe6de500b3e
> $ ll
> total 88
> -rw-r--r-- 1 peter peter 41465 Feb 22 14:02 full.gpg
> -rw-r--r-- 1 peter peter 41465 Feb 22 14:02 minimal.gpg
> $ gpg --version
> gpg (GnuPG) 1.4.18
> [...]

And now I'm confused... surely export-minimal is useful when backing up
your secret key and storage is limited? We just encountered this with
the paperbackup.py thread...

This works fine, BTW:

> $ gpg2 -o minimal.gpg --export-options export-minimal --export 
> ac46efe6de500b3e$ ll
> total 56
> -rw-r--r-- 1 peter peter 50631 Feb 22 14:06 full.gpg
> -rw-r--r-- 1 peter peter  2623 Feb 22 14:06 minimal.gpg

Cheers,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at 



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users