NobGit Docs

How to upload a GPG key

Generate and export a GPG key

Install GPG first if your system does not already include it. Use the same email address you use for Git commits.

Windows
  1. Install Gpg4win.
  2. Open PowerShell.
  3. Run gpg --full-generate-key.
  4. Choose an RSA or ECC key, set an expiration date, and enter your name and email address.
  5. List your keys with gpg --list-secret-keys --keyid-format=long.
  6. Export the public key with gpg --armor --export KEY_ID.
macOS
  1. Install GPG with GPG Suite or Homebrew.
  2. Open Terminal.
  3. Run gpg --full-generate-key.
  4. Choose an RSA or ECC key, set an expiration date, and enter your name and email address.
  5. List your keys with gpg --list-secret-keys --keyid-format=long.
  6. Export the public key with gpg --armor --export KEY_ID.
Linux
  1. Install GPG from your package manager if needed.
  2. Open your terminal.
  3. Run gpg --full-generate-key.
  4. Choose an RSA or ECC key, set an expiration date, and enter your name and email address.
  5. List your keys with gpg --list-secret-keys --keyid-format=long.
  6. Export the public key with gpg --armor --export KEY_ID.

Upload the key to NobGit

  1. Click your account menu in the top right.
  2. Click Settings.
  3. Open Git access.
  4. Find GPG keys.
  5. Enter a key Name.
  6. Paste the ASCII-armored public key into Public key. It normally starts with -----BEGIN PGP PUBLIC KEY BLOCK-----.
  7. Select Add GPG key.

NobGit syncs the GPG keyring after the key is saved.