Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | Remove unused ecg_new_by_nid | daurnimator | 2016-10-30 | 1 | -15/+0 | |
| | | | | ||||||
| | * | | Remove unused GENERAL_NAME_get0_value | daurnimator | 2016-10-30 | 1 | -66/+0 | |
| |/ / | ||||||
* | | | use _MSC_FULL_VER not _MSC_VER_FULL, and use more common feature macro names ↵ | William Ahern | 2016-11-23 | 1 | -7/+11 | |
| | | | | | | | | | | | | for some builtins | |||||
* | | | auxL_absindex too clever; stay simple | William Ahern | 2016-11-02 | 1 | -6/+3 | |
| | | | ||||||
* | | | forgot to remove old xc_getPublicKeyDigest | William Ahern | 2016-11-01 | 1 | -20/+0 | |
| | | | ||||||
* | | | refactor xc_signature to auxL_optdigest | William Ahern | 2016-11-01 | 1 | -29/+116 | |
|/ / | | | | | | | | | refactor xc_getPublicKeyDigestName to use auxL_optdigest closes issue #63 | |||||
* | | fix constantness warning with OpenSSL 1.1 API | William Ahern | 2016-10-29 | 1 | -1/+7 | |
| | | ||||||
* | | not using key variable in vrfy.sig:genkey | William Ahern | 2016-10-29 | 1 | -1/+0 | |
| | | ||||||
* | | add and use pkey:getDefaultDigestName because the old digest type names used ↵ | William Ahern | 2016-10-29 | 2 | -16/+38 | |
| | | | | | | | | in examples/vrfy.sig are not accepted by OpenSSL 1.1 | |||||
* | | final bits handle EVP_CIPHER_CTX, EVP_MD_CTX, and HMAC_CTX as opaque objects | William Ahern | 2016-10-29 | 1 | -32/+127 | |
| | | ||||||
* | | use SSL_client_version | William Ahern | 2016-10-29 | 1 | -2/+22 | |
| | | | | | | | | OPENSSL_NO_SSL2 isn't defined even though SSLv2 methods are gone | |||||
* | | add regression test for store:verify | William Ahern | 2016-10-29 | 2 | -0/+180 | |
| | | ||||||
* | | X509_STORE_CTX is opaque, fixup store:verify | William Ahern | 2016-10-29 | 1 | -45/+80 | |
| | | ||||||
* | | must use i2d_re_X509_REQ_tbs to dirty the X509_REQ cached encoding | William Ahern | 2016-10-29 | 1 | -0/+8 | |
| | | ||||||
* | | use EVP_PKEY_get_default_digest_nid to determine the default signature, and ↵ | William Ahern | 2016-10-29 | 1 | -11/+41 | |
| | | | | | | | | emulate for OpenSSL 0.9.8 using our old code from xc_signature | |||||
* | | more OpenSSL 1.1 work | William Ahern | 2016-10-29 | 1 | -25/+127 | |
| | | ||||||
* | | lots of OpenSSL 1.1 compatability work | William Ahern | 2016-10-28 | 1 | -58/+339 | |
| | | ||||||
* | | libressl has supported ALPN since 2.1.3 | William Ahern | 2016-10-19 | 1 | -1/+1 | |
| | | ||||||
* | | unbreak BSDs by using arc4random_buf | William Ahern | 2016-10-19 | 2 | -2/+9 | |
| | | ||||||
* | | Merge branch 'oerdnj-master' | William Ahern | 2016-10-19 | 4 | -31/+927 | |
|\ \ | ||||||
| * | | there are no kernel headers installed by default in Alpine Linux ↵ | William Ahern | 2016-10-19 | 1 | -31/+25 | |
| | | | | | | | | | | | | (Linux/musl) so use alternate feature test; support running binaries built with getrandom on older kernels with only sysctl(RANDOM_UUID); change preprocessor test for feature macros so they can be easily overridden with build flags; and remove feature macro definitions in favor of those in config.h (config.h.guess) | |||||
| * | | use config.h.guess from autoguess project for system feature tests | William Ahern | 2016-10-19 | 3 | -2/+881 | |
| | | | ||||||
| * | | Merge branch 'master' of https://github.com/oerdnj/luaossl into oerdnj-master | William Ahern | 2016-10-19 | 1 | -22/+45 | |
|/| | | ||||||
| * | | Use syscall() to call getrandom() | Ondřej Surý | 2016-08-30 | 1 | -1/+2 | |
| | | | ||||||
| * | | Add __DragonFly__ and generic BSD detection for ARC4RANDOM | Ondřej Surý | 2016-08-30 | 1 | -1/+1 | |
| | | | ||||||
| * | | Use RAND_seed() instead of RAND_add() where appropriate | Ondřej Surý | 2016-08-30 | 1 | -4/+4 | |
| | | | ||||||
| * | | Reinstate sysctl call for older Linux kernels | Ondřej Surý | 2016-08-30 | 1 | -8/+29 | |
| | | | ||||||
| * | | Use arc4random()/getrandom() to get random bytes instead of sysctl() interface | Ondřej Surý | 2016-08-30 | 1 | -31/+32 | |
| | | | ||||||
* | | | update luapath | William Ahern | 2016-10-19 | 1 | -2/+27 | |
|/ / | ||||||
* | | in bignum string conversion, don't pass char or signed char to isdigit or ↵ | William Ahern | 2016-08-12 | 1 | -2/+2 | |
| | | | | | | | | isxdigit | |||||
* | | temporarily address issue #54 by copying solution from lunix and autoguess ↵ | William Ahern | 2016-06-25 | 1 | -2/+2 | |
| | | | | | | | | project | |||||
* | | upgrade luapath script | William Ahern | 2016-06-24 | 2 | -171/+344 | |
| | | ||||||
* | | forgot to actually add regression test | William Ahern | 2016-06-24 | 1 | -0/+168 | |
| | | ||||||
* | | Merge branch 'ashb-csr_san' | William Ahern | 2016-06-24 | 6 | -2/+130 | |
|\ \ | |/ |/| | ||||||
| * | refactor style to more closely match the style of the existing code, such as ↵ | William Ahern | 2016-06-24 | 1 | -22/+35 | |
| | | | | | | | | it is | |||||
| * | refactor and add ashb's regression test for #53 | William Ahern | 2016-06-24 | 4 | -2/+26 | |
| | | ||||||
| * | initialize attr to NULL in xr_setExtensionByNid to silence clang, which ↵ | William Ahern | 2016-06-23 | 1 | -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 CSR | Ash Berlin | 2016-04-11 | 2 | -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 Berlin | 2016-04-09 | 1 | -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 Ahern | 2016-02-16 | 2 | -0/+2 | |
|\ | ||||||
| * | Merge branch 'patch-1' of git://github.com/Zash/luaossl into Zash-patch-1 | William Ahern | 2016-02-16 | 2 | -0/+2 | |
|/| | ||||||
| * | Add openssl.x509.csr to makefile | Kim Alvefur | 2016-02-06 | 1 | -0/+1 | |
| | | ||||||
| * | Expose openssl.x509.csr | Kim Alvefur | 2016-02-06 | 1 | -0/+1 | |
| | | ||||||
* | | Merge branch 'daurnimator-bignum-new' | William Ahern | 2016-02-16 | 1 | -7/+42 | |
|\ \ | |/ |/| | ||||||
| * | Merge branch 'bignum-new' of git://github.com/daurnimator/luaossl into ↵ | William Ahern | 2016-02-16 | 1 | -7/+42 | |
|/| | | | | | | | daurnimator-bignum-new | |||||
| * | bignum: Don't allow empty numbers/strings to pass | daurnimator | 2016-01-04 | 1 | -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 openssl | daurnimator | 2016-01-04 | 1 | -2/+11 | |
| | | | | | | | | OpenSSL doesn't throw an error on invalid numbers | |||||
| * | bignum: handle negative hex numbers | daurnimator | 2016-01-04 | 1 | -2/+11 | |
| | | ||||||
| * | bignum: Add fromBinary constructor | daurnimator | 2016-01-04 | 1 | -0/+12 | |
| | | | | | | | | Closes #44 | |||||
| * | bignum.new: Allow initialisation from hex strings | daurnimator | 2016-01-04 | 1 | -5/+10 | |
| | |