You have installed GPG, then tried to commit and suddenly you see this error message after it:
error: gpg failed to sign the data
fatal: failed to write commit object
Debug
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.
| defmodule MyApp.AccountLookup.Cache do | |
| @moduledoc """ | |
| Provides a cache that can be used for account lookups. This cache is backed by | |
| Cachex for local storage and pg2 for remote distribution. Keys are set to expire | |
| after 7-10 days (randomly distributed) in order to prevent stale data in our cache | |
| over a long time period. | |
| """ | |
| use Cachex.DistributedCache |