Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR - Add documentation on how to use existing keys #4

Open
akshetpandey opened this issue Aug 15, 2016 · 1 comment
Open

FR - Add documentation on how to use existing keys #4

akshetpandey opened this issue Aug 15, 2016 · 1 comment

Comments

@akshetpandey
Copy link

It would be amazing if you can also tell us how to use existing gpg keys that we have and how to upload that to keybase. Also, how to use an existing keybase account (with key).

@rogeruiz
Copy link

rogeruiz commented Feb 4, 2017

@akshetpandey This worked for me for an existing Keybase account. I can add a PR if that's helpful.

# step 1, list your Keybase ID
$ keybase pgp list
Keybase Key ID:  MY_KEYBASE_ID
PGP Fingerprint: MY FIN GER PRI NT 
PGP Identities:
    <[email protected]>
# then, export your secret key and type your passphrase into the keybase prompt
$ keybase pgp export -s | gpg --import --allow-secret-key-import
# follow the next two instructions from the README.md
# https://github.com/pstadler/keybase-gpg-github#set-up-git-to-sign-all-commits
# https://github.com/pstadler/keybase-gpg-github#add-public-gpg-key-to-github
# for the second step, use the MY_KEYBASE_ID for the `--query` / `-q` part

If you're just looking for existing gpg keys to put into Keybase. You just need to export from gpg and import using Keybase. That's in the Keybase docs. Try the command keybase pgp help import to get started with importing gpg generated keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants