[PATCH] pgpkeys: use full keyid to trust Linus' key

Thomas Weißschuh posted 1 patch 2 years, 6 months ago
source/pgpkeys.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] pgpkeys: use full keyid to trust Linus' key
Posted by Thomas Weißschuh 2 years, 6 months ago
It's possible for fingerprints to collide.
To avoid that people accidentally trust an impersonated key document the
full key fingerprint.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 source/pgpkeys.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/pgpkeys.rst b/source/pgpkeys.rst
index 78ba703ff42b..d036686c51dc 100644
--- a/source/pgpkeys.rst
+++ b/source/pgpkeys.rst
@@ -41,7 +41,7 @@ First, you should assign full trust to Linus's key (after importing it
 into your keyring)::
 
     $ gpg --import keys/79BE3E4300411886.asc
-    $ gpg --edit-key 79BE3E4300411886
+    $ gpg --edit-key ABAF11C65A2970B130ABE3C479BE3E4300411886
     gpg> trust
     gpg> 4
     gpg> q

---
base-commit: 8196a3c298d9b1f11be305c87eb890f44f7c8cc5
change-id: 20230716-keyid-8b0f50689d23

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH] pgpkeys: use full keyid to trust Linus' key
Posted by Konstantin Ryabitsev 2 years, 3 months ago
On Sun, 16 Jul 2023 21:42:36 +0200, Thomas Weißschuh wrote:
> It's possible for fingerprints to collide.
> To avoid that people accidentally trust an impersonated key document the
> full key fingerprint.
> 
> 

Applied, thanks!

[1/1] pgpkeys: use full keyid to trust Linus' key
      commit: 6b2c89700cabd7ff9b180beb7c81d75778eafafa

Best regards,
-- 
Konstantin Ryabitsev <konstantin@linuxfoundation.org>