diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 17:28:31 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 17:28:31 +0100 |
commit | 71ed441c7d0ce507d72f02fb06679b6479fefc19 (patch) | |
tree | 874168ae0ba9e85c807ad9d9b83866c0d4d096af | |
parent | 2ad1e255d7909376bec16dc874e51be5b2629273 (diff) |
removed fixed TODOs
-rw-r--r-- | client/verify.go | 6 | ||||
-rwxr-xr-x | server/testdata/cmd/add-entry | 1 | ||||
-rwxr-xr-x | server/testdata/cmd/get-consistency-proof | 1 | ||||
-rwxr-xr-x | server/testdata/cmd/get-sth | 1 |
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 |