aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/verify.go6
-rwxr-xr-xserver/testdata/cmd/add-entry1
-rwxr-xr-xserver/testdata/cmd/get-consistency-proof1
-rwxr-xr-xserver/testdata/cmd/get-sth1
4 files changed, 0 insertions, 9 deletions
diff --git a/client/verify.go b/client/verify.go
index b5257ac..c66e54c 100644
--- a/client/verify.go
+++ b/client/verify.go
@@ -12,12 +12,6 @@ import (
"github.com/system-transparency/stfe"
)
-// TODO: fix so that publicKey is already passed as crypto.PublicKey
-//k, err := x509.ParsePKIXPublicKey(publicKey)
-//if err != nil {
-// return fmt.Errorf("failed parsing public key: %v", err)
-//}
-
func VerifySignedDebugInfoV1(sdi *stfe.StItem, scheme tls.SignatureScheme, key crypto.PublicKey, message []byte) error {
if err := supportedScheme(scheme, key); err != nil {
return err
diff --git a/server/testdata/cmd/add-entry b/server/testdata/cmd/add-entry
index 0935614..853dd97 100755
--- a/server/testdata/cmd/add-entry
+++ b/server/testdata/cmd/add-entry
@@ -34,4 +34,3 @@ popd >/dev/null
info "sending add-entry request"
curl --header "application/json" --request POST --data $json $base_url/add-entry
newline
-# TODO: try decoding and verifying signature
diff --git a/server/testdata/cmd/get-consistency-proof b/server/testdata/cmd/get-consistency-proof
index b5b749c..206cb4c 100755
--- a/server/testdata/cmd/get-consistency-proof
+++ b/server/testdata/cmd/get-consistency-proof
@@ -13,4 +13,3 @@ fi
info "sending get-consistency-proof request"
curl -G -d "first=$first" -d "second=$second" $base_url/get-consistency-proof
newline
-# TODO: try decoding and verifying proof
diff --git a/server/testdata/cmd/get-sth b/server/testdata/cmd/get-sth
index 9060633..e5881a9 100755
--- a/server/testdata/cmd/get-sth
+++ b/server/testdata/cmd/get-sth
@@ -6,4 +6,3 @@ source config
info "fetching signed tree head"
curl -G $base_url/get-sth
newline
-# TODO: try decoding and verifying signature