[Patch] Support GCR to display a certificate widget



Hi all,

the gcr library [1] includes nice widgets as to display, inter alia, X.509 certificates ([2]).  The attached 
patch enables them.  However, they claim that the api is unstable, so I think support for it should be 
experimental.

In order to pop up the certificate dialogue even for a valid certificate, temporarily comment out lines 
292-293 in file libbalsa/imap/imap-tls.c:

----8<----------------------------------------------------------------
/*  if(vfy_result == X509_V_OK)
    return 1; */
----8<----------------------------------------------------------------

There might be more widgets we could use, btw. (like password entry).  Unfortunately, the library does not 
include GnuPG or S/MIME signature display widgets.

Opinions?

Cheers,
Albrecht.

[1] <https://developer.gnome.org/gcr/>
[2] <https://developer.gnome.org/gcr/3.20/ch01.html>

Attachment: gcr_support.diff
Description: Text Data

Attachment: pgpGrq3XLJmOh.pgp
Description: PGP signature



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