oe7drt-website/content/posts/2020/10-error-with-signed-commits/index.md
Dominic Reich e8393d95a3
update posts aliases; fix some dates; fix some typography
- post aliases instead of redirects
 - some dates were wrong, fixed and create multiple aliases to not brake the old date
 - fix some typography like newlines on end of file
2023-11-18 23:01:27 +01:00

37 lines
697 B
Markdown

---
title: Error with signed commits
aliases: /posts/2020-11-14-error-with-signed-commits
categories: [computerstuff]
tags: [git]
date: 2020-11-14T23:22:42+01:00
---
For some reason my git commits failed when I re-enabled gpg signing. This is how
I finally fixed that problem.
<!--more-->
##### Add to `~/.gnupg/gpg.conf`
~~~plain
use-agent
pinentry-mode loopback
~~~
##### And add to `~/.gnupg/gpg-agent.conf`
~~~plain
allow-loopback-pinentry
~~~
##### Restart the agent
~~~console
$ echo RELOADAGENT | gpg-connect-agent
~~~
This information was found on
[d.sb/2016/11/gpg-inappropriate-ioctl-for-device-errors][1].
[1]: https://d.sb/2016/11/gpg-inappropriate-ioctl-for-device-errors