[gnutls-devel] GnuTLS | ocsptool: only write the OCSP response to outfile when --outpem is used (#975)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Aug 16 17:56:38 CEST 2020




Airtower commented:


PEM implies the presence of headers around the base64 encoded block. Also, wouldn't removing the headers also break GnuTLS functions for loading multiple responses, e.g. [gnutls_certificate_set_ocsp_status_request_file2()](https://gnutls.org/manual/html_node/Core-TLS-API.html#gnutls_005fcertificate_005fset_005focsp_005fstatus_005frequest_005ffile2)?

If you need plain base64 the simplest solution would be to use the default DER output and pipe that through `base64`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/975#note_396610018
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200816/7d43b280/attachment.html>


More information about the Gnutls-devel mailing list