help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] GnuTLS and OpenPGP: "Could not get OpenPGP key"


From: Ludovic Courtès
Subject: [Help-gnutls] GnuTLS and OpenPGP: "Could not get OpenPGP key"
Date: Wed, 23 Aug 2006 16:02:11 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

I noticed the following weird client failure when playing with
`gnutls-serv' and `gnutls-cli' to perform OpenPGP authentication (I'm
using the ASCII-armored key pair found under the `src/openpgp' directory
of GnuTLS):

  $ gnutls-serv --echo --pgpkeyfile sec.asc --pgpcertfile pub.asc &
  Echo Server ready. Listening to port '5556'.

  $ gnutls-cli -p 5556 --pgpkeyfile sec.asc --pgpcertfile pub.asc localhost 
  *** Error loading PGP key file: Could not get OpenPGP key.

This error is `GNUTLS_E_OPENPGP_GETKEY_FAILED', apparently returned by
`gnutls_openpgp_privkey_import ()'.  I'm unable to understand the
meaning of this error in this context.  Does it have something to do
with key lookup on a remote server or something?

I'm using GnuTLS 1.4.2 as currently found in Debian unstable.

Thanks,
Ludovic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]