1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-20 11:31:34 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
adnano
1627930aa7 examples/server: Generate new certificates when they expire 2020-10-13 14:22:15 -04:00
adnano
a0c7ce836f Rename (*KnownHosts).Load to LoadDefault 2020-10-12 16:56:55 -04:00
adnano
f42c150416 Remove tilde from comment 2020-09-27 22:19:24 -04:00
adnano
14e569bf92 Change package name to gmi 2020-09-27 20:20:59 -04:00
adnano
c548e8baa8 Reject invalid status codes 2020-09-27 19:56:33 -04:00
adnano
6f38db41e2 Add function to add a host temporarily 2020-09-27 17:41:41 -04:00
adnano
a65334882b Fix hosts not being added to known hosts file 2020-09-27 16:06:17 -04:00
adnano
f19d3b09cd Don't store wildcards in the known hosts file 2020-09-27 15:03:46 -04:00
adnano
f38da56732 Handle multiple DNS names
Each DNS name gets its own entry in the known hosts file
2020-09-27 14:22:41 -04:00
adnano
d7717577ea Add function to write known hosts to io.Writer 2020-09-27 14:18:30 -04:00
adnano
557d9b9615 Implement default known hosts path 2020-09-26 13:35:56 -04:00
adnano
a76535c921 Remove (*KnownHosts).Has function 2020-09-26 13:29:29 -04:00
adnano
6a5a7c40c5 Differentiate between unknown and untrusted certificates 2020-09-26 13:27:03 -04:00
adnano
578746550e Refactor TOFU 2020-09-25 23:18:14 -04:00
adnano
134d0277f5 Implement basic TOFU 2020-09-25 21:43:13 -04:00
adnano
130312a1e0 Add KnownHost.Write function 2020-09-25 20:55:37 -04:00
adnano
39b55f4261 Fix known host expires check 2020-09-25 20:31:07 -04:00
adnano
f994f3dbd0 Add method to check if hostname is found in KnownHosts 2020-09-25 20:22:48 -04:00
adnano
d84cbcaf49 Reorganize 2020-09-25 19:09:49 -04:00
adnano
4c8a12e2fb Remove TLSConfig fields 2020-09-25 18:53:20 -04:00