Skip to content

Commit 7447884

Browse files
authored
Update checking-for-existing-gpg-keys.md
Add a workaround for the “No valid identities found in this GPG data” error.
1 parent 49dcf57 commit 7447884

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +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`
3233

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

0 commit comments

Comments
 (0)