Changeset f4deac5 in mod_gnutls


Ignore:
Timestamp:
Jul 5, 2017, 1:16:09 PM (6 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
asyncio, debian/master, debian/stretch-backports, main, master, proxy-ticket, upstream
Children:
b8b1990
Parents:
bd6591f
Message:

Warn users about OpenPGP deprecation

OpenPGP support has been deprecated in GnuTLS since version 3.5.9 and
has already been removed completely on the git master branch.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/mod_gnutls_manual.mdwn

    rbd6591f rf4deac5  
    360360OpenPGP Certificate Authentication
    361361----------------------------------
     362
     363*Warning:* OpenPGP support has been deprecated in GnuTLS since version
     3643.5.9 and will be removed completely. Consequently, OpenPGP support in
     365`mod_gnutls` is deprecated as well and will be removed in a future
     366release.
    362367
    363368### GnuTLSPGPCertificateFile
  • src/gnutls_hooks.c

    rbd6591f rf4deac5  
    610610            return HTTP_UNAUTHORIZED;
    611611        }
     612
     613        /* If OpenPGP support is already disabled in the loaded GnuTLS
     614         * library startup will fail if the configuration tries to
     615         * load PGP credentials. Otherwise warn affected users about
     616         * deprecation. */
     617        if (sc->pgp_cert_file || sc->pgp_key_file || sc->pgp_ring_file)
     618            ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s,
     619                         "Host '%s:%d' is configured to use OpenPGP auth. "
     620                         "OpenPGP support has been deprecated in GnuTLS "
     621                         "since version 3.5.9 and will be removed from "
     622                         "mod_gnutls in a future release.",
     623                         s->server_hostname, s->port);
    612624
    613625        if (sc->enabled == GNUTLS_ENABLED_TRUE) {
Note: See TracChangeset for help on using the changeset viewer.