feat: extend certificate pinning to all TLS protocols and add SSH

host-key pinning
This commit is contained in:
2026-06-29 19:23:10 +02:00
parent e7ed3a334e
commit fc65ea8340
19 changed files with 355 additions and 25 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ func TestIsEOF(t *testing.T) {
func TestDialTimeout(t *testing.T) {
u, _ := url.Parse("sftp://user@127.0.0.1:1/")
_, err := dial(context.Background(), u, "", true)
_, err := dial(context.Background(), u, "", true, "")
if err == nil {
t.Fatal("expected error")
}