60°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Signed git commits with Tower

    July 29, 2016

    My favorite Git client is Tower. I wanted to find a way to sign my git commits despite that not being a supported feature of Tower. Turns out it only took a couple configuration options to make it work.

    First, set up your GPG key however you normally do it. I use GPG Tools for OSX, as well as Keybase. Follow GitHub's instructions for adding your GPG key to your account here.

    Configure your git client to always sign commits:

    git config --global commit.gpgsign true

    Try to sign a commit from the command line before trying it with Tower. Once you're able to successfully sign commits from the command line, you can set it up to work with Tower.

    Add no-tty to your GPG configuration, to allow Tower to use it:

    echo no-tty >> ~/.gnupg/gpg.conf

    You'll need to specify the absolute path to the gpg program in order for Tower to be able to find it.

    git config --global gpg.program /usr/local/bin/gpg

    Now when you make a commit from Tower, you should be prompted to unlock your key with your passphrase from GPG Tools, and if you save it in your keychain it should continue to work seamlessly.

    Now, whenever you make a commit and push it to GitHub, you should see the "verified" mark next to your commits!

    Portland, Oregon
    Fri, Jul 29, 2016 10:18am -07:00 #git #tower #gpg
    1 bookmark 6 replies 8 mentions
    • Timothy B. Smith
    • Tower git-tower.com
      Have you seen this? aaronparecki.com/2016/07/29/10/… Happy to take more integration on our list of feature requests too.
      Tue, Mar 28, 2017 7:05am +00:00 (via brid-gy.appspot.com)
    • Tower git-tower.com
      @lukesapan @electrobarn done. Did you know auto signing is possible? aaronparecki.com/2016/07/29/10/…
      Wed, Sep 7, 2016 5:53am +00:00 (via brid-gy.appspot.com)
    • Tower git-tower.com
      @fabianehlert It's possible to use auto signing, you can find out more about this here: aaronparecki.com/2016/07/29/10/…
      Mon, Sep 5, 2016 6:34am +00:00 (via brid-gy.appspot.com)
    • Tower git-tower.com
      @smithtimmytim Happy to bump the feature request a bit. Did you know you can set up auto signing already? aaronparecki.com/2016/07/29/10/…
      Mon, Sep 5, 2016 6:33am +00:00 (via brid-gy.appspot.com)
    • Tower git-tower.com
      @ngocphamm At the moment not out of the box. But you can set up Git to do auto signing: aaronparecki.com/2016/07/29/10/…
      Mon, Sep 5, 2016 6:32am +00:00 (via brid-gy.appspot.com)
    • Greg unrelenting.technology

      Speaking of commits, I still don’t see the commit to Quill where you fix the media endpoint query ;-)

      Fri, Jul 29, 2016 12:30pm -07:00

    Other Mentions

    • Jared Sorge jsorge.net
      I decided last week to figure out how to get all of my commits to be Verified like they are on GitHub. It was actually pretty easy once I found this helpful blog post to guide me! Thanks Aaron! aaronparecki.com/2016/07/29/10/…
      Tue, Feb 6, 2018 4:53pm +00:00 (via brid-gy.appspot.com)
    • mb.jsorge.net
      06 Feb 2018 I decided last week to figure out how to get all of my commits to be Verified like they are on GitHub. It was actually pretty easy once I found this helpful blog post to guide me! Thanks Aaron!
      Tue, Feb 6, 2018 12:51am -08:00
    • Kanitkorn Sujautra kanitkorn.com
      Signed git commits with Tower aaronparecki.com/2016/07/29/10/…
      Thu, Nov 30, 2017 8:36am +00:00 (via brid-gy.appspot.com)
    • Avi Aryan aavi.me
      Setup automatic commit signing in Tower using @GPGTools and @KeybaseIO aaronparecki.com/2016/07/29/10/…

      Fri, Jun 9, 2017 6:11am +00:00 (via brid-gy.appspot.com)
    • Dominik Wilkowski www.Dominik-Wilkowski.com
      This is awesome! Sign your #git commits with #gpg via @gittower aaronparecki.com/2016/07/29/10/…
      Fri, Mar 10, 2017 11:35pm +00:00 (via brid-gy.appspot.com)
    • Jeff Dickey about.me/jeff_dickey
      .@tantalic @JKetelaar078 Though official support would be Nice, not necessary per aaronparecki.com/2016/07/29/10/… -- Good luck. (2/2)
      Sun, Jan 22, 2017 5:58pm +00:00 (via brid-gy.appspot.com)
    • Jeff Dickey about.me/jeff_dickey
      .@tantalic @JKetelaar078 I just got a @gittower Support reply pointing me to aaronparecki.com/2016/07/29/10/… -- Works for Tower+other Git GUIs (1/2)
      Sun, Jan 22, 2017 5:58pm +00:00 (via brid-gy.appspot.com)
    • Dan Barkwell barkwell.com
      aaronparecki.com/2016/07/29/10/… @gittower I had to add git config --global user.signingkey <keyid> #gittowerwindows
      Thu, Nov 24, 2016 2:52am +00:00 (via brid-gy.appspot.com)
Posted in /articles using quill.p3k.io

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv