Skip to content
Snippets Groups Projects

Verify proofs by calling the signer service

Merged Lyuben Penkovski requested to merge 14-refactor-proof-verification into main
119 files
+ 149
42
Compare changes
  • Side-by-side
  • Inline
Files
119
+ 3
3
@@ -76,7 +76,7 @@ func main() {
}
httpClient := httpClient()
credentials := credential.NewIssuer(cfg.Credential.IssuerURI, httpClient)
credentials := credential.New(cfg.Credential.IssuerURI, httpClient)
// create policy client
policy := policy.New(cfg.Policy.Addr, policy.WithHTTPClient(httpClient))
@@ -206,14 +206,14 @@ func httpClient() *http.Client {
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
DialContext: (&net.Dialer{
Timeout: 30 * time.Second,
Timeout: 10 * time.Second,
}).DialContext,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 100,
TLSHandshakeTimeout: 10 * time.Second,
IdleConnTimeout: 60 * time.Second,
},
Timeout: 30 * time.Second,
Timeout: 10 * time.Second,
}
}
Loading