From 151a1ec76b15fc1d1e86a6def22c1f7bb52ef2e5 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Tue, 25 Jan 2022 14:24:18 -0800 Subject: [PATCH] Update crypto.PublicKey documentation Signed-off-by: Joe Richey --- server/verify.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }