Software /
code /
prosody-modules
Comparison
mod_s2s_auth_posh/mod_s2s_auth_posh.lua @ 3201:73be17be7d84
mod_s2s_auth_posh: Remove commented out imports
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Dec 2017 03:19:56 +0100 |
parent | 3200:d070a751b6ed |
child | 3202:094f75f316d6 |
comparison
equal
deleted
inserted
replaced
3200:d070a751b6ed | 3201:73be17be7d84 |
---|---|
3 -- | 3 -- |
4 -- Implements authentication via POSH (PKIX over Secure HTTP) | 4 -- Implements authentication via POSH (PKIX over Secure HTTP) |
5 -- http://tools.ietf.org/html/draft-miller-posh-03 | 5 -- http://tools.ietf.org/html/draft-miller-posh-03 |
6 -- | 6 -- |
7 module:set_global(); | 7 module:set_global(); |
8 --local https = require 'ssl.https' | |
9 --local http = require "socket.http"; | |
10 local json = require 'util.json' | 8 local json = require 'util.json' |
11 | 9 |
12 local base64 = require"util.encodings".base64; | 10 local base64 = require"util.encodings".base64; |
13 local pem2der = require "util.x509".pem2der; | 11 local pem2der = require "util.x509".pem2der; |
14 local hashes = require"util.hashes"; | 12 local hashes = require"util.hashes"; |