adnano
|
70bb9c4e59
|
Allow Request.Context to be nil
|
2020-12-17 17:16:55 -05:00 |
|
adnano
|
d85abb61db
|
Fix locking up of KnownHostsFile and CertificateDir
|
2020-12-17 17:15:24 -05:00 |
|
adnano
|
2d4989c002
|
Use RWMutex instead of Mutex
|
2020-12-17 17:08:45 -05:00 |
|
adnano
|
29d420ffc9
|
Add missing imports
|
2020-12-17 17:07:00 -05:00 |
|
adnano
|
c62ed9f00e
|
Make CertificateDir safe for concurrent use by multiple goroutines
|
2020-12-17 16:52:08 -05:00 |
|
adnano
|
336ce6f414
|
Make KnownHostsFile safe for concurrent use
|
2020-12-17 16:49:59 -05:00 |
|
adnano
|
74ed3090cb
|
client: Add GetCertificate callback
|
2020-12-17 16:46:16 -05:00 |
|
adnano
|
e0aa2740cb
|
Revert to using hexadecimal to encode fingerprints
|
2020-12-16 23:58:02 -05:00 |
|
adnano
|
d37431fd29
|
Fix escaping of queries
|
2020-11-27 22:27:52 -05:00 |
|
adnano
|
7c7bfa954a
|
examples/server: Increase certificate duration
|
2020-11-27 17:54:26 -05:00 |
|
adnano
|
19c6d8ef28
|
Fix server name in TLS connections
|
2020-11-27 17:45:15 -05:00 |
|
adnano
|
611af9f6ed
|
Add context to requests
|
2020-11-26 00:42:25 -05:00 |
|
adnano
|
e9907b0628
|
Update examples/auth.go
|
2020-11-25 19:10:01 -05:00 |
|
adnano
|
2a7b9662d9
|
Fix known hosts expiration timestamps
|
2020-11-25 14:24:49 -05:00 |
|
adnano
|
57a3279d96
|
Fix certificate fingerprint check
|
2020-11-25 14:20:31 -05:00 |
|
adnano
|
048edc7db1
|
Use base64 to encode fingerprints
|
2020-11-25 14:16:51 -05:00 |
|
adnano
|
c1908868a9
|
Fix client locking up on redirects
|
2020-11-24 21:49:24 -05:00 |
|
adnano
|
f73de25fed
|
Escape path character in certificate scopes
|
2020-11-24 20:24:38 -05:00 |
|
adnano
|
be4b6dab1e
|
Don't assume a default scheme of gemini
|
2020-11-24 17:13:52 -05:00 |
|
adnano
|
2ab2d119e8
|
Make Client safe for concurrent use
|
2020-11-24 16:28:58 -05:00 |
|
adnano
|
45e9d3b99e
|
Expose KnownHosts and CertificateStore internals
|
2020-11-23 12:17:54 -05:00 |
|
adnano
|
833716e51c
|
Update KnownHosts documentation
|
2020-11-09 13:57:30 -05:00 |
|
adnano
|
59236875fd
|
Add (*CertificateStore).Write function
|
2020-11-09 13:54:15 -05:00 |
|
adnano
|
082175ea16
|
Rename (*ResponseWriter).SetMimetype to SetMediaType
|
2020-11-09 13:44:42 -05:00 |
|
adnano
|
0a574baa5c
|
Add (*KnownHosts).SetOutput function
|
2020-11-09 12:26:08 -05:00 |
|
adnano
|
75809e04cc
|
Move documentation to gemini.go
|
2020-11-09 12:07:49 -05:00 |
|
adnano
|
c8516bef63
|
Remove top-level Get and Do functions
|
2020-11-09 12:04:53 -05:00 |
|
adnano
|
50dcdabe8f
|
Remove (*KnownHosts).LoadDefault function
|
2020-11-09 09:28:44 -05:00 |
|
adnano
|
676fc4994c
|
Don't guarantee that (*Response).Body is always non-nil
|
2020-11-08 18:38:08 -05:00 |
|
adnano
|
ee691dbba5
|
Fix relative redirects
|
2020-11-07 23:43:07 -05:00 |
|
adnano
|
b244439328
|
Allow redirects to non-gemini schemes
|
2020-11-06 11:18:58 -05:00 |
|
adnano
|
74210e3339
|
Fix TOFU
|
2020-11-05 22:30:13 -05:00 |
|
adnano
|
2655be85df
|
Don't check if certificate is expired
|
2020-11-05 18:35:25 -05:00 |
|
adnano
|
ad5aa57219
|
Don't redirect by default
|
2020-11-05 15:44:01 -05:00 |
|
adnano
|
ad403ddecf
|
update examples/cert.go
|
2020-11-05 15:38:41 -05:00 |
|
adnano
|
f3f4c8d691
|
Update examples/auth.go
|
2020-11-05 15:37:46 -05:00 |
|
adnano
|
6963164a96
|
Refactor KnownHosts
|
2020-11-05 15:27:12 -05:00 |
|
adnano
|
0c0c0b9cb1
|
Document CertificateOptions
|
2020-11-05 00:04:58 -05:00 |
|
adnano
|
1fb24b625f
|
Remove some unnecessary errors
|
2020-11-04 23:46:05 -05:00 |
|
adnano
|
3bb598f1b3
|
Use ECDSA keys by default
|
2020-11-03 19:43:04 -05:00 |
|
adnano
|
eb876fa6f4
|
Update examples/auth.go
|
2020-11-03 16:29:39 -05:00 |
|
adnano
|
aaef21a9b3
|
Add ErrorLog field to Server
|
2020-11-03 16:11:31 -05:00 |
|
adnano
|
e75c77a6c7
|
Add Subject option in CertificateOptions
|
2020-11-02 23:11:46 -05:00 |
|
adnano
|
15b96489ff
|
Store request certificate to prevent infinite loop
|
2020-11-02 13:47:07 -05:00 |
|
adnano
|
386b1c56da
|
server: Populate (*Request).Certificate field
|
2020-11-01 16:25:59 -05:00 |
|
adnano
|
4c2361978e
|
Prevent infinite loop in client requests
|
2020-11-01 15:14:56 -05:00 |
|
adnano
|
92ea15ecdd
|
Update examples/auth.go
|
2020-11-01 14:47:26 -05:00 |
|
adnano
|
3de300cb92
|
Refactor Certificate and Input functions
|
2020-11-01 14:35:03 -05:00 |
|
adnano
|
e35e94bc82
|
Don't expose DefaultClient
|
2020-11-01 14:27:49 -05:00 |
|
adnano
|
0d09331fc4
|
examples: Tweak client and server timeouts
|
2020-11-01 14:20:24 -05:00 |
|