Get OpenPGP subkeyid used for authentication

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Oct 11 20:15:57 CEST 2012


On 10/10/2012 07:18 PM, Joke de Buhr wrote:

> Hi,
> 
> is there a way to query the OpenPGP subkey used for authentication?
> The Certificate used for authentication can be retrieved on the remote side via 
> gnutls_certificate_get_peers() but the preferred subkey information isn't set 
> on the remote side. I can't find any function to query subkey information.


You're right. There isn't such a function. The information is stored but
there is no function to export it. I'll add one in the upcoming release.

regards,
Nikos




More information about the Gnutls-help mailing list