Skip to content

Commit

Permalink
Merge pull request github#2723 from layaxx/patch-1
Browse files Browse the repository at this point in the history
Update associating-an-email-with-your-gpg-key.md
  • Loading branch information
felicitymay authored Feb 2, 2021
2 parents 862a3e0 + 6b0e289 commit 00531de
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ If you're using a GPG key that matches your committer identity and your verified
Comment: <em>GitHub key</em>
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?
```
7. Enter `O` to save your selections.
7. Enter `O` to confirm your selections.
8. Enter your key's passphrase.
9. Enter `gpg --armor --export GPG key ID`, substituting in the GPG key ID you'd like to use. In the following example, the GPG key ID is `3AA5C34371567BD2`:
9. Enter `gpg> save` to save the changes
```shell
$ gpg> save
```
10. Enter `gpg --armor --export GPG key ID`, substituting in the GPG key ID you'd like to use. In the following example, the GPG key ID is `3AA5C34371567BD2`:
```shell
$ gpg --armor --export <em>3AA5C34371567BD2</em>
# Prints the GPG key, in ASCII armor format
```
10. Upload the GPG key by [adding it to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account).
11. Upload the GPG key by [adding it to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account).

### Further reading

Expand Down

0 comments on commit 00531de

Please sign in to comment.