]> code.ossystems Code Review - openembedded-core.git/commit
sign_rpm.bbclass: do not store key details in signer instance
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 10 Feb 2016 14:15:57 +0000 (16:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Feb 2016 22:55:11 +0000 (22:55 +0000)
commite2412294b6b1d3a80ee97a0706613349edc51d33
tree39a06af3040d1dee21c55de1c9f0572324d39bf4
parentce653694a87fd77d79ec3d28ed3365a2c8e57ad6
sign_rpm.bbclass: do not store key details in signer instance

Refactor the LocalSigner class. Do not store keyid or passphrase file in
the signer object as they are only needed for some of the methods. For
example, the newly added verify() method does not need any key
parameters and export_pubkey only uses keyid.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sign_rpm.bbclass
meta/lib/oe/gpg_sign.py
meta/lib/oe/package_manager.py
meta/recipes-core/meta/signing-keys.bb