aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.c
Commit message (Collapse)AuthorAgeFilesLines
* src/openssl.c: Add cert:verify() to verify a certificate without a storeLibravatarLibravatar daurnimator 2019-06-111-0/+120
|
* src/openssl.c: libressl gained SSL_get_server_tmp_key in 2.5.3LibravatarLibravatar daurnimator 2019-02-141-1/+1
|
* src/openssl.c: Add kdf.deriveLibravatarLibravatar daurnimator 2019-02-141-0/+689
|
* src/openssl.c: Add bindings to chain managementLibravatarLibravatar daurnimator 2018-12-071-0/+88
| | | | Adds support for setting and retrieving intermediate certificates
* src/openssl.c: add pushffi for SSL_CTX*LibravatarLibravatar daurnimator 2018-12-061-0/+38
|
* src/openssl.c: Factor out mk_checkdigest from mk_optdigestLibravatarLibravatar daurnimator 2018-11-011-2/+11
|
* src/openssl.c: Extend loadfield() to return string lengthLibravatarLibravatar daurnimator 2018-11-011-2/+4
|
* Add ssl:setCipherList()LibravatarLibravatar daurnimator 2018-10-311-0/+14
|
* Add ssl:setCipherSuites() and context:setCipherSuites()LibravatarLibravatar daurnimator 2018-10-311-0/+44
|
* Add ssl:setReadAhead(), ssl:getReadAhead(), context:setReadAhead(), ↵LibravatarLibravatar daurnimator 2018-10-311-0/+46
| | | | context:getReadAhead()
* src/openssl.c: Add checkbool() to complement optbool()LibravatarLibravatar daurnimator 2018-10-311-2/+7
|
* Add openssl.extensionSupported()LibravatarLibravatar daurnimator 2018-10-311-0/+19
|
* Add ssl.context:useServerInfo() and ssl.context:useServerInfoFile()LibravatarLibravatar daurnimator 2018-10-311-0/+54
|
* Add ssl.context:addCustomExtension()LibravatarLibravatar daurnimator 2018-10-311-0/+349
|
* src/openssl.c: Add new SSL options introduce in OpenSSL 1.1.1LibravatarLibravatar daurnimator 2018-10-291-0/+12
|
* src/openssl.c: Fix typo (SSL_OP_TLSEXT_PADDING)LibravatarLibravatar daurnimator 2018-10-291-1/+1
|
* add name:each() as an alias for the __pairs metamethodLibravatarLibravatar daurnimator 2018-08-131-0/+1
| | | | __pairs is not respected in lua 5.1
* src/openssl.c: Use DER true value of 0xFFLibravatarLibravatar daurnimator 2018-07-311-1/+1
|
* Merge branch 'inherit-lookups'LibravatarLibravatar daurnimator 2018-07-201-1/+7
|\
| * src/openssl.c: Allow inheriting verify params from defaultsLibravatarLibravatar daurnimator 2018-07-201-1/+7
| |
* | src/openssl.c: Add SSL_CTX_up_ref shim for OpenSSL < 1.1.0LibravatarLibravatar daurnimator 2018-07-201-0/+16
| |
* | src/openssl.c: Bind SSL_get_SSL_CTX as ssl:getContext()LibravatarLibravatar daurnimator 2018-07-201-0/+13
| |
* | src/openssl.c: Avoid reinitializing cacheLibravatarLibravatar daurnimator 2018-07-201-9/+12
| |
* | src/openssl.c: cache SSL_CTX objectsLibravatarLibravatar daurnimator 2018-07-201-0/+26
|/
* src/openssl.c: Add support for constructing TLSv1.3 contextLibravatarLibravatar daurnimator 2018-07-091-13/+22
|
* src/openssl.c: Update SSL options listLibravatarLibravatar daurnimator 2018-07-091-9/+36
| | | | Order is taken from https://wiki.openssl.org/index.php/List_of_SSL_OP_Flags
* src/openssl.c: Use lua_pushliteral where possibleLibravatarLibravatar daurnimator 2018-07-091-11/+9
|
* src/openssl.c: Move ticket keys length discovery to own function ↵LibravatarLibravatar daurnimator 2018-07-081-10/+14
| | | | :getTicketKeysLength()
* src/openssl.c: Bind SSL_CTX_{s,g}et_tlsext_ticket_keysLibravatarLibravatar daurnimator 2018-07-081-0/+57
|
* src/openssl.c: Fix incorrect class check in :getTLSextStatusType()LibravatarLibravatar daurnimator 2018-07-081-1/+1
|
* src/openssl.c: Add lua_isinteger path to bignum construction for Lua 5.3LibravatarLibravatar daurnimator 2018-05-301-0/+18
|
* src/openssl.c: Fix outdated luaL_Buffer usageLibravatarLibravatar daurnimator 2018-05-301-48/+14
| | | | | | | This code was originally written against the Lua 5.1 API which doesn't have luaL_prepbuffsize. Now we use the luaL_Buffer implementation from compat-5.3 we can use newer functionality even with older Lua versions.
* LICENSE: Update years + add myselfLibravatarLibravatar daurnimator 2018-05-301-1/+3
|
* src/openssl.c: X509_CRL only became more than an ASN1 wrapper in 1.0.0LibravatarLibravatar daurnimator 2018-05-301-0/+16
|
* Add x509.cert:lookupSerial and x509.cert:lookupCertLibravatarLibravatar daurnimator 2018-05-301-0/+50
|
* src/openssl.c: the SSL_CTX_get0_certificate shim used does not work in < 1.0.2LibravatarLibravatar daurnimator 2018-05-291-11/+4
|
* src/openssl.c: Add ssl:getServerTemporaryKey()LibravatarLibravatar daurnimator 2018-05-291-0/+19
|
* src/openssl.c: Only throw if X509_STORE_load_locations set an errorLibravatarLibravatar daurnimator 2018-05-291-1/+6
|
* src/openssl.c: Update defines for new LibreSSL releasesLibravatarLibravatar daurnimator 2018-05-291-45/+53
|
* src/openssl.c: Add sslctx:getCertificate()LibravatarLibravatar daurnimator 2018-05-291-0/+29
|
* src/openssl.c: Add ssl:getCertificate()LibravatarLibravatar daurnimator 2018-05-291-0/+14
| | | | | It uses X509_dup to match :setCertificate(). Note that this differs from ssl:getPeerCertificate() which does *not* dup().
* src/openssl.c: Factor out xc_dup functionLibravatarLibravatar daurnimator 2018-05-291-4/+13
|
* src/openssl.c: cache is no longer just for SSL* pointersLibravatarLibravatar daurnimator 2018-05-291-5/+7
|
* src/openssl.c: Cache SSL* pointers so that re-pushing same pointer is same ↵LibravatarLibravatar daurnimator 2018-05-291-3/+29
| | | | object
* src/openssl.c: ssl_push doesn't need to return anythingLibravatarLibravatar daurnimator 2018-05-291-4/+2
|
* src/openssl.c: Add function to push an SSL object from an ffi pointerLibravatarLibravatar daurnimator 2018-05-291-0/+39
|
* Merge remote-tracking branch 'daurnimator/86-getmasterkey'LibravatarLibravatar daurnimator 2018-05-281-0/+43
|\
| * src/openssl.c: Add compat routines for SSL_SESSION_get_master_keyLibravatarLibravatar daurnimator 2017-10-261-0/+20
| |
| * src/openssl.c: Bind SSL_SESSION_get_master_key as ssl:getMasterKey()LibravatarLibravatar daurnimator 2017-10-261-0/+23
| |
* | Merge remote-tracking branch 'daurnimator/bn-mod-functions'LibravatarLibravatar daurnimator 2018-05-281-0/+84
|\ \