diff --git a/server/verify.go b/server/verify.go index 7d338c1c..050638f6 100644 --- a/server/verify.go +++ b/server/verify.go @@ -123,7 +123,8 @@ func VerifyAttestation(attestation *pb.Attestation, opts VerifyOpts) (*pb.Machin } func pubKeysEqual(k1 crypto.PublicKey, k2 crypto.PublicKey) bool { - // Common interface for all public keys (see crypto.PublicKey documentation) + // Common interface for all the standard public key types, see: + // https://pkg.go.dev/crypto@go1.18beta1#PublicKey type publicKey interface { Equal(crypto.PublicKey) bool }