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 1Qf5uU-0000GW-WC for garchives@archives.gentoo.org; Fri, 08 Jul 2011 07:55:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC21921C08C; Fri, 8 Jul 2011 07:55:28 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id A383B21C081 for ; Fri, 8 Jul 2011 07:55:04 +0000 (UTC) Received: by wwf26 with SMTP id 26so1509266wwf.10 for ; Fri, 08 Jul 2011 00:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=/dWvH0LB01KJYzUp8ppBFH+9cvXuwNe/sOaiJKe/GwM=; b=LH5GAIg2qhtqbtlW5fHwWgImoA0myTR/aWD8TKeTx9d9R7jQTJx1dWIc1sN/V6CzNo TKKd//FYkrqcu46O+8WXbHDLTaonUClFNyo59Q1N4zEPVDrsBXKbWz+6SnT0dK369QBb g8tNx3cNKe8+ronk/WXHMIZMW0vzsGkPV0JZA= Received: by 10.227.196.208 with SMTP id eh16mr1528546wbb.37.1310111703724; Fri, 08 Jul 2011 00:55:03 -0700 (PDT) Received: from [192.168.2.8] (188.4.50.134.dsl.dyn.forthnet.gr [188.4.50.134]) by mx.google.com with ESMTPS id fe4sm7473653wbb.62.2011.07.08.00.55.01 (version=SSLv3 cipher=OTHER); Fri, 08 Jul 2011 00:55:02 -0700 (PDT) Sender: Markos Chandras Message-ID: <4E16B7D3.20704@gentoo.org> Date: Fri, 08 Jul 2011 10:54:59 +0300 From: Markos Chandras User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110705 Lightning/1.0b3pre Thunderbird/3.1.11 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Problem signing manifests for ebuilds References: <4E1587F5.9070708@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 6d9de425e5cda3cfce4a7328d8614455 -----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 - -- 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-----