aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: sbearssl_run adapted to new allread() APILaurent Bercot2022-10-071-2/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add workaround to bearssl regression with BR_FEATURE_X509_TIME_CALLBACKLaurent Bercot2022-10-077-8/+65
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-tls[cd]: don't leak useless fd to the appLaurent Bercot2022-08-301-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* sbearssl_sni_policy_vtable: use the COPY macro for ec as wellLaurent Bercot2022-08-121-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix allread errno managementLaurent Bercot2022-07-183-0/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.1.1; adapt to skalibs-2.12.0.0Laurent Bercot2022-04-095-12/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sbearssl_*_set_tain(n)_g convenience macrosLaurent Bercot2021-11-193-2/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Allow SNI wildcarding for *.example.comLaurent Bercot2021-11-181-5/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* SNI matches are case-insensitiveLaurent Bercot2021-11-181-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error path in add_keypair_file for sbearssl SNI policyLaurent Bercot2021-11-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error message in sbearssl server initLaurent Bercot2021-11-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* No need for twice the workaround ^^'Laurent Bercot2021-11-081-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Workaround for a bearssl bug in do_signLaurent Bercot2021-10-191-0/+1
| | | | | | Credit to Erico Nogueira for reporting and helping find the bug. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix error case in readbigpemLaurent Bercot2021-10-181-5/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix sbearssl send_environment protocolLaurent Bercot2021-09-242-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Log client decision on s6-ucspitls[cd] -v2Laurent Bercot2021-09-242-8/+42
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.11.0.0Laurent Bercot2021-08-1036-125/+112
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.5.0.0; remove minidentdLaurent Bercot2021-07-235-493/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* CosmeticsLaurent Bercot2021-06-032-3/+2
|
* Inline functionsLaurent Bercot2021-06-031-2/+2
|
* Don't hardcode ecdsa signature implementation in sni_policyLaurent Bercot2021-06-031-1/+1
|
* Work around incredible libtls stupidityLaurent Bercot2021-06-021-0/+8
|
* Correctly clean up the environment for -zLaurent Bercot2021-06-025-29/+54
|
* Debug session. Now works.Laurent Bercot2021-06-027-46/+54
| | | | | The environment given to the application still needs to be cleaned up of SNI variables.
* Merge branch 'dev'Laurent Bercot2021-06-0124-62/+657
|\ | | | | | | | | This add full client certificate support, as well as tentative SNI functionality
| * Add servername to storagedevLaurent Bercot2021-06-015-18/+15
| |
| * Make stuff buildLaurent Bercot2021-06-013-54/+76
| | | | | | | | Still not working: we need to add servername to the storage
| * Add all the missing pieces for sni_policyLaurent Bercot2021-06-0119-122/+326
| | | | | | | | | | sbearssl_server_init_and_run is yet unchanged, the next step is to rewrite it using the new primitives.
| * Start work on bearssl server-side sniLaurent Bercot2021-05-3010-0/+372
| |
* | bugfix: -l option in s6-tlsserver takes an argLaurent Bercot2021-05-301-1/+1
|/
* Server-side SNI, libtls versionLaurent Bercot2021-05-287-32/+84
| | | | Implementation for bearssl coming soon.
* All good, remove debug instructionsLaurent Bercot2021-05-273-20/+1
|
* Remove backtraces; add verification impls to server enginesLaurent Bercot2021-05-272-9/+2
|
* Add backtrace invocation to debug spurious get_pkey callLaurent Bercot2021-05-271-1/+10
|
* More debug commandsLaurent Bercot2021-05-252-4/+11
|
* bugfix: tcpserver should unignore SIGPIPELaurent Bercot2021-05-222-2/+4
|
* Trivial syscall number optimizationLaurent Bercot2021-05-212-2/+2
|
* Debugging iterationLaurent Bercot2021-05-202-2/+1
|
* Add an x509 engine wrapping minimal. NOT FUNCTIONAL, FOR TESTING.Laurent Bercot2021-05-2012-66/+310
|
* Prepare for 2.4.2.0; implement client certificates with bearsslLaurent Bercot2021-05-189-83/+199
| | | | Also send a bit more environment with libtls
* sbearssl cosmetic fixesLaurent Bercot2021-05-082-3/+5
|
* Remove SSL_TLS_SNI_SERVERNAME (instead of defined but empty) if no SNILaurent Bercot2021-01-282-8/+20
|
* Prepare for 2.4.1.0; add SSL_TLS_SNI_SERVERNAMELaurent Bercot2021-01-282-2/+9
|
* Tiny code and doc fixesLaurent Bercot2021-01-182-0/+2
|
* Implement handshake timeout for libtls backendLaurent Bercot2021-01-139-14/+53
|
* Get rid of webipc.hLaurent Bercot2020-12-094-10/+10
|
* Change -K semantics: timeout *during handshake*, not afterwardsLaurent Bercot2020-12-075-13/+14
| | | | | | | | | | | | | | - the TLS tunnel itself should be transparent so it has no business shutting down the connection no matter how long the app takes - there's still an undetectable situation on some kernels where EOF doesn't get transmitted from the network, and the engine is in the handshake, and it can't do anything but wait forever. A timeout is useful here: dawg, your peer is never going to send any more data, you should just give up. - if the situation happens after the handshake, the *app* should have a timeout and die. The tunnel will follow suit. - libtls has a blocking tls_handshake() blackbox, we cannot give it a timeout. Too bad, use bearssl.
* Fix build with skalibs 2.10.0.0; document dependenciesLaurent Bercot2020-11-301-1/+1
|
* Convert to new exec.h syntaxLaurent Bercot2020-11-2616-83/+106
|
* That exit condition is really hard to get right >.>Laurent Bercot2020-11-261-1/+1
|