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 <gentoo-dev+bounces-46637-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QgCYu-00017j-R7 for garchives@archives.gentoo.org; Mon, 11 Jul 2011 09:13:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0123B21C298; Mon, 11 Jul 2011 09:13:36 +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 4E4CF21C147 for <gentoo-dev@lists.gentoo.org>; Mon, 11 Jul 2011 09:13:02 +0000 (UTC) Received: by iyf40 with SMTP id 40so4616078iyf.40 for <gentoo-dev@lists.gentoo.org>; Mon, 11 Jul 2011 02:13:01 -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=ki4WirWVa+bSVyiFq0QRI83GgLXLZZn/L3fBnRrZup8=; b=DIAEd1xxPOoQg1a862w05Op9L+P1C0fjmvLawGt8akJjl0uYKV6gAwh6InkXc5+HtG vA4p1HtEq7wm2BCX56rYwid4AiGraBmhPycxEjehnlJK+IExkawqhOjjPZz3GfQaiFYu qZmlrNKeIDyLjY/0zIUks2GFPrO3IbGAlDzJ0= Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.42.145.6 with SMTP id d6mr4879119icv.380.1310375581693; Mon, 11 Jul 2011 02:13:01 -0700 (PDT) Sender: gurligebis@gmail.com Received: by 10.231.3.146 with HTTP; Mon, 11 Jul 2011 02:13:01 -0700 (PDT) In-Reply-To: <4E16B7D3.20704@gentoo.org> References: <CACPM=kV5K4HEss6o-WR1UBEa2U=WYZ_zkQd-ru2bRXQP+PfFFg@mail.gmail.com> <4E1587F5.9070708@gentoo.org> <CACPM=kXtY_y7FDAJ9P-rSNj8YFvW6XZ=67o2RvgcRywpYU3+HQ@mail.gmail.com> <4E16B7D3.20704@gentoo.org> Date: Mon, 11 Jul 2011 11:13:01 +0200 X-Google-Sender-Auth: oNYXFkTUr5gCG4r8RVNVUj9fRCg Message-ID: <CACPM=kU-FuVgFiWc2s-gwi86rmKnAsNrH9dxNkk7e3wr3ZTjHA@mail.gmail.com> Subject: Re: [gentoo-dev] Problem signing manifests for ebuilds From: Bjarke Istrup Pedersen <gurligebis@gentoo.org> To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: 8b8ca5cd08eb0f87c815d92474e1eedc 2011/7/8 Markos Chandras <hwoarang@gentoo.org>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 08/07/2011 10:08 ??, Bjarke Istrup Pedersen wrote: >> 2011/7/7 Markos Chandras <hwoarang@gentoo.org>: >> 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 <gurligebis@gentoo.org>" >>>>> 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 > - -- I've tried that, it still does not work. Even if I just login as myself and do something like this: gurligebis@raven ~ $ echo "blah" > test gurligebis@raven ~ $ gpg -n --sign test You need a passphrase to unlock the secret key for user: "Bjarke Istrup Pedersen <gurligebis@gentoo.org>" 1024-bit DSA key, ID 14576049, created 2008-08-20 gpg: cancelled by user gpg: no default secret key: Operation cancelled gpg: signing failed: Operation cancelled I cannot figure out why gpg insists that I have cancelled anything, when it by itself fails silently. Any ideas? :) > 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----- > >