RPM Community Forums

Mailing List Message of <rpm-devel>

Automatically signing all built binary *.rpm packages?

From: Jeff Johnson <n3npq@mac.com>
Date: Sat 02 Jan 2010 - 17:44:04 CET
Message-id: <9980F2F8-D512-4609-9BFF-0FB796E54CFD@mac.com>
As part of setting up test cases for the crypto
in RPM, I had to generate random DSA/RSA keys.

It would not be hard to generate a random key,
include the randomly generated public key
in the headers, and _ALWAYS_ sign all built
*.rpm packages.

From an implementation and package integrity POV,
the benefit would be that all *.rpm packages would
end up being signed, and the RPM code paths become simpler
because there's less
	Have it your own way!
in *.rpm packages.

From a security POV, all depends on "trust", not existence,
of a digital signature. Whether a digital signature is verified
(or not) and whether a pubkey was randoimly generated (or not),
or whether the pubkey is included in the signed plaintext (or not)
has very little to do with "trust".

Should rpmbuild undertake always signing  built *.rpm packages
with a randomly generted (or known, a key pair is needed, how
that key pair is generated, randomly or configured, doesn't matter)
key?

73 de Jeff
Received on Sat Jan 2 17:44:25 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.