From 0fc13be413b356768c7840baef0b64599b16518e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Sch=C3=A4fer?= Date: Fri, 19 Sep 2025 16:25:04 +0200 Subject: [PATCH 1/3] feat(Docs): Addding GoReport Badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6eb32ee..8b8f99c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Newt +[![Go Report Card](https://goreportcard.com/badge/github.com/fosrl/newt)](https://goreportcard.com/report/github.com/fosrl/newt) + Newt is a fully user space [WireGuard](https://www.wireguard.com/) tunnel client and TCP/UDP proxy, designed to securely expose private resources controlled by Pangolin. By using Newt, you don't need to manage complex WireGuard tunnels and NATing. ### Installation and Documentation From a08a3b96659816cfeb0dea84f5e00be8cb630f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Sch=C3=A4fer?= Date: Fri, 19 Sep 2025 16:34:44 +0200 Subject: [PATCH 2/3] feat(Docs): Add License Badge and PkgGo Badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b8f99c..42b306e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Newt - +[![PkgGoDev](https://pkg.go.dev/badge/github.com/fosrl/newt)](https://pkg.go.dev/github.com/fosrl/newt) +[![GitHub License](https://img.shields.io/github/license/fosrl/newt)](https://github.com/fosrl/newt/blob/main/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/fosrl/newt)](https://goreportcard.com/report/github.com/fosrl/newt) Newt is a fully user space [WireGuard](https://www.wireguard.com/) tunnel client and TCP/UDP proxy, designed to securely expose private resources controlled by Pangolin. By using Newt, you don't need to manage complex WireGuard tunnels and NATing. From 9bd96ac5401de68f04eb7270f24295a0d63236db Mon Sep 17 00:00:00 2001 From: rgutmen Date: Fri, 19 Sep 2025 21:45:23 +0100 Subject: [PATCH 3/3] Support TLS_CLIENT_CERT, TLS_CLIENT_KEY and TLS_CA_CERT in Docker Compose --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 12849b1..28c50ae 100644 --- a/main.go +++ b/main.go @@ -169,7 +169,7 @@ func main() { // Legacy PKCS12 support (deprecated) tlsPrivateKey = os.Getenv("TLS_CLIENT_CERT_PKCS12") // Keep backward compatibility with old environment variable name - if tlsPrivateKey == "" { + if tlsPrivateKey == "" && tlsClientKey == "" && len(tlsClientCAs) == 0 { tlsPrivateKey = os.Getenv("TLS_CLIENT_CERT") }