]> git.eshelyaron.com Git - emacs.git/commit
Show SHA-256 digest of a public key in 'nsm-format-certificate'
authorŁukasz Stelmach <stlman@poczta.fm>
Tue, 13 Jun 2023 11:26:39 +0000 (13:26 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Jul 2023 07:42:23 +0000 (10:42 +0300)
commit3021a0656f31c03ebfcaf535e54605c76acf23b6
tree6630a412badb151da520695c263ec5d8fb9ead9d
parentd86755820c21ae717adb13f4894a12b1332fb2a7
Show SHA-256 digest of a public key in 'nsm-format-certificate'

* lisp/net/nsm.el (nsm-format-certificate): Show public key
digest (SHA-256 if available).  Displaying the digest enables
users to verify the certificate with other tools like 'gnutls-cli'
which present much more detailed information.

* src/gnutls (emacs_gnutls_certificate_details): Export SHA-256
public key digest if supported by GnuTLS.  (Bug#64043)
lisp/net/nsm.el
src/gnutls.c