aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'xc_getSignatureName'LibravatarLibravatar daurnimator 2017-04-031-9/+9
|\ \
| * | Add compat with openssl < 1.0.2 for X509_get_signature_nidLibravatarLibravatar daurnimator 2017-04-031-0/+8
| | |
| * | Use X509_get_signature_nid instead of X509_get_signature_type to implement ↵LibravatarLibravatar daurnimator 2017-01-161-9/+1
| |/ | | | | | | | | | | cert:getSignatureName() Fixes #79
* | Remove unused variables introduced in 590d368daeb400515c82b2d99ddcdf14607f9353LibravatarLibravatar daurnimator 2017-04-031-4/+0
| |
* | Merge branch '87-pass-subject-to-extension.new'LibravatarLibravatar daurnimator 2017-04-031-25/+87
|\ \ | | | | | | | | | Closes #87
| * | Move value='DER' check out of type dispatch in xe_newLibravatarLibravatar daurnimator 2017-04-031-20/+19
| | |
| * | extension.new: Add table form for extra argumentLibravatarLibravatar daurnimator 2017-02-271-1/+45
| | |
| * | Add lua_getfield compatibility macro that returns the type (as it does in 5.3)LibravatarLibravatar daurnimator 2017-02-271-2/+0
| | |
| * | extension.new: Swap to switch/case based argument checkingLibravatarLibravatar daurnimator 2017-02-271-2/+10
| | |
| * | extension.new: Factor out conf loading to own functionLibravatarLibravatar daurnimator 2017-02-271-7/+20
| |/
* | Bugfix in xx_getNextUpdate() - return time instead of constant 1.LibravatarLibravatar Pascal Fellerich 2017-04-031-1/+1
| |
* | New: method crl:verify(publickey) added, documentation updated.LibravatarLibravatar Pascal Fellerich 2017-04-031-0/+14
| |
* | New: pkcs12.parse() added to read a PKCS12 string, and return (pkey,cert,ca)LibravatarLibravatar Pascal Fellerich 2017-04-031-0/+56
| |
* | New: pkey.new{} modified to accept 'dhparam', a string representing the ↵LibravatarLibravatar Pascal Fellerich 2017-04-031-1/+19
|/ | | | pre-computed DH parameters
* for issue #82 split bn_prepops into explicit unary and binary operator modes ↵LibravatarLibravatar William Ahern 2016-12-141-20/+42
| | | | (bn_prepuop and bn_prepbop), and make more generic by working at top of stack
* apply patch recommended by daurnimator in issue #75LibravatarLibravatar William Ahern 2016-12-091-0/+10
|
* Merge branch 'daurnimator-74-bind-x509_verify_param'LibravatarLibravatar William Ahern 2016-12-081-2/+420
|\
| * manipulation of inh_flags isn't supported by OpenSSL 1.1 APILibravatarLibravatar William Ahern 2016-12-081-5/+13
| |
| * fix build for OpenSSL releases prior to 1.0.2LibravatarLibravatar William Ahern 2016-12-081-8/+101
| |
| * openssl.x509.verify_param: Bind X509_VERIFY_PARAM_inheritLibravatarLibravatar daurnimator 2016-12-091-0/+31
| |
| * openssl.x509.verify_param: Bind X509_VERIFY_PARAM_set_auth_level and ↵LibravatarLibravatar daurnimator 2016-12-091-0/+31
| | | | | | | | X509_VERIFY_PARAM_get_auth_level
| * openssl.ssl: Add ssl:setParam() and ssl:getParam()LibravatarLibravatar daurnimator 2016-12-091-0/+34
| |
| * openssl.ssl.context: Bind SSL_CTX_set1_param and SSL_CTX_get0_paramLibravatarLibravatar daurnimator 2016-12-091-0/+34
| |
| * openssl.x509.verify_param: Start work on binding X509_VERIFY_PARAMLibravatarLibravatar daurnimator 2016-12-091-0/+187
| |
* | Merge branch 'SSL_new' of https://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-12-081-2/+8
|\ \ | |/ |/| | | daurnimator-SSL_new
| * In ssl_setHostName allow clearing hostname by passing nilLibravatarLibravatar daurnimator 2016-12-081-1/+1
| |
| * Fill in ssl_newLibravatarLibravatar daurnimator 2016-11-141-1/+7
| |
* | fix OpenSSL 0.9.8 build (lacks EVP_PKEY_CTX interfaces), fix use of ↵LibravatarLibravatar William Ahern 2016-11-231-11/+24
| | | | | | | | BIO_reset, fix signedness warnings for EVP_PKEY_encrypt and EVP_PKEY_decrypt
* | Merge branch '58-pkey-encrypt+decrypt' of ↵LibravatarLibravatar William Ahern 2016-11-231-0/+129
|\ \ | | | | | | | | | https://github.com/daurnimator/luaossl into daurnimator-58-pkey-encrypt+decrypt
| * | openssl.pkey: Use reset bio after :encrypt() and :decrypt()LibravatarLibravatar daurnimator 2016-11-081-0/+6
| | |
| * | openssl.pkey: Add pkey:decrypt() methodLibravatarLibravatar daurnimator 2016-11-081-0/+56
| | |
| * | openssl.pkey: Export rsa padding optionsLibravatarLibravatar daurnimator 2016-11-081-0/+11
| | |
| * | openssl.pkey: Add pkey:encrypt() methodLibravatarLibravatar daurnimator 2016-11-081-0/+56
| |/
* | restore alphabetical ordering of definitionsLibravatarLibravatar William Ahern 2016-11-231-14/+14
| |
* | Merge branch 'ctx-getStore' of https://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-11-231-0/+41
|\ \ | | | | | | | | | daurnimator-ctx-getStore
| * | openssl.ssl.context: Add :getStore() that returns the ssl context's internal ↵LibravatarLibravatar daurnimator 2016-11-071-0/+15
| | | | | | | | | | | | x509 store
| * | openssl.x509.store: Add xs_push to push an existing X509_STORELibravatarLibravatar daurnimator 2016-11-071-0/+26
| |/
* | Merge branch '68-bind-X509_STORE_add_crl' of ↵LibravatarLibravatar William Ahern 2016-11-231-6/+13
|\ \ | | | | | | | | | https://github.com/daurnimator/luaossl into daurnimator-68-bind-X509_STORE_add_crl
| * | openssl.x509.store:add(): Allow adding CRLs to storeLibravatarLibravatar daurnimator 2016-11-071-6/+13
| |/ | | | | | | Uses `X509_STORE_add_crl`
* | Merge branch '67-default-cert-locations' of ↵LibravatarLibravatar William Ahern 2016-11-231-3/+25
|\ \ | | | | | | | | | https://github.com/daurnimator/luaossl into daurnimator-67-default-cert-locations
| * | openssl.x509.store: Expose cert dir and cert file constantsLibravatarLibravatar daurnimator 2016-11-071-0/+9
| | |
| * | openssl_x509_store: add :addDefault() method to add OS default certificatesLibravatarLibravatar daurnimator 2016-11-071-3/+16
| |/
* | auxS_todigest and auxL_optdigest depend on compat routinesLibravatarLibravatar William Ahern 2016-11-231-33/+49
| |
* | negative indices don't make sense for luaL_opt interfaces and don't work ↵LibravatarLibravatar William Ahern 2016-11-231-2/+0
| | | | | | | | properly, so no need to try to handle that case in our wrapper code
* | Merge branch 'master' into 63-evp_pkey_get_default_digest_nid-getPublicKeyDigestLibravatarLibravatar William Ahern 2016-11-231-114/+39
|\|
| * workaround for broken GCC on some newer debian/ubuntu installations with ↵LibravatarLibravatar William Ahern 2016-11-011-4/+10
| | | | | | | | weird GCC default flags that fail compilation on C99-style for loops without any other warning flags specified
| * Merge branch '55-renametobin' of https://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-11-011-25/+29
| |\ | | | | | | | | | daurnimator-55-renametobin
| | * Keep old deprecated names 'tobin', 'todec', 'tohex'LibravatarLibravatar daurnimator 2016-04-221-0/+4
| | | | | | | | | | | | Turns out they were in release 20151221
| | * Rename tobin, todec, tohex to CamelCase: toDecimal, toDecimal, toHexLibravatarLibravatar daurnimator 2016-04-101-25/+25
| | |
| * | forgot to remove HAVE_GENERAL_NAME_SET0_VALUELibravatarLibravatar William Ahern 2016-11-011-4/+0
| | |