forked from External/grumble
Enforce certhash-based bans and add strong certificate checking (non-working for now, crypto/tls doesn't verify client certificates)
This commit is contained in:
parent
0b1794f9b5
commit
1240fe3eb6
3 changed files with 55 additions and 20 deletions
|
|
@ -1327,7 +1327,7 @@ func (server *Server) handleUserStatsMessage(client *Client, msg *Message) {
|
|||
for i := len(state.PeerCertificates) - 1; i >= 0; i-- {
|
||||
stats.Certificates = append(stats.Certificates, state.PeerCertificates[i].Raw)
|
||||
}
|
||||
// fixme(mkrautz): strong certificate checking
|
||||
stats.StrongCertificate = proto.Bool(target.IsVerified())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue