diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-10-02 20:23:51 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-10-02 20:23:51 +0200 |
commit | cc75064317725f5b4d58b8b364dbf0c9c431ec3e (patch) | |
tree | 7ee92c65d4340ecf910d0c966087f1b5a0ec404a /cmd/sigsum_log_go | |
parent | 01d7bd4785be2c82cc4765ba6e27cbcf61188862 (diff) |
added domain_hint enforcementv0.3.0
Diffstat (limited to 'cmd/sigsum_log_go')
-rw-r--r-- | cmd/sigsum_log_go/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/sigsum_log_go/main.go b/cmd/sigsum_log_go/main.go index 5af8563..b22dd40 100644 --- a/cmd/sigsum_log_go/main.go +++ b/cmd/sigsum_log_go/main.go @@ -25,6 +25,7 @@ import ( "git.sigsum.org/sigsum-log-go/pkg/state" trillianWrapper "git.sigsum.org/sigsum-log-go/pkg/trillian" "git.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/dns" ) var ( @@ -134,6 +135,9 @@ func setupInstanceFromFlags() (*sigsum.Instance, error) { return nil, fmt.Errorf("NewStateManager: %v", err) } + // Setup DNS verifier + i.DNS = dns.NewDefaultResolver() + // Register HTTP endpoints mux := http.NewServeMux() http.Handle("/", mux) |