Re: Signing RPMs

2009-11-12 Thread Steve Traylen
On Thu, Nov 12, 2009 at 8:10 AM, Jitesh Shah jite...@marvell.com wrote:
 ..snip..

 I to have wanted to get this to work.

 I expect I have my key definition wrong, traceback below.

 I have,
         self.gpg_keys = {
             '89D891FB': { 'name': 'oatrelease',
                           'description': 'EGEE SA1 (Operations
 Automation Team) egee3-operations-automation-disc...@cern.ch',
                           }                        }

 with

snip

 Steve, you are using the subkey. You probably want to use the master
 signing key i.e. the one listed under pub (47EBAC2B in your case)

Hi Jitesh,

Switching to the master key similar error as below.

./sign_unsigned.py  --just-show dist-fc10

what is the level option?

'47EBAC2B': { 'name': 'oatrelease',
  'description': 'EGEE SA1 (Operations
Automation Team) egee3-operations-automation-di
sc...@cern.ch',
  }


Traceback (most recent call last):
  File ./sign_unsigned.py, line 734, in module
x.run_command()
  File ./sign_unsigned.py, line 284, in run_command
cmd()
  File ./sign_unsigned.py, line 728, in cmd_default
self.sign_to_cache(uncached, self.options.level)
  File ./sign_unsigned.py, line 638, in sign_to_cache
self.do_signing(pkglist, level)
  File ./sign_unsigned.py, line 601, in do_signing
cmd = self.get_signing_command(level, mypaths[:nlen],
server=self.options.server)
  File ./sign_unsigned.py, line 586, in get_signing_command
if self.gpg_keys[keyid]['size'] == 4096:
KeyError: None

The full edited script is here

http://cern.ch/steve.traylen/tmp/oat-sign_unsigned.py

is there something else I need to change?



 Jitesh





 Traceback (most recent call last):
   File ./sign_unsigned.py, line 734, in module
     x.run_command()
   File ./sign_unsigned.py, line 285, in run_command
     cmd()
   File ./sign_unsigned.py, line 728, in cmd_default
     self.sign_to_cache(uncached, self.options.level)
   File ./sign_unsigned.py, line 638, in sign_to_cache
     self.do_signing(pkglist, level)
   File ./sign_unsigned.py, line 601, in do_signing
     cmd = self.get_signing_command(level, mypaths[:nlen],
 server=self.options.server)
   File ./sign_unsigned.py, line 587, in get_signing_command
     if self.gpg_keys[keyid]['size'] == 4096:
 KeyError: None







  Dennis
 
  --
  Fedora-buildsys-list mailing list
  Fedora-buildsys-list@redhat.com
  https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 




 --
 Fedora-buildsys-list mailing list
 Fedora-buildsys-list@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-buildsys-list




-- 
Steve Traylen

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list


Re: mock-0.9.19 on CentOS5/RHEL5

2009-11-12 Thread Karanbir Singh

On 11/12/2009 06:40 AM, Florian La Roche wrote:

Hello,

if you want to run the newest version of mock (0.9.19)
with RHEL5/CentOS5, you can use a backported version from:



Have you done any tests to see how the output changes from what we have 
in extras/ now ? Are these test results public somewhere ?



--
Karanbir Singh
London, UK| http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219  | Yahoo IM: z00dax  | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list


Re: Signing RPMs

2009-11-12 Thread Jesse Keating
On Thu, 2009-11-12 at 09:38 +0100, Steve Traylen wrote:
 The full edited script is here
 
 http://cern.ch/steve.traylen/tmp/oat-sign_unsigned.py
 
 is there something else I need to change? 

The traceback is looking in the dict of your key for a size, as gpg keys
can come in many sizes and shapes, the script acts differently depending
on the size of the key.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating


signature.asc
Description: This is a digitally signed message part
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list