summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Use arc4random()/getrandom() to get random bytes instead of sysctl() interfaceOndřej Surý2016-08-301-31/+32
| | |
* | | update luapathWilliam Ahern2016-10-191-2/+27
|/ /
* | in bignum string conversion, don't pass char or signed char to isdigit or ↵William Ahern2016-08-121-2/+2
| | | | | | | | isxdigit
* | temporarily address issue #54 by copying solution from lunix and autoguess ↵William Ahern2016-06-251-2/+2
| | | | | | | | project
* | upgrade luapath scriptWilliam Ahern2016-06-242-171/+344
| |
* | forgot to actually add regression testWilliam Ahern2016-06-241-0/+168
| |
* | Merge branch 'ashb-csr_san'William Ahern2016-06-246-2/+130
|\ \ | |/ |/|
| * refactor style to more closely match the style of the existing code, such as ↵William Ahern2016-06-241-22/+35
| | | | | | | | it is
| * refactor and add ashb's regression test for #53William Ahern2016-06-244-2/+26
| |
| * initialize attr to NULL in xr_setExtensionByNid to silence clang, which ↵William Ahern2016-06-231-0/+1
| | | | | | | | can't see that has_attrs indirectly assures at least one iteration of the for loop (in the single-threaded case, at least)
| * Support for getting and setting SAN on a CSRAsh Berlin2016-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.Ash Berlin2016-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'William Ahern2016-02-162-0/+2
|\
| * Merge branch 'patch-1' of git://github.com/Zash/luaossl into Zash-patch-1William Ahern2016-02-162-0/+2
|/|
| * Add openssl.x509.csr to makefileKim Alvefur2016-02-061-0/+1
| |
| * Expose openssl.x509.csrKim Alvefur2016-02-061-0/+1
| |
* | Merge branch 'daurnimator-bignum-new'William Ahern2016-02-161-7/+42
|\ \ | |/ |/|
| * Merge branch 'bignum-new' of git://github.com/daurnimator/luaossl into ↵William Ahern2016-02-161-7/+42
|/| | | | | | | daurnimator-bignum-new
| * bignum: Don't allow empty numbers/strings to passdaurnimator2016-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 openssldaurnimator2016-01-041-2/+11
| | | | | | | | OpenSSL doesn't throw an error on invalid numbers
| * bignum: handle negative hex numbersdaurnimator2016-01-041-2/+11
| |
| * bignum: Add fromBinary constructordaurnimator2016-01-041-0/+12
| | | | | | | | Closes #44
| * bignum.new: Allow initialisation from hex stringsdaurnimator2016-01-041-5/+10
| |
* | Lua 5.1 doesn't permit NULL msg argument to luaL_checkstackWilliam Ahern2016-01-141-2/+2
| |
* | try to avoid negative stack indices with luaL_checkstring as error messages ↵William Ahern2016-01-081-1/+1
| | | | | | | | are confusing (per daurnimator)
* | unbreak openssl.rand by fixing auxL_newlib bugWilliam Ahern2016-01-081-1/+1
| |
* | fix EVP_PKEY method interposingWilliam Ahern2016-01-081-16/+64
| |
* | permit direct indexing of EVP_KEY as alternative to getParameters/setParametersWilliam Ahern2016-01-071-218/+356
| |
* | fix comment typoWilliam Ahern2016-01-071-1/+1
| |
* | preliminary support for pkey:setParametersWilliam Ahern2016-01-071-31/+470
|/
* Merge branch 'daurnimator-fix-wrong-type'William Ahern2016-01-041-3/+3
|\
| * Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into ↵William Ahern2016-01-041-3/+3
|/| | | | | | | daurnimator-fix-wrong-type
| * Fix incorrect type check in ssl:{set,get,clear}Optionsdaurnimator2016-01-031-3/+3
| | | | | | | | Was checking for SSL_CTX instead of SSL
* | Merge branch 'daurnimator-bignum-methods'William Ahern2016-01-041-16/+94
|\ \ | |/ |/|
| * bignum: Add generatePrime as new constructordaurnimator2016-01-031-3/+26
| |
| * bignum: Add :isPrimedaurnimator2016-01-031-15/+30
| |
| * bignum: bugfix: unm shouldn't modify it's operandsdaurnimator2016-01-031-1/+2
| |
| * bignum: Bind sqr, nnmod and gcddaurnimator2016-01-031-0/+39
| |
| * bignum: Use openssl function namesdaurnimator2016-01-031-12/+12
|/
* update debian changelogrel-20151221William Ahern2015-12-211-0/+8
|
* for now, don't be so harsh and break any existing codeWilliam Ahern2015-12-211-0/+1
|
* Merge branch 'daurnimator-bignum-methods'William Ahern2015-12-211-11/+82
|\
| * bignum: Move div operator to idiv operator (breaks API)daurnimator2015-12-211-8/+8
| |
| * bignum: Add tohex functiondaurnimator2015-12-211-0/+30
| |
| * bignum: Rename tostring function to todec. Expose as ":todec" methoddaurnimator2015-12-211-4/+5
| |
| * bignum: Add shl (lshift), shr (rshift) functionsdaurnimator2015-12-211-0/+34
| |
| * bignum: exposing existing math operators as methodsdaurnimator2015-12-211-0/+6
|/
* Merge branch 'daurnimator-remove-warnings'William Ahern2015-12-211-15/+15
|\
| * Merge branch 'remove-warnings' of git://github.com/daurnimator/luaossl into ↵William Ahern2015-12-211-15/+15
|/| | | | | | | daurnimator-remove-warnings
| * Give auxL_getref NOTUSED attributedaurnimator2015-12-181-1/+1
| |