aboutsummaryrefslogtreecommitdiff
path: root/instance.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-27 19:49:24 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-27 19:49:24 +0100
commitaa9189a05fa548bbad80af42a84027a6e9c40737 (patch)
tree6ff8eacf04f0a3bb96eecee96a92b8a50473b348 /instance.go
parente350e63ccbb6cd84d48a8187c7d7727a4027c3fb (diff)
added buildChainFromDerList tests
Diffstat (limited to 'instance.go')
-rw-r--r--instance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/instance.go b/instance.go
index 6732698..510c7ae 100644
--- a/instance.go
+++ b/instance.go
@@ -92,7 +92,7 @@ func NewLogParameters(treeId int64, prefix string, anchorPath, keyPath string, m
MaxChain: maxChain,
AnchorPool: anchorPool,
AnchorList: anchorList,
- KeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageAny},
+ KeyUsage: []x509.ExtKeyUsage{}, // placeholder, must be tested if used
Signer: key,
HashType: crypto.SHA256,
}, nil