public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] can't gpg sign with repoman, but can with git
Date: Wed, 19 Jul 2017 15:57:15 -0400	[thread overview]
Message-ID: <1067a22c-5df0-8536-ff99-c55ef3b4bfc3@gentoo.org> (raw)
In-Reply-To: <20170719224357.65daa079368e57f637380fe3@gentoo.org>

On 07/19/2017 15:43, Andrew Savchenko wrote:
> On Wed, 19 Jul 2017 21:24:49 +0200 Paweł Hajdan, Jr. wrote:
>> 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
>>

[snip]
> 
[snip]

> Make sure that GPG_TTY is set in your shell.

^^^--- This is likely the issue.

Add:
    export GPG_TTY=`tty`

To your ~/.bash_profile (or wherever you put your PORTAGE_GPG_KEY value), and
that should solve the issue.  I got bit by this once, and spent a while
convincing Google that I'm not a robot to get that answer.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic


  reply	other threads:[~2017-07-19 19:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1067a22c-5df0-8536-ff99-c55ef3b4bfc3@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox