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

26 Commits

Author SHA1 Message Date
adnano
2e23e6b8f5 certificate: Fix store directory creation 2024-01-20 17:31:30 -05:00
adnano
ec3557df46 certificate.Store: Call os.MkdirAll on Load 2021-03-09 08:59:28 -05:00
adnano
16e4e9ad7d certificate.Store: Don't call os.MkdirAll 2021-03-06 13:11:11 -05:00
adnano
162928e85f certificate.Store: Don't check parent scopes in Lookup
Limit the scopes of client certificates to hostnames only instead of
hostnames and paths.
2021-03-06 12:59:33 -05:00
adnano
159d88e894 certificate.Store: Make 100 years the default duration 2021-03-05 23:29:56 -05:00
adnano
b5a00b3257 certificate.Store: Clean scope path in Load
Clean the scope path so that trimming the path from the scope works for
relative paths.
2021-03-05 10:51:55 -05:00
adnano
8811080005 Revert "certificate: Remove Subject from CreateOptions"
This reverts commit f3481c3ff8.
2021-03-04 20:04:46 -05:00
adnano
12b94a4755 Revert "certificate.Store: Allow using '*' in DNSNames"
This reverts commit 24db7b4777.
2021-03-04 19:26:13 -05:00
adnano
f1cf35587c certificate.Store: Bump default duration to 250 years 2021-03-04 16:55:09 -05:00
adnano
24db7b4777 certificate.Store: Allow using '*' in DNSNames
This isn't exactly a valid DNSName, but it reduces the number of
certificates that need to be created. Clients should either accept it or
skip checking DNSNames.
2021-03-04 16:40:25 -05:00
adnano
f3481c3ff8 certificate: Remove Subject from CreateOptions 2021-03-04 16:27:16 -05:00
adnano
dd0bc6b681 certificate: Fix deadlock in Store.Get 2021-03-04 16:20:57 -05:00
adnano
6af459aaa0 certificate.Store: Fix hostname registration check 2021-03-04 16:12:36 -05:00
adnano
b4a4ece459 certificate.Store: Check parent scopes in Lookup 2021-02-28 20:23:32 -05:00
adnano
8cc1c4138f certificate.Store: Support client certificates 2021-02-28 19:29:25 -05:00
adnano
5561898c6c certificate.Store: Mention GetCertificate usage 2021-02-23 09:10:22 -05:00
adnano
685614304b certificate: Update documentation 2021-02-23 09:05:45 -05:00
adnano
2e15b28224 certificate.Store: Update documentation 2021-02-23 09:03:38 -05:00
adnano
9cf950f7c0 certificate.Store: Check '*' scope last 2021-02-23 08:52:12 -05:00
adnano
67c25087da certificate.Store: Allow certificate of scope '*' 2021-02-23 08:46:43 -05:00
adnano
bc235d4534 certificate.Store: Remove client certificate support 2021-02-23 08:37:05 -05:00
adnano
28dd6017c8 certificate.Store: Support "*" wildcard pattern 2021-02-20 18:26:15 -05:00
adnano
0c30cc7590 certificate.Store: Generate certificates by default 2021-02-20 18:25:02 -05:00
adnano
8060304af2 certificate: Implement GetCertificate callback 2021-02-19 18:42:53 -05:00
adnano
6f1fc6af86 certificate: Add Dir.Entries function 2021-01-14 21:19:27 -05:00
adnano
164d173e1c Move cert.go to a subpackage 2021-01-14 20:42:12 -05:00