luasec/samples
Jonas Schäfer 8bcabff0c1 Modernize certificate generation
- Use 2048 bit keys (required for modern OpenSSL)
- Use SHA256 instead of SHA1 (required for modern OpenSSL)
- Add a SubjectAltName to be able to trigger certain edge-cases
- Add all.sh to conveniently re-generate certificates
2018-11-19 15:56:42 +01:00
..
alpn Add ALPN support based on PR #64 from xnyhps 2018-08-27 15:10:18 -03:00
certs Modernize certificate generation 2018-11-19 15:56:42 +01:00
chain update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
curve-negotiation Add support for the new curve selection API. 2017-02-26 00:16:24 +01:00
dhparam Force a cipher that use DH parameter 2018-07-26 11:22:24 -03:00
digest update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
ecdh update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
info update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
key LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
loop update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
loop-gc update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
luaossl Add example of luaossl integration 2017-04-04 13:07:48 +10:00
oneshot update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
sni update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
verification Update samples (using 'tlsv1'). 2015-11-12 19:04:37 -02:00
verify update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
want update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
wantread update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
wantwrite update protocol samples(bring "tlsv1_2" to clients and "any" to servers) 2015-11-17 20:39:05 -03:00
README spelling fixes, as seen on lintian.debian.org 2016-07-11 21:57:50 +02:00

Directories: 
------------
* certs
 Contains scripts to generate the certificates used by the examples.
 Generate Root CA 'A' and 'B' first, then the servers and clients.

* chain
 Example of certificate chain in handshake.

* dhparam
 DH parameters for handshake.

* digest
 Certificate digest.

* ecdh
 Elliptic curve cipher.

* info
 Information about the connection.

* key
 Test encrypted private key.

* loop
 Test successive connections between the server and the client 
 (to check memory leak).

* loop-gc
 Same of above,  but the connection is not  explicit closed, the gabage
 collector is encharge of that.

* oneshot
 A simple connection example.

* verification
 Retrieve the certificate verification errors from the handshake.

* verify
 Ignore handshake errors and proceed.

* wantread
 Test timeout in handshake() and receive().

* wantwrite
 Test timeout in send().

* want
 Test want() method.