You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
Currently the Golang logclient does not check the the signature returned by the /ct/v1/get-sth as defined in RFC 6962 section 4.3.
Seems that there is already a function SignatureVerifier.VerifySTHSignature() in signatures.go that can be used to check the signature of a STH, just need to integrate it with logclient to actually check the sig.
Related to this, getConsistencyProofResponse, getAuditProofResponse and getEntryAndProofResponse should probably be checking against STH for integrity as well.
The text was updated successfully, but these errors were encountered:
Currently the Golang
logclient
does not check the the signature returned by the/ct/v1/get-sth
as defined in RFC 6962 section 4.3.Seems that there is already a function
SignatureVerifier.VerifySTHSignature()
insignatures.go
that can be used to check the signature of a STH, just need to integrate it withlogclient
to actually check the sig.Related to this,
getConsistencyProofResponse
,getAuditProofResponse
andgetEntryAndProofResponse
should probably be checking against STH for integrity as well.The text was updated successfully, but these errors were encountered: