Skip to content

Commit

Permalink
Merge pull request #360 from elliotcubit/ecubit/intermediates-signatures
Browse files Browse the repository at this point in the history
verifier: set ValidSignature for certificates in the graph
  • Loading branch information
elliotcubit authored May 3, 2023
2 parents 13ae606 + f9aa5b9 commit c6c18cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions verifier/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ func (g *Graph) WalkChainsAsync(c *x509.Certificate, opt WalkOptions) chan x509.
c.ValidSignature = true
break
}
} else {
// We already trust the signatures in the graph.
c.ValidSignature = true
}

go g.walkFromEdgeToRoot(start, out)
return out
}
Expand Down

0 comments on commit c6c18cc

Please sign in to comment.