aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Support for getting and setting SAN on a CSRLibravatarLibravatar Ash Berlin 2016-04-112-0/+89
| | | | | | | | | | Extensions in a CSR are a bit more complex than in a CRL or a certificate itself so we don't quite use the same interface.
| * Add terminator to openssl.x509.extension.LibravatarLibravatar Ash Berlin 2016-04-091-0/+1
|/ | | | | | | | | | | | | | | Without this we ended up over-running the buffer and setting functions as numbers again. Before: $ lua -e 'print(require "openssl.x509.extension".new)' 4519558960 After: $ lua -e 'print(require "openssl.x509.extension".new)' function: 0x10f9755e0
* Merge branch 'Zash-patch-1'LibravatarLibravatar William Ahern 2016-02-162-0/+2
|\
| * Merge branch 'patch-1' of git://github.com/Zash/luaossl into Zash-patch-1LibravatarLibravatar William Ahern 2016-02-162-0/+2
|/|
| * Add openssl.x509.csr to makefileLibravatarLibravatar Kim Alvefur 2016-02-061-0/+1
| |
| * Expose openssl.x509.csrLibravatarLibravatar Kim Alvefur 2016-02-061-0/+1
| |
* | Merge branch 'daurnimator-bignum-new'LibravatarLibravatar William Ahern 2016-02-161-7/+42
|\ \ | |/ |/|
| * Merge branch 'bignum-new' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-02-161-7/+42
|/| | | | | | | daurnimator-bignum-new
| * bignum: Don't allow empty numbers/strings to passLibravatarLibravatar daurnimator 2016-01-041-5/+5
| | | | | | | | | | Previously, "-" would pass the len>0 check; and end up as "0" The `*str` check was redundant, the switch/case already ensures the object at the given stack index is a string
| * bignum: validate hex and decimal strings before feeding to opensslLibravatarLibravatar daurnimator 2016-01-041-2/+11
| | | | | | | | OpenSSL doesn't throw an error on invalid numbers
| * bignum: handle negative hex numbersLibravatarLibravatar daurnimator 2016-01-041-2/+11
| |
| * bignum: Add fromBinary constructorLibravatarLibravatar daurnimator 2016-01-041-0/+12
| | | | | | | | Closes #44
| * bignum.new: Allow initialisation from hex stringsLibravatarLibravatar daurnimator 2016-01-041-5/+10
| |
* | Lua 5.1 doesn't permit NULL msg argument to luaL_checkstackLibravatarLibravatar William Ahern 2016-01-141-2/+2
| |
* | try to avoid negative stack indices with luaL_checkstring as error messages ↵LibravatarLibravatar William Ahern 2016-01-081-1/+1
| | | | | | | | are confusing (per daurnimator)
* | unbreak openssl.rand by fixing auxL_newlib bugLibravatarLibravatar William Ahern 2016-01-081-1/+1
| |
* | fix EVP_PKEY method interposingLibravatarLibravatar William Ahern 2016-01-081-16/+64
| |
* | permit direct indexing of EVP_KEY as alternative to getParameters/setParametersLibravatarLibravatar William Ahern 2016-01-071-218/+356
| |
* | fix comment typoLibravatarLibravatar William Ahern 2016-01-071-1/+1
| |
* | preliminary support for pkey:setParametersLibravatarLibravatar William Ahern 2016-01-071-31/+470
|/
* Merge branch 'daurnimator-fix-wrong-type'LibravatarLibravatar William Ahern 2016-01-041-3/+3
|\
| * Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-01-041-3/+3
|/| | | | | | | daurnimator-fix-wrong-type
| * Fix incorrect type check in ssl:{set,get,clear}OptionsLibravatarLibravatar daurnimator 2016-01-031-3/+3
| | | | | | | | Was checking for SSL_CTX instead of SSL
* | Merge branch 'daurnimator-bignum-methods'LibravatarLibravatar William Ahern 2016-01-041-16/+94
|\ \ | |/ |/|
| * bignum: Add generatePrime as new constructorLibravatarLibravatar daurnimator 2016-01-031-3/+26
| |
| * bignum: Add :isPrimeLibravatarLibravatar daurnimator 2016-01-031-15/+30
| |
| * bignum: bugfix: unm shouldn't modify it's operandsLibravatarLibravatar daurnimator 2016-01-031-1/+2
| |
| * bignum: Bind sqr, nnmod and gcdLibravatarLibravatar daurnimator 2016-01-031-0/+39
| |
| * bignum: Use openssl function namesLibravatarLibravatar daurnimator 2016-01-031-12/+12
|/
* update debian changelogLibravatarLibravatar William Ahern 2015-12-211-0/+8
|
* for now, don't be so harsh and break any existing codeLibravatarLibravatar William Ahern 2015-12-211-0/+1
|
* Merge branch 'daurnimator-bignum-methods'LibravatarLibravatar William Ahern 2015-12-211-11/+82
|\
| * bignum: Move div operator to idiv operator (breaks API)LibravatarLibravatar daurnimator 2015-12-211-8/+8
| |
| * bignum: Add tohex functionLibravatarLibravatar daurnimator 2015-12-211-0/+30
| |
| * bignum: Rename tostring function to todec. Expose as ":todec" methodLibravatarLibravatar daurnimator 2015-12-211-4/+5
| |
| * bignum: Add shl (lshift), shr (rshift) functionsLibravatarLibravatar daurnimator 2015-12-211-0/+34
| |
| * bignum: exposing existing math operators as methodsLibravatarLibravatar daurnimator 2015-12-211-0/+6
|/
* Merge branch 'daurnimator-remove-warnings'LibravatarLibravatar William Ahern 2015-12-211-15/+15
|\
| * Merge branch 'remove-warnings' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-211-15/+15
|/| | | | | | | daurnimator-remove-warnings
| * Give auxL_getref NOTUSED attributeLibravatarLibravatar daurnimator 2015-12-181-1/+1
| |
| * remove trailing whitespaceLibravatarLibravatar daurnimator 2015-12-181-12/+12
| |
| * removed unused warning across #ifLibravatarLibravatar daurnimator 2015-12-181-0/+1
| |
| * remove unused variables in xn__nextLibravatarLibravatar daurnimator 2015-12-181-2/+1
| |
* | update debian changelogLibravatarLibravatar William Ahern 2015-12-181-0/+8
| |
* | fix Solaris buildLibravatarLibravatar William Ahern 2015-12-181-0/+4
| |
* | add script to test getParametersLibravatarLibravatar William Ahern 2015-12-181-0/+8
|/
* Merge branch 'daurnimator-36-private-key-inspection'LibravatarLibravatar William Ahern 2015-12-181-2/+258
|\
| * return value list instead of table if parameter names specified explicitlyLibravatarLibravatar William Ahern 2015-12-181-64/+208
| |
| * bn_dup only returns on success, so remove error handling from bn_dup callsLibravatarLibravatar William Ahern 2015-12-181-34/+26
| |
| * put EC variable declarations inside OPENSSL_NO_EC preprocessor guard (unable ↵LibravatarLibravatar William Ahern 2015-12-181-5/+8
| | | | | | | | to confirm which, if any, of our platforms still don't support EC natively