Adnan Maolood
|
65a5065250
|
Refactor client.TrustCertificate workflow
|
2020-10-31 22:34:51 -04:00 |
|
Adnan Maolood
|
34ae2a9066
|
Use strings.Builder in Fingerprint
|
2020-10-28 15:14:24 -04:00 |
|
Adnan Maolood
|
f0345f3495
|
Rename repository to go-gemini
|
2020-10-24 15:15:32 -04:00 |
|
adnano
|
2c1081966d
|
KnownHosts: use map instead of slice for underlying storage
|
2020-10-13 19:54:48 -04:00 |
|
adnano
|
3d1e9e5519
|
Move certificate verification code to VerifyConnection
|
2020-10-13 16:44:46 -04:00 |
|
adnano
|
db89a34935
|
examples/server: Generate new certificates when they expire
|
2020-10-13 14:22:15 -04:00 |
|
adnano
|
4770ad9112
|
Rename (*KnownHosts).Load to LoadDefault
|
2020-10-12 16:56:55 -04:00 |
|
adnano
|
b7340aef27
|
Remove tilde from comment
|
2020-09-27 22:19:24 -04:00 |
|
adnano
|
38fe1f21dc
|
Change package name to gmi
|
2020-09-27 20:20:59 -04:00 |
|
adnano
|
73e4ef0689
|
Reject invalid status codes
|
2020-09-27 19:56:33 -04:00 |
|
adnano
|
8009de81eb
|
Add function to add a host temporarily
|
2020-09-27 17:41:41 -04:00 |
|
adnano
|
32a9fcba0c
|
Fix hosts not being added to known hosts file
|
2020-09-27 16:06:17 -04:00 |
|
adnano
|
e01d59f8f6
|
Don't store wildcards in the known hosts file
|
2020-09-27 15:03:46 -04:00 |
|
adnano
|
f0ce4576e1
|
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
|
013b2a4d3e
|
Add function to write known hosts to io.Writer
|
2020-09-27 14:18:30 -04:00 |
|
adnano
|
769b6ff4d9
|
Implement default known hosts path
|
2020-09-26 13:35:56 -04:00 |
|
adnano
|
1b3f9a0655
|
Remove (*KnownHosts).Has function
|
2020-09-26 13:29:29 -04:00 |
|
adnano
|
bf3e6b3c5c
|
Differentiate between unknown and untrusted certificates
|
2020-09-26 13:27:03 -04:00 |
|
adnano
|
927dfd29c5
|
Refactor TOFU
|
2020-09-25 23:18:14 -04:00 |
|
adnano
|
b4295dd2dc
|
Implement basic TOFU
|
2020-09-25 21:43:13 -04:00 |
|
adnano
|
4a95fe4a90
|
Add KnownHost.Write function
|
2020-09-25 20:55:37 -04:00 |
|
adnano
|
be55224f89
|
Fix known host expires check
|
2020-09-25 20:31:07 -04:00 |
|
adnano
|
eaa034204a
|
Add method to check if hostname is found in KnownHosts
|
2020-09-25 20:22:48 -04:00 |
|
adnano
|
2f43c191cc
|
Reorganize
|
2020-09-25 19:09:49 -04:00 |
|
adnano
|
ace3e682de
|
Remove TLSConfig fields
|
2020-09-25 18:53:20 -04:00 |
|