Commit graph

237 commits

Author SHA1 Message Date
MidAutumnMoon
c31ab3717d
Add install guide for Arch Linux 2021-03-28 03:01:22 +08:00
Johann150
8876c9771f
update documents for new version 2021-03-27 01:47:24 +01:00
Johann150
b4181ecd2f
update Debian install script 2021-03-27 01:21:38 +01:00
Johann150
61fc129dde
update changelog 2021-03-27 01:20:10 +01:00
Johann150
efb59bd224
update readme 2021-03-27 01:03:47 +01:00
Johann150
2213b055dc
add automatic certificate generation 2021-03-27 00:52:50 +01:00
Johann150
d24db63583
remove silent flag in favour of RUST_LOG 2021-03-26 20:33:45 +01:00
Johann150
2934350485
add function to check for cert of a domain 2021-03-26 12:49:31 +01:00
Johann150
e6f70722de
improve help texts 2021-03-25 21:42:24 +01:00
Johann150
c338696242
sort dependencies alphabetically 2021-03-25 20:45:57 +01:00
Johann150
b2d571de6b
add pull request number to CHANGELOG 2021-03-23 23:29: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
b96cf3940b
add uninstall script 2021-03-10 23:07:04 +01:00
Johann150
ddc1f4ddb2
update Debian install script 2021-03-10 23:07:03 +01:00
Johann150
2ed6d2886e
Merge branch 'master' into multi-certs 2021-03-09 21:11:34 +01:00
Johann150
3ffe89b775
make all log lines uniform
Now also if the connection is never established. Use the nonexistent status
code 00 for that.
2021-03-07 00:04:22 +01:00
Johann150
d4324233c7
make log lines more uniform
Ensure there is something logged for the request if reading it actually failed.
Instead just write an empty quoted string.
2021-03-07 00:04:21 +01:00
Johann150
c6b34055e9
suppress log messages from other modules
resolves #30
2021-03-07 00:04:02 +01:00
Johann150
afd30c386c
implement clippy reccomendation 2021-03-03 23:17:35 +01:00
Johann150
5dbb4be864
improve comments 2021-03-03 23:09:29 +01:00
Johann150
564424702a
update changelog 2021-03-03 19:51:16 +01:00
Johann150
424bed7861
add instructions for multiple certificates
also adjusted the certificate creation example to contain a subject alt name
with a DNS entry. This is strictly speaking not required for the top level
certificate, but it doesn't hurt to include it and makes the example reusable
for all certificates.
2021-03-03 19:41:36 +01:00
Johann150
f03e8e8596
add test for multicert 2021-03-03 18:57:41 +01:00
Johann150
635f7bc1e7
better error messages 2021-03-03 18:46:41 +01:00
Johann150
06819eeabd
add loading fallback certificates 2021-02-28 15:12:20 +01:00
Johann150
5a4907292f
use certificate store 2021-02-28 10:42:56 +01:00
Johann150
f374598fd3
add module to store multiple certificates 2021-02-28 10:42:51 +01:00
Johann150
8d11af336e
update documents for new version 2021-02-27 21:03:59 +01:00
Johann150
e00f8e5026
add version info flag 2021-02-27 20:46:08 +01:00
Johann150
b7ffece867
correct help text 2021-02-27 20:43:47 +01:00
Johann150
3f5d322eea
update dependencies 2021-02-27 11:03:57 +01:00
Johann150
4a41f62841
update and maintain changelog
added issue and pull request numbers and respective acknowledgements for older
releases too
2021-02-27 10:42:51 +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
1059f8b94a
never log remote port
This information is basically useless anyway and fills logs needlessly.
Because this is not necessarily true for the local port because multiple ports
may be selected for hosting, logging for the local socket address is unchanged.
2021-02-25 14:14:08 +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
e1d808a790
use crate from crates.io 2021-02-20 09:09:45 +01:00
Johann150
f6ba98aa24
add test framework and a basic test 2021-02-19 19:31:59 +01:00
Johann150
be2d6f9f00
add CI actions
actual tests will still have to be added.
2021-02-19 12:20:16 +01:00
Johann150
bc501ebcc5
update CHANGELOG and CONTRIBUTING
Moved updating the changelog from the quality standards up to the workflow
section so it should not be missed, since it is not really a quality standard
but an action to be performed.
2021-02-19 12:08:19 +01:00
Johann150
b5fa24cb5b
resolve TODO comment for Url 2021-02-19 12:01:59 +01:00
Johann150
beb48937e0
Merge pull request #38 from 06kellyjac/install_nix
add install notes for nix/NixOS
2021-02-19 11:11:36 +01:00
Johann150
548d34d8a8
simplify README structure
The document should be easily convertable to text/gemini format.
Level 4 headings are therefore undesirable.
2021-02-19 11:09:43 +01:00
06kellyjac
4ff5352f21 add install notes for nix/NixOS 2021-02-19 09:48:16 +00:00