From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QgDRs-0001zI-5h for garchives@archives.gentoo.org; Mon, 11 Jul 2011 10:10:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DF8221C294; Mon, 11 Jul 2011 10:10:29 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4033B21C062 for ; Mon, 11 Jul 2011 10:10:03 +0000 (UTC) Received: by iyf40 with SMTP id 40so4660104iyf.40 for ; Mon, 11 Jul 2011 03:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=eQ6p1kNNkBu6jTqQMeVf9I2DyYOO8T7GemzFflna8JM=; b=rcaqXto31tVv5IXSWcRHzV36HPk3Z+PwZ1oNAUx11a2GbZ7iHLgVsPVA7/y8gnwzDg JbM5DUgaYcunfyv4X5yyzBUV0QFWMUtl6bBRJ0t0MO99X6GKWxVoO3kCP7RvUlFgYYPp bBq/FpckCICP5xYU3ypxEvSpnQ5Q3iPVFpeXU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.67.144 with SMTP id r16mr4290915ibi.179.1310379001827; Mon, 11 Jul 2011 03:10:01 -0700 (PDT) Sender: gurligebis@gmail.com Received: by 10.231.3.146 with HTTP; Mon, 11 Jul 2011 03:10:01 -0700 (PDT) In-Reply-To: <4E16B7D3.20704@gentoo.org> References: <4E1587F5.9070708@gentoo.org> <4E16B7D3.20704@gentoo.org> Date: Mon, 11 Jul 2011 12:10:01 +0200 X-Google-Sender-Auth: m5PyvCI0IBKRqZfTjdv0hTrD0zY Message-ID: Subject: Re: [gentoo-dev] Problem signing manifests for ebuilds From: Bjarke Istrup Pedersen To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: 4716fdfe9fc86254806e4830b4ebc1d1 2011/7/8 Markos Chandras : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 08/07/2011 10:08 ??, Bjarke Istrup Pedersen wrote: >> 2011/7/7 Markos Chandras : >> On 07/07/2011 10:57 ??, Bjarke Istrup Pedersen wrote: >>>>> I'm having a problem signing manifests from time to time (it's random >>>>> if it works or not). >>>>> >>>>> When I run repoman commit, sometimes it asks for my password, and >>>>> signs it just fine. >>>>> But sometimes it just fails silently with the following error: >>>>> >>>>> You need a passphrase to unlock the secret key for >>>>> user: "Bjarke Istrup Pedersen " >>>>> 1024-bit DSA key, ID 14576049, created 2008-08-20 >>>>> >>>>> gpg: cancelled by user >>>>> gpg: no default secret key: Operation cancelled >>>>> gpg: ./Manifest: clearsign failed: Operation cancelled >>>>> !!! !!! gpg exited with '512' status >>>>> !!! Disabled FEATURES='sign' >>>>> >>>>> Does anyone have an idea of why it fails to sign it randomly? >>>>> >>>>> /Bjarke >>>>> >> What happens if you edit your ~/.gnupg/gpg.conf and add >> >> default-key 14576049 ? >> >>> Hey again, >> >>> Nope, that doesn't do it, it still fails with the error: >> >>> gpg: cancelled by user >>> gpg: no default secret key: Operation cancelled >>> gpg: ./Manifest: clearsign failed: Operation cancelled >> >>> What puzzles me is why it is random if it asks for my password and >>> signs it or not. >> >> >>> >>> > You can try to setup keychain[1] so you only have to type your password once > > [1]http://www.gentoo.org/doc/en/keychain-guide.xml It seems to be related to my user not being in the tty group - it still puzzles me why it fails randomly :) > - -- > Regards, > Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.17 (GNU/Linux) > > iQIcBAEBCgAGBQJOFrfTAAoJEPqDWhW0r/LCYhwQALCPT6+j3K4/YxlpgR16IBwm > 2tu9OCvPqXzhiirNyfjUGZBjyufwRiAq0EIyohKjrFuPXV5MOd+kBT5nxxM7ptlQ > 3lrnYobm7ccIPDXRuNfwg176nzJEa9r+dhoWBFi3x3vzBuWDVDJ2nyH9QLhGm+0G > wrxpNn5twu4kfrfXW1iCSxD+rHFzmdVawEBMPJMflxquInH4DT+qIRZGTk20BXQz > KvxS2F+5QWhSCfg7uo0M+hB+yRau41jE4vuGRD7sl2xclw1emldP8RJ/020RYj85 > b3ZdsMWK8MUfgoR7gtL3eVR8Lk/HWrCK1QoczT9rcXx1Guei9nGlkc6673pNfphl > PGE+MiH0EKS80oUW57beT0VqnryTdyDfGOtrE58nw4nm9WyDEbnJTZRBAIPFNGBA > 1d7OPaM/XiuvyIv37x/5Z5zjqSgvJMkmcxf1AtQz1rpXoeEU6kEcP2pwcSx3fi1m > uIiYm2MGS1oCzFEPN8F/ZZ0/Pt3GGWsqukNPf4bC/6VLLVsMxbHBzmurma22oB9B > T/3ESOglow3kS7Cqvzj55rt+GIZynLNSCPyvh8NCzanSNdlZUktpEpmAj9TmKSRM > XUUZv/reR1TXrFcQUkHtLczrerroqcq/fP30qqqABsckxtDJRwnAY/LPA0YMcy6H > cYuRRDC4UPlLtb3PF9PM > =1IbZ > -----END PGP SIGNATURE----- > >