Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 21df759

Browse files
nguyenalex836subatoi
andauthoredFeb 11, 2025··
Update content/authentication/managing-commit-signature-verification/checking-for-existing-gpg-keys.md
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent 7447884 commit 21df759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎content/authentication/managing-commit-signature-verification/checking-for-existing-gpg-keys.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ shortTitle: Existing GPG keys
2929
$ gpg --armor --export 3AA5C34371567BD2
3030
# Prints the GPG public key, in ASCII armor format
3131
```
32-
> If you encounter "No valid identities found in this GPG data" error, it may be because the public key you exported is too large or contains useless information, please add GPG option `--export-options export-minimal` to export again, e.g.: `$ gpg --armor --export-options export-minimal --export 3AA5C34371567BD2`
32+
Consider exporting your keys with the option `--export-options export-minimal`, which can prevent misreading keys that contain deprecated fields.
3333

3434
You can then [add your GPG key to your GitHub account](/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account).
3535

0 commit comments

Comments
 (0)
Please sign in to comment.