incus-mirror/shared/tls
Stéphane Graber d59a96e45c
shared/tls: Detect Lego version/behavior based on help
The previous attempt at detecting Lego v5 wasn't successful as various
distribution and packages appear to be messing with reporting of the
version string...

Most notably the Debian lego package reports the version as "dev".
Some others report it based on git tag ("v4" prefix) while others report
the actual version ("4.x").

This is enough of a mess that we should instead just scan the help message.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-31 10:10:08 -04:00
..
tlstest Rewrite Go import path to v7 2026-05-02 01:18:25 +02:00
acme_test.go shared/tls: Move ACME challenge to shared/tls 2025-12-10 11:44:58 -08:00
acme.go shared/tls: Detect Lego version/behavior based on help 2026-05-31 10:10:08 -04:00
cert_test.go Rewrite Go import path to v7 2026-05-02 01:18:25 +02:00
cert.go Rewrite Go import path to v7 2026-05-02 01:18:25 +02:00
network_unix.go global: Update for shared/cert 2023-09-08 10:36:05 -04:00
network_windows.go shared/tls: Don't needlessly use format string functions 2025-05-23 01:42:22 -04:00
tls_test.go shared/tls: implement Happy Eyeballs (RFC 8305) in RFC3493Dialer 2025-12-16 14:07:07 -05:00
tls.go Rewrite Go import path to v7 2026-05-02 01:18:25 +02:00