There's a video published by Timothy Miller explaining some parts of this guide. Note: If you don't want to use Keybase.io, follow this guide instead.įor manually transferring keys to different hosts, check out this answer on Stack Overflow. You should already have an account with Keybase and be signed in locally using $ keybase login. In case you need to set up a new device first, follow the instructions provided by the keybase command during login. Make sure your local version of Git is at least 2.0 ( $ git -version) to automatically sign all your commits. # Push an encrypted copy of your new secret key to the Keybase.io server? Y # Enter another email address (or when done): # Enter a public email address for your key: # Enter your real name, which will be publicly visible in your new key: Patrick Stadler Create a new GPG key on keybase.io $ keybase pgp gen -multi If that's not the case, use Homebrew to install the latest Git version: $ brew install git. $ keybase pgp export -q CB86A866E870EE00 | pbcopy # copy public key to clipboard # We can then use `export` with the `-q` or query flag to match on our key (the first 16 characters should do.) $ git config -global user.signingkey E870EE00 Set up Git to sign all commits $ gpg -list-secret-keys -keyid-format LONG # ▶ INFO Exported new key to the local GPG keychain # ▶ INFO Generating encryption subkey (4096 bits) # ▶ INFO Generating primary key (4096 bits)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |