Re: gpg2

2018-06-26 Thread Robert J. Hansen
> $ gpg2 -k
> gpg: invalid item 'BZIP2' in preference string
> gpg: invalid default preferences

Try "gpg2 --version" and look for a line like:


Compression: Uncompressed, ZIP, ZLIB, BZIP2


... I suspect you'll discover whoever compiled your GnuPG 2 neglected to
include support for the BZIP2 algorithm.

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


Re: gpg2

2018-06-26 Thread john doe

On 6/27/2018 5:10 AM, Aaron Tovo wrote:

'gpg2 -k' gives me the following error:

 $ gpg2 -k
 gpg: invalid item 'BZIP2' in preference string
 gpg: invalid default preferences

But 'gpg -k' works fine. However, I to use gpg2 in my
Thunderbird-with-Enigmail email client because I've read in a few places
that gpg2 is better for desktop purposes
. Also, Enigmail rejects gpg because
/usr/bin/gpg is 'out of date' (meaning it's not gpg2, I think) and seems
to REALLY want gpg2.

The error message makes it sound like the problem is in my gpg2
configuration. I don't see any zip settings in .gnupg2/gpg.conf nor do I
see a 'preferences string'.

I'm not sure when this started happening because I've been going without
Enigmail for a while on this computer.

How can I correct the preference string?



Some hints:

1)  Do you have 'BZIP2' in .gnupg/gpg.conf in the preference string?

$ grep -n 'BZIP2' .gnupg/gpg.conf

If the above grep command prints something to the screen try removing 
'BZIP2' from the file.


2)  If you do:

$ gpg2 --version

look at the gpg.conf found in the directory specified by the line 'Home: 
...'.


3)  If you pass the option '--homedir' to gpg2 you should look in the 
gpg.conf found in that directory.


--
John Doe

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


gpg2

2018-06-26 Thread Aaron Tovo
'gpg2 -k' gives me the following error:

$ gpg2 -k
gpg: invalid item 'BZIP2' in preference string
gpg: invalid default preferences

But 'gpg -k' works fine. However, I to use gpg2 in my
Thunderbird-with-Enigmail email client because I've read in a few places
that gpg2 is better for desktop purposes
. Also, Enigmail rejects gpg because
/usr/bin/gpg is 'out of date' (meaning it's not gpg2, I think) and seems
to REALLY want gpg2.

The error message makes it sound like the problem is in my gpg2
configuration. I don't see any zip settings in .gnupg2/gpg.conf nor do I
see a 'preferences string'.

I'm not sure when this started happening because I've been going without
Enigmail for a while on this computer.

How can I correct the preference string?

Aaron

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


Re: gpg show default / effective options

2018-06-26 Thread Wiktor Kwapisiewicz via Gnupg-users

Wow, that is exactly what I needed.

I will walk through them soon and report any problems directly to you.

Thanks Werner!

Kind regards,
Wiktor

W dniu 26.06.2018 o 21:04, Werner Koch pisze:

On Tue, 26 Jun 2018 12:31, gnupg-users@gnupg.org said:


Is it possible to print default or effective options used by GnuPG?


You can run

   gpgconf --list-options gpg

which prints the options and their current values in a format described
in the gpgconf man page.  Frontends like Kleopatra and GPA use this to
provide a GUI page with options.

However, this does only include a subset of all options.  In theory the
man page should list the actual defaults but I am pretty sure that
some(tm) are missing.  If you find such flaws, please let me know and
I'll add them to the docs.


Salam-Shalom,

Werner



--
*/metacode/*



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


Re: gpg show default / effective options

2018-06-26 Thread Werner Koch
On Tue, 26 Jun 2018 12:31, gnupg-users@gnupg.org said:

> Is it possible to print default or effective options used by GnuPG?

You can run

  gpgconf --list-options gpg

which prints the options and their current values in a format described
in the gpgconf man page.  Frontends like Kleopatra and GPA use this to
provide a GUI page with options.

However, this does only include a subset of all options.  In theory the
man page should list the actual defaults but I am pretty sure that
some(tm) are missing.  If you find such flaws, please let me know and
I'll add them to the docs.


Salam-Shalom,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


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


gpg show default / effective options

2018-06-26 Thread Wiktor Kwapisiewicz via Gnupg-users

Hello,

Is it possible to print default or effective options used by GnuPG?

I'm in the process of slimming down gpg.conf and see that many options 
are either redundant (because gpg uses them by default) or no-ops.


I would like to see which options are used to safely remove obsolete 
settings.


While it is kind-of possible to infer defaults from the source (e.g. 
[0]) I wondered if there is a command that would print all settings that 
are default or effective at the moment.


Thank you in advance!

Kind regards,
Wiktor

[0]: 
https://dev.gnupg.org/source/gnupg/browse/master/g10/gpg.c;592deeddb9bf4ae9b3e236b439e2f39644eb6d46$2403


--
*/metacode/*



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