You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
658 B
37 lines
658 B
2 years ago
|
---
|
||
|
title: Error with signed commits
|
||
|
categories: [computerstuff]
|
||
|
tags: [til-git,reminders]
|
||
|
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
|