emacs-devel
[Top][All Lists]
Advanced

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

Re: Network security manager


From: Ted Zlatanov
Subject: Re: Network security manager
Date: Wed, 19 Nov 2014 06:41:46 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

On Wed, 19 Nov 2014 12:19:46 +0100 Lars Magne Ingebrigtsen <address@hidden> 
wrote: 

LMI> Ted Zlatanov <address@hidden> cited:

>> "Also, we're hashing the SubjectPublicKeyInfo not the public key bit
>> string. The SPKI includes the type of the public key and some parameters
>> along with the public key itself."

(I didn't write the above originally, just cited it)

LMI> Does gnutls have a function to fingerprint that info?  Or access it in
LMI> raw form?  I guess we could just sha1 it ourselves.

http://gnutls.org/manual/gnutls.html#X_002e509-public-and-private-keys

You want gnutls_x509_crt_get_key_id() I think.  The key itself can be
exported with gnutls_pubkey_export2() into PEM or DER formats, but
that's not very useful in the NSM context

Ted




reply via email to

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