From 599daffb3b2dd5cafe440f3b6c9037cad2b0c4f2 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 23 Dec 2025 01:04:15 +0900 Subject: [PATCH 1/3] Update WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com> --- WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs index 468cd73..cbf4c23 100644 --- a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs +++ b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs @@ -652,6 +652,7 @@ namespace Catswords.TlsReport object v = key.GetValue(valueName, null); if (v == null) return null; if (v is int i) return i; + if (v is long l) return (int)l; // Handle 64-bit to 32-bit conversion if (v is byte[] b && b.Length >= 4) return BitConverter.ToInt32(b, 0); return null; } From e99a2a46a9b4fa0220df38ebc014e93c57fd13f8 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 23 Dec 2025 01:05:21 +0900 Subject: [PATCH 2/3] Update WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com> --- WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs index cbf4c23..8c0d578 100644 --- a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs +++ b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs @@ -398,7 +398,7 @@ namespace Catswords.TlsReport var funcs = ReadMultiStringHKLM(k, "Functions"); if (funcs == null) - return Warn("Cipher suite policy Functions", "Functions value not readable or not set."); + return Fail("Cipher suite policy Functions", "Policy key exists, but Functions value is missing, unreadable, or not REG_MULTI_SZ. This can block TLS handshakes."); if (funcs.Length == 0) return Fail("Cipher suite policy Functions", "Functions list is empty. This can block TLS handshakes."); return Info("Cipher suite policy Functions", "Functions count=" + funcs.Length); From cb230a10f5699aa97d8df64d85f2654390683ea8 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 23 Dec 2025 01:06:07 +0900 Subject: [PATCH 3/3] Update WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com> --- WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs index 8c0d578..4b01420 100644 --- a/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs +++ b/WelsonJS.Augmented/Catswords.TlsReport/Tls12OfflineInspector.cs @@ -27,6 +27,8 @@ namespace Catswords.TlsReport { var ctx = new Context(); var items = new List(); + if (!IsAdministrator()) + items.Add(Warn("Administrator privileges", "Not running as Administrator; some registry checks may not be accessible.")); // 0) Environment / runtime surface items.Add(CheckOsVersion(ctx));