[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Another openpgp question...
From: |
Nikos Mavroyanopoulos |
Subject: |
Re: [gnutls-dev] Another openpgp question... |
Date: |
Tue, 25 Nov 2003 23:31:25 +0200 |
User-agent: |
Mutt/1.5.4i |
On Tue, Nov 25, 2003 at 12:57:48PM -0800, Charles 'Buck' Krasic wrote:
> Hi,
> I another question regarding OpenPGP and TLS. I would like the server
> side of the TLS session to be able to query what key the client used
> after the handshake has completed.
> As far as I can tell, the closest thing to this right now is the
> gnutls_openpgp_set_recv_key_function(), but this is only used if the
> client sends a fingerprint instead of their public key. But, for the
> case where the client just sends their key, the API doesn't provide any
> way to find out what key the client used.
> Would it be hard to add such a query to the API? I.e. something like:
> gnutls_openpgp_get_peer_key()
Hello Charles,
You could use gnutls_certificate_get_peers(). The openpgp key authentication
is part of the certificate authentication, so all the gnutls_certificate_*
functions apply.
> -- Buck
--
Nikos Mavroyanopoulos