2011/7/7 Markos Chandras <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > 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 <[email protected]>" >> 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. > > - -- > Regards, > Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.17 (GNU/Linux) > > iQIcBAEBCgAGBQJOFYf1AAoJEPqDWhW0r/LCCNYP/1HdKsl1zNjGZ+RQRufdUYA6 > 0DRHcRc4wz1nnMGPZ3yD+01dJYszULZvec9zDAt72SacZXvPh6IhnNHm3B6kya3f > E/IuzU8nqIcZJQPPTMePK6mvVDUmxccBg+tfju+Wa5PHKWdjDPSe/r6InOVwMx6U > miwbJevVvg4Np2fhdA3Ad27i+ctfUH6MC0Cxm1eGMoEGtL/P5SqATuM7BthiCTOx > jwh7LT4nK+30WoBORi4Y1IRpl0qmZErOibFiC1PTej3yBl8Q/IXr3v5IJ8C2b2eG > njSV9f+lLQcnvvYNNKP2ybNEqFQrP2tKjge2TDymVjCofEtZI2Ag8tiNwqohNUfG > E4vNurgGOhiZPRFgPXlIEm+0M8M0TdrEZUuwUK+ROorQ1Wx7ppycPhEYmNIdeeD7 > RgjF6EO7OwOAK3kBcBKxdCw1tI0vCuj51tKbp3RHmLMqL3TA7CZxokqyr2vW5tEY > iNhvVVvkVMowwe9Yj6wUaqcTR0HdlzFJ7OgqBmD7hfAGQkC3t7bvDqLyS7SPFRz+ > ZJWM5wlDEgzHek1bn2Q0MH6qevMRAT6oBO89abVfR7SJCF9gWQmTsDo2J6x7Jn3w > bPeDqyYeBl+PWrjinhCkOnMBExvLpcwqUUOuVzbF8jmVbMElkCNQ4O4uJ0o+ALrF > 6ior3A/OHc0xGyLiILtV > =YlcA > -----END PGP SIGNATURE----- > >
