Re: gpg2 --fetch-keys

2016-05-28 Thread Dashamir Hoxha
On Sat, May 28, 2016 at 5:23 PM, Kristian Fiskerstrand <
kristian.fiskerstr...@sumptuouscapital.com> wrote:

> On 05/28/2016 03:32 PM, Dashamir Hoxha wrote:
> > Hi,
> >
> > I get this general error and I have no idea what is wrong:
>
> you can increase the dirmngr verbosity in dirmngr.conf using log-file
> and debug / debug-level / debug-all .


Kristian, thanks for your detailed instructions.
However it is not my intention to debug and to fix it.
I wondered whether I, as a user, was doing something wrong.

By the way, it has an easy workaround. Instead of using:

gpg2 --fetch-keys uri-1 uri-2

I can do:

wget -q uri-1 uri-2
gpg2 --import *

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


Re: gpg2 --fetch-keys

2016-05-28 Thread Kristian Fiskerstrand
On 05/28/2016 03:32 PM, Dashamir Hoxha wrote:
> Hi,
> 
> I get this general error and I have no idea what is wrong:

you can increase the dirmngr verbosity in dirmngr.conf using log-file
and debug / debug-level / debug-all .

at least two things to look for, (i) is dirmngr compiled with gnutls
support for tls and properly linked[1] (ii) is root ca properly specified[2]

Notes:
[1] since 2.1.12 the output of echo "KEYSERVER --help" |
gpg-connect-agent --dirmngr will accurately report https depending on
whether or not gnutls is included, before this easist way is likely
checking ldd

[2]  iirc using system provided root CAs wasn't included until 2.1.12 either
-- 

Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk

Public OpenPGP certificate at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3

"When I was kidnapped, my parents snapped into action. They rented out
my room."
(Woody Allen)



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


gpg2 --fetch-keys

2016-05-28 Thread Dashamir Hoxha
Hi,

I get this general error and I have no idea what is wrong:

$ gpg2 --fetch-keys
https://github.com/dashohoxha/egpg/raw/gnupg-2.1/tests/gnupg/DA94668A.gpg.asc
gpg: requesting key from '
https://github.com/dashohoxha/egpg/raw/gnupg-2.1/tests/gnupg/DA94668A.gpg.asc
'
gpg: WARNING: unable to fetch URI
https://github.com/dashohoxha/egpg/raw/gnupg-2.1/tests/gnupg/DA94668A.gpg.asc:
General error

I am trying it in ubuntu 16.04, gpg (GnuPG) 2.1.11, libgcrypt 1.6.5

By the way, is there any reason that the ubuntu package is not updated yet
to gnupg-2.1.12? It seems to me that the latest version should be more
stable (more bugs fixed, etc.)

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