[mod_gnutls-devel] GnuTLSPGPKeyringFile?

Ramkumar Chinchani ramkumar.chinchani at gmail.com
Thu Feb 27 08:35:02 CET 2014


Is there a way to export the entire keyring? in base64 format?

If not, then I am likely pointing GnuTLSPGPKeyringFile to
${HOME}/.gnupg/pubring.gpg which should be in RAW format?


diff --git a/src/gnutls_config.c b/src/gnutls_config.c
index 3300854..6b672f5 100644
--- a/src/gnutls_config.c
+++ b/src/gnutls_config.c
@@ -509,7 +509,7 @@ const char *mgs_set_keyring_file(cmd_parms * parms,
void *dummy,
     }

     rv = gnutls_openpgp_keyring_import(sc->pgp_list, &data,
-            GNUTLS_OPENPGP_FMT_BASE64);
+            GNUTLS_OPENPGP_FMT_RAW);
     if (rv < 0) {
         return apr_psprintf(parms->pool, "GnuTLS: Failed to load "
                 "Keyring File '%s': (%d) %s", file, rv,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140227/ed975246/attachment.html>


More information about the mod_gnutls-devel mailing list