Matt Brubeck
8809f9378c
Update to rustls 0.22
2023-12-18 10:34:42 -08:00
Johann150
578adab629
format code
2023-08-05 10:52:13 +02:00
Michael Nordmeyer
a13e8da9e7
Adds tests for secrets serving
2023-08-05 10:51:34 +02:00
Matt Brubeck
402079117c
Upgrade rustls and tokio-rustls
...
Closes #250 . Closes #248 .
2023-04-03 10:41:37 -07:00
Johann150
48da55cf42
fix formatting and lints
2023-03-18 08:10:32 +01:00
Johann150
7bf805b26d
add test for unix socket
2023-03-18 08:03:02 +01:00
Johann150
a199b41257
automatically fix lint clippy::uninlined_format_args
2023-03-17 17:28:40 +01:00
j-k
f1e6a2e0d6
fix port collisions in tests ( #143 )
...
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-02-08 23:04:41 +01:00
Johann150
a9ccbb07c9
add test for wrongly percent-encoded domains
2022-02-04 18:14:53 +01:00
Johann150
675309f4aa
normalize hostnames before comparing
2021-11-23 09:56:28 +01:00
Johann150
e764d03458
make repo compatible with windows again
...
Apparently windows (or probably more precisely NTFS) can not deal with special
characters in file names.
2021-11-15 19:42:55 +01:00
Johann150
010d020ba1
add tests for directory listing
2021-11-07 15:24:01 +01:00
Johann150
56795d098a
renumber ports in tests
2021-11-07 15:00:41 +01:00
Johann150
b5a416fc35
update rustls and related dependencies ( #72 )
...
* chore(deps): bump rustls from 0.19.1 to 0.20.0
* chore(deps): bump webpki from 0.21.4 to 0.22.0
* chore(deps): bump tokio-rustls from 0.22.0 to 0.23.0
* update rustls calls
* update webpki naming
* update tests
2021-10-19 00:30:38 +02:00
j-k
8813196bdb
ignore dependabot prs for clippy annotations ( #78 )
2021-10-14 20:45:45 +02:00
Johann150
b0d0f64be0
actually bind to multiple addresses
...
resolves #63
This now causes an error message with the default bindings because on Linux
binding to both IPv6's [::] and IPv4's 0.0.0.0 results in a "port in use" error
2021-07-18 11:30:17 +02:00
dece
da584ef214
add a test for the port check skip
2021-06-11 07:56:18 +02:00
Matthew Ingwersen
7b1e83ec82
Add regression test for directory traversal
2021-06-08 08:22:42 +02:00
Johann150
14e15d430a
add tests for symbolically linked files & directories
...
trying to reproduce issue #60
2021-06-06 10:49:20 +02:00
Johann150
b6122cd2c0
add some information about tests
2021-04-08 23:44:35 +02:00
Jack K
8e4d6eb97b
fix port collision between username and password
...
resolves #50
2021-04-08 21:53:44 +01:00
Johann150
869a784b59
add tests for fragment and userinfo URLs
2021-04-08 00:11:47 +02:00
Johann150
2213b055dc
add automatic certificate generation
2021-03-27 00:52:50 +01:00
Johann150
4c2d33491d
add capability for multiple certificates ( #40 )
2021-03-23 23:28:16 +01:00
Johann150
eec057515d
finish up for merge
2021-03-23 23:25:04 +01:00
Johann150
d1d3f0cbb5
transform panicking test into non-panicking test
2021-03-13 23:19:20 +01:00
Johann150
782e043083
fix tests for multiple certificates
...
The tests now actually check that a specific certificate is being used by only
loading the correct one into the trust chain while running the test. The
problem before was that openssl-req by default generates CA-capable certs which
are not accepted by rustls.
2021-03-11 22:24:10 +01:00
Johann150
f03e8e8596
add test for multicert
2021-03-03 18:57:41 +01:00
Johann150
06819eeabd
add loading fallback certificates
2021-02-28 15:12:20 +01:00
Johann150
ce55c964dd
add tests for vhosts
...
closes #34
2021-02-27 10:08:28 +01:00
Johann150
43014748bf
optimise tests
...
added comments on the tests to document what they tests because some also test
multiple things
2021-02-27 09:54:56 +01:00
Johann150
8a6eb65b48
add test for TLS version selection
...
Since rustls does not even support TLS versions below 1.2, no need to check
for that.
2021-02-25 20:17:43 +01:00
Johann150
8b4692b08b
use RAII guard in tests
2021-02-25 20:17:29 +01:00
Johann150
9925d927a4
add more tests
2021-02-20 11:14:14 +01:00
Johann150
3c6684d54c
allow for parallel tests
...
By default the libtest test harness runs multiple tests in parallel.
This makes tests fail because the server port is already occupied by another port.
2021-02-20 10:22:12 +01:00
Johann150
f6ba98aa24
add test framework and a basic test
2021-02-19 19:31:59 +01:00
Matt Brubeck
2b26ed9167
README
2020-05-20 14:51:00 -07:00
Matt Brubeck
edec8f08bc
Switch to pkcs8 key file
2020-05-17 19:13:18 -07:00
Matt Brubeck
e911d7e38d
Add test key
2020-05-17 12:12:53 -07:00
Matt Brubeck
bf439b4c52
Trying to fix TLS
2020-05-17 09:58:55 -07:00
Matt Brubeck
bbd0035eb4
WIP: Add SSL config
2020-05-17 09:04:58 -07:00