public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] can't gpg sign with repoman, but can with git
@ 2017-07-19 19:24 Paweł Hajdan, Jr.
  2017-07-19 19:43 ` Andrew Savchenko
  2017-07-20  9:38 ` Kristian Fiskerstrand
  0 siblings, 2 replies; 9+ messages in thread
From: Paweł Hajdan, Jr. @ 2017-07-19 19:24 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]

Hey folks,

This is mysterious, and likely some issue with my setup, although it
used to work.

Trying tocommit with repoman commit (app-portage/repoman version 2.3.1)
results in the following:

* 4 files being committed...
error: gpg failed to sign the data
fatal: failed to write commit object
!!! Exiting on git (shell) error code: 128

However, committing directly with git commit works (and asks for gpg
passphrase).

In .git/config I have the following:

[user]
	signingkey = 0x4F1A2555EA71991D
[commit]
	gpgsign = 1
[push]
	gpgsign = 1

In /etc/make.conf I have:

PORTAGE_GPG_KEY="0x4F1A2555EA71991D"

In ~/.gnupg/gpg-agent.conf I have the following:

pinentry-program /usr/bin/pinentry

eselect pinentry show prints pinentry-gnome3

I'm using app-crypt/gnupg-2.1.20-r1, last updated May 24.

Interestingly, I recently (July 17) re-emerged
app-crypt/pinentry-0.9.7-r1, probably changing some USE flags. It may
have been broken before that anyway, I don't remember now.

Most of all, I'm interested how to get more debug info from repoman than
it currently shows me.

Any other insights would be welcome. Please let me know if you need any
other info.

Paweł


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-03  9:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-19 19:24 [gentoo-dev] can't gpg sign with repoman, but can with git Paweł Hajdan, Jr.
2017-07-19 19:43 ` Andrew Savchenko
2017-07-19 19:57   ` Joshua Kinard
2017-07-19 21:44     ` Mart Raudsepp
2017-07-20  5:49       ` Andrew Savchenko
2017-07-20  8:16         ` Kristian Fiskerstrand
2017-07-20 11:23           ` Kristian Fiskerstrand
2017-07-20  9:38 ` Kristian Fiskerstrand
2017-08-03  9:07   ` Paweł Hajdan, Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox