Skip to content

Commit

Permalink
Update content/authentication/managing-commit-signature-verification/…
Browse files Browse the repository at this point in the history
…checking-for-existing-gpg-keys.md

Co-authored-by: Ben Ahmady <[email protected]>
  • Loading branch information
nguyenalex836 and subatoi authored Feb 11, 2025
1 parent 7447884 commit 21df759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ shortTitle: Existing GPG keys
$ gpg --armor --export 3AA5C34371567BD2
# Prints the GPG public key, in ASCII armor format
```
> 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`
Consider exporting your keys with the option `--export-options export-minimal`, which can prevent misreading keys that contain deprecated fields.

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

Expand Down

0 comments on commit 21df759

Please sign in to comment.