From fe362d8f0a9c84dc3a60ef21e1d7032b5c46e7be Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Thu, 10 Oct 2019 00:57:02 +0300 Subject: [PATCH] internal/age: fix typo in an ed25519PublicKeyToCurve25519 comment (#13) --- internal/age/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/age/ssh.go b/internal/age/ssh.go index 0735148..2476bbe 100644 --- a/internal/age/ssh.go +++ b/internal/age/ssh.go @@ -186,7 +186,7 @@ var curve25519P, _ = new(big.Int).SetString("57896044618658097711785492504343953 func ed25519PublicKeyToCurve25519(pk ed25519.PublicKey) []byte { // ed25519.PublicKey is a little endian representation of the y-coordinate, - // with the most significant bit set based on the sign of the x-ccordinate. + // with the most significant bit set based on the sign of the x-coordinate. bigEndianY := make([]byte, ed25519.PublicKeySize) for i, b := range pk { bigEndianY[ed25519.PublicKeySize-i-1] = b