GPG Signing Commits

This guide could use a lot of love, but it's been low on my list of priorities. If you're interested in me elaborating, let me know on Twitter at chaseadamsio.

  • when setting up gpg on a new machine, if you see this error: "Inappropriate ioctl for device", add this to the .bashrc (source: gnupg2: gpg: public key decryption failed: Inappropriate ioctl for device · Issue #14737 · Homebrew/homebrew-core):

    GPG_TTY=$(tty)
    export GPG_TTY

    Extra Resources:

    - [Verifying GitHub Commits with Keybase.io](https://www.promptworks.com/blog/verifying-github-commits-with-keybase)
    - [gnupg - Git error - gpg failed to sign data - Stack Overflow](https://stackoverflow.com/questions/41052538/git-error-gpg-failed-to-sign-data)
    - [Git - Signing Your Work](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work)
    - [Using Keybase with GPG on macOS - Scott's Weblog - The weblog of an IT pro focusing on cloud computing, Kubernetes, Linux, containers, and networking](https://blog.scottlowe.org/2017/09/06/using-keybase-gpg-macos/)
  • how to setup a Pretty iTerm2 with a modern titlebar 💄💅

    • build nightly iterm2 in brew:

      tap "homebrew/cask-versions"
      cask "iterm2-nightly"

# Resources:

github - gpg failed to sign the data fatal: failed to write commit object [Git 2.10.0] - Stack Overflow - this is the best resource for setting up your keychain so that you don't have to continually put the key in every time.

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 use it with Git and GitHub.

Sign your commits on GitHub with GPG – Timmy – Medium

Signing your Git Commits using GPG on MacOS Sierra/High Sierra

How to verify an imported GPG key - Server Fault

A Git Horror Story: Repository Integrity With Signed Commits

[Keybase.io] Add another E-Mail to your Keybase.io Public Key - Nico Maas

Using Keybase with GPG on macOS - Scott's Weblog - The weblog of an IT pro focusing on

cloud computing, Kubernetes, Linux, containers, and networking

Keybase can't find the secret key, although it claims it's stored · Issue #2800 · keybase/keybase-issues

GPG - How to trust an imported key - Pang Yan Han's blog

Was this article useful? Share it on Twitter!