Ran
|
Jobs
7
|
Files
14
|
Run time
8min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/thibaultcha/lua-cassandra/commit/<a class=hub.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">d742d5ca8<a href="https://github.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">">feat(*) set default LuaSec protocol to &#39;any&#39; &amp; expose option Allows changing the TLS encryption version. The underlying luasec library allows for setting the encryption protocol to &#39;any&#39; [1]. When set as such, the client negotiates the highest encryption protocol available. This `any` protocol version setting is widely in use in the luasec repository [2]. In my testing, when `any` is set, it resulted in TLSv1.2 being utilized for the conneciton. While I expected TLSv1.3 to be utilized, after some research, I discovered that JDK 8 has had TLSv1.3 support backported to it but TLSv1.3 is not enabled by default and requires extra configuration when starting the JVM [3]. Partially implements #106. [1] - https://github.com/brunoos/luasec/blob/</a><a class="double-link" href="https://github.com/thibaultcha/lua-cassandra/commit/<a class="double-link" href="https://github.com/thibaultcha/lua-cassandra/commit/711a98b7605ad87b521ba607024947113bc1f527">711a98b76</a>">711a98b76</a><a href="https://github.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">/CHANGELOG#L101 [2] - https://github.com/brunoos/luasec/search?q=protocol+%3D+%22any%22 [3] - https://www.oracle.com/java/technologies/javase/8u261-relnotes.html#JDK-8145252 Signed-off-by: Jeremy J. Miller <jeremy.miller@konghq.com> Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
5 of 5 new or added lines in 2 files covered. (100.0%)
1622 of 1745 relevant lines covered (92.95%)
3835.27 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
3 |
85.79 |
lib/resty/cassandra/cluster.lua |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|