gitea-pages-server/server/certificates
Gusted 98d198d419 Safely get certificate's leaf (#150)
- It's not guaranteed that `tls.X509KeyPair` will set `c.Leaf`.
- This patch fixes this by using a wrapper that parses the leaf
certificate(in bytes) if `c.Leaf` wasn't set.
- Resolves #149

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/150
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2023-01-04 04:51:27 +00:00
..
acme_account.go Add pipeline (#65) 2022-03-27 21:54:06 +02:00
certificates.go Safely get certificate's leaf (#150) 2023-01-04 04:51:27 +00:00
mock.go rm certDB helper and build in 2021-12-05 19:00:57 +01:00
mock_test.go Move gitea api calls in own "client" package (#78) 2022-06-11 23:02:06 +02:00