From 33f5a3ea7605badb29c785094cd1cb3b318bf41b Mon Sep 17 00:00:00 2001 From: Zhong Zheng Date: Tue, 25 Apr 2023 23:41:31 +1000 Subject: [PATCH] Remove 'your key must use RSA' for generating new GPG key (#20380) --- .../generating-a-new-gpg-key.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/authentication/managing-commit-signature-verification/generating-a-new-gpg-key.md b/content/authentication/managing-commit-signature-verification/generating-a-new-gpg-key.md index 98c3b195f9..f4f0ede769 100644 --- a/content/authentication/managing-commit-signature-verification/generating-a-new-gpg-key.md +++ b/content/authentication/managing-commit-signature-verification/generating-a-new-gpg-key.md @@ -26,7 +26,7 @@ topics: 1. Download and install [the GPG command line tools](https://www.gnupg.org/download/) for your operating system. We generally recommend installing the latest version for your operating system. {% data reusables.command_line.open_the_multi_os_terminal %} -3. Generate a GPG key pair. Since there are multiple versions of GPG, you may need to consult the relevant [_man page_](https://en.wikipedia.org/wiki/Man_page) to find the appropriate key generation command. Your key must use RSA. +3. Generate a GPG key pair. Since there are multiple versions of GPG, you may need to consult the relevant [_man page_](https://en.wikipedia.org/wiki/Man_page) to find the appropriate key generation command. - If you are on version 2.1.17 or greater, paste the text below to generate a GPG key pair. ```shell{:copy} $ gpg --full-generate-key @@ -36,7 +36,7 @@ topics: $ gpg --default-new-key-algo rsa4096 --gen-key ``` 4. At the prompt, specify the kind of key you want, or press `Enter` to accept the default. -5. At the prompt, specify the key size you want, or press `Enter` to accept the default. Your key must be at least `4096` bits. +5. At the prompt, specify the key size you want, or press `Enter` to accept the default. 6. Enter the length of time the key should be valid. Press `Enter` to specify the default selection, indicating that the key doesn't expire. Unless you require an expiration date, we recommend accepting this default. 7. Verify that your selections are correct. 8. Enter your user ID information.