aboutsummaryrefslogtreecommitdiff
path: root/client/verify.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 17:28:31 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 17:28:31 +0100
commit71ed441c7d0ce507d72f02fb06679b6479fefc19 (patch)
tree874168ae0ba9e85c807ad9d9b83866c0d4d096af /client/verify.go
parent2ad1e255d7909376bec16dc874e51be5b2629273 (diff)
removed fixed TODOs
Diffstat (limited to 'client/verify.go')
-rw-r--r--client/verify.go6
1 files changed, 0 insertions, 6 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