nervuri
89efe5d18f
put JS code directly in index.html
...
This fixes a bug where the template parameters in the JS code were not
being replaced with actual values.
2023-09-30 16:26:46 +00:00
nervuri
4bcd168abc
move html, js, css and gmi files to "frontend" dir
2023-09-20 09:53:02 +00:00
nervuri
b7322519a8
big UI commit; add NJA3 proper
...
* add HTML and Gemtext UI
* extend NJA3
* decode hex-encoded Client Hello message sent as query string
* decode compress_certificate extension (RFC 8879)
* update golang.org/x/crypto from v0.5.0 to v0.13.0
* in /json/v2, expose IANA "recommended" boolean field for
cipher_sutes and signature_algorithms
* suggest certbot's `--deploy-hook` option in INSTALL.md
2023-09-20 08:31:19 +00:00
nervuri
fe085af75c
reorganize code, add json/v2 endpoint and API doc
2023-04-30 16:27:55 +00:00
nervuri
7af54c28e1
add extra handshake message checks
2023-04-03 10:49:30 +00:00
nervuri
43900e63a4
move client hello parser to separate package
2023-04-03 10:49:30 +00:00
nervuri
8b109db99d
change license to BSD-3-Clause; ensure REUSE compliance
...
https://reuse.software/
2023-04-03 10:49:30 +00:00
nervuri
afa8698946
move SetReadDeadline and SetWriteDeadline calls
2023-03-15 14:41:37 +00:00
nervuri
7e310cb012
improve code for handling requests and responses
2023-03-15 14:41:03 +00:00
nervuri
cfcbbb0962
add proper read & write timeouts
2023-03-11 20:44:39 +00:00
nervuri
0a124def84
explicitly make minimum TLS version = 1.0
2023-03-11 20:44:39 +00:00
nervuri
2eedb5537f
add comments to explain prefixConn
...
Also change a few variable names, for clarification.
2023-03-11 15:16:42 +00:00
nervuri
72b3259428
move HTML and gemtext to separate files
2023-03-11 12:48:41 +00:00
nervuri
c611d46b4f
output errors to stderr
2023-03-11 12:00:39 +00:00
nervuri
0f48c7479f
improve drop root code and move it to a separate file
2023-02-15 14:44:59 +00:00
nervuri
8cf7b02e1b
improve drop root code; remove reliance on C
2023-01-31 15:28:48 +00:00
nervuri
a37d9a5198
clarify peek() code
2022-06-12 00:00:00 +00:00
nervuri
3e8d967595
add http/1.1 for ALPN
2022-06-04 00:00:00 +00:00
nervuri
e896674f39
check record type; reject non-TLS connections
2022-06-04 00:00:00 +00:00
nervuri
dc53b5fa76
extract gmt_unix_time from client random
2022-05-27 00:00:00 +00:00
nervuri
0092ed6dd0
add author line
2022-05-26 00:00:00 +00:00
nervuri
539f7ff19d
go fmt
2022-05-26 00:00:00 +00:00
nervuri
132b6d2e12
add drop root capability and -u <user> option
...
Drop root code by Jon Jenkins:
https://stackoverflow.com/a/48991783
2022-05-26 00:00:00 +00:00
nervuri
cc1d35c4ae
init
2022-05-22 00:00:00 +00:00