pstadler / keybase-gpg-github

Step-by-step guide on how to create a GPG key on keybase.io, adding it to a local GPG setup and using it with Git and GitHub.
2.63k stars 182 forks source link

force print gpg keyid #23

Closed albttx closed 7 years ago

albttx commented 7 years ago

When i generated my key, the ID wasn't print, when i listed my key :

$ gpg --list-key    # same for gpg --list-secret-key
pub   rsa4096 2017-09-08 [SC] [expires: 2033-09-04]
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
uid           [ unknown] Albert Le Batteux <albert.lebatteux@gmail.com>
sub   rsa4096 2017-09-08 [E] [expires: 2033-09-04]

For those having this issue, you need to add gpg --keyid-format long --list-key.

As github explain here : https://help.github.com/articles/telling-git-about-your-gpg-key/

pstadler commented 7 years ago

🍻