Signing RPMs
Steve Traylen
steve.traylen at cern.ch
Thu Nov 12 08:38:33 UTC 2009
On Thu, Nov 12, 2009 at 8:10 AM, Jitesh Shah <jiteshs at 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-discuss at 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
scuss at 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 at redhat.com
>> > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
>> >
>>
>>
>>
>
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
>
--
Steve Traylen
More information about the buildsys
mailing list