6 Commits

Author SHA1 Message Date
Michael Stapelberg
3c1aa9087c tlsflag,httpclient: remove global state 2025-12-08 21:31:10 +01:00
Michael Stapelberg
839bc69fbd remove tlsflag and updateflag Register functions
These flags are no longer used.

related to https://github.com/gokrazy/tools/pull/68
2025-12-05 17:37:09 +01:00
Michael Stapelberg
ce9754d612 tlsflag: remove httpclient wrapper
This makes it possible to import package tlsflag from httpclient in a follow-up
commit.
2023-01-15 16:27:14 +01:00
Michael Stapelberg
7b8403f423 add getters/setters for updateflag and tlsflag 2022-10-02 23:10:28 +02:00
Michael Stapelberg
3a50f98bee treat -tls="" as enabled if certs exist, add -tls=off
This allows using breakglass without explicitly setting -tls=self-signed.

fixes https://github.com/gokrazy/gokrazy/issues/131
2022-07-09 19:25:10 +02:00
Michael Stapelberg
b97ccfa731 refactor gokr-packer’s -tls flag into internal
related to https://github.com/gokrazy/breakglass/issues/13
2022-04-30 21:20:58 +02:00