Software /
code /
prosody-modules
Diff
mod_auth_ccert/mod_auth_ccert.lua @ 1069:d7719bf1aed6
mod_auth_ccert: Add missing OID for email
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 14 Jun 2013 20:28:23 +0200 |
parent | 1068:8ad0d234608c |
child | 1070:dee31eeae7ae |
line wrap: on
line diff
--- a/mod_auth_ccert/mod_auth_ccert.lua Fri Jun 14 20:27:58 2013 +0200 +++ b/mod_auth_ccert/mod_auth_ccert.lua Fri Jun 14 20:28:23 2013 +0200 @@ -5,10 +5,12 @@ local jid_compare = require "util.jid".compare; local jid_split = require "util.jid".prepped_split; local new_sasl = require "util.sasl".new; +local now = os.time; local log = module._log; + local subject_alternative_name = "2.5.29.17"; local id_on_xmppAddr = "1.3.6.1.5.5.7.8.5"; -local now = os.time; +local oid_emailAddress = "1.2.840.113549.1.9.1"; local cert_match = module:get_option("certificate_match", "xmppaddr");