725ca51695
For bootstrapping purposes, having rpm depend on Rust is painful, but directing people to unmaintained crypto code as an alternative is hair-raising. As a middle ground, let rpm be built without OpenPGP support at all, which at least gives you a functional rpm and rpm-build even if you can't sign or verify signatures. Achieving this is a moderately complex dance which can't meaningfully be split into multiple commits because everything is interconnected: Add a new WITH_SEQUOIA option to control use of Sequoia, on by default. When Sequoia is disabled, default to a newly added dummy PGP implementation instead which just returns error on everything. And finally, if the older WITH_INTERNAL_OPENPGP is enabled, use the old PGP implementation. As the intent is to cut out rpmpgp_legacy to a separate repository, sanity requires that we also split the openssl/libgcrypt code at the digest/signature fault line. It's not ideal, but the alternative of having unused crypto code on which an external component depends on is just not sustainable. This way, the signature side of things is quite neatly cut off with the PGP stuff. The diff looks big but there are no code/functional changes in the libgcrypt/openssl split. |
||
---|---|---|
.github | ||
build | ||
cmake | ||
docs | ||
fileattrs | ||
include/rpm | ||
lib | ||
misc | ||
plugins | ||
po@d5cc5d368e | ||
python | ||
rpmio | ||
scripts | ||
sign | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
COPYING | ||
CREDITS | ||
INSTALL | ||
README | ||
config.h.in | ||
installplatform | ||
macros.in | ||
platform.in | ||
rpm.pc.in | ||
rpmpopt.in | ||
rpmrc.in |
README
This is RPM, the RPM Package Manager. The latest releases are always available at: http://rpm.org/download.html Additional RPM documentation (papers, slides, HOWTOs) can also be found at the same site: http://rpm.org. http://rpm.org/community all rpm related mailing lists. RPM was originally written by: Erik Troan <ewt@redhat.com> Marc Ewing <marc@redhat.com> See the CREDITS file for a list of folks who have helped us out tremendously. RPM is Copyright (c) 1998 by Red Hat Software, Inc., and may be distributed under the terms of the GPL and LGPL (see the file COPYING for details).