diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2017-03-08 14:36:39 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2017-03-08 14:43:55 +0200 |
commit | 6eeb2f2963cb4ab5f7c24b0c7165336581e53117 (patch) | |
tree | ac468ab3caac21d86af4d153871b3c5a50482478 /tests/rpmgeneral.at | |
parent | 3cfd031832dd62459a5532f8b98021bb13820a9d (diff) | |
download | rpm-6eeb2f2963cb4ab5f7c24b0c7165336581e53117.tar.gz |
Implement SHA256 header digest, creation + verification
SHA1 has been getting a bit long in the tooth for many years by now,
add a more modern digest to eventually supplant it, for now just
prefer SHA256 over SHA1 if present when verifying. Using a hardwired
algorithm instead of configurable one to keep things on the simple
side when dealing with the signature header.
Signing could add the new digest for older packages but we don't do
that to avoid surprises when people are signing older packages.
Diffstat (limited to 'tests/rpmgeneral.at')
-rw-r--r-- | tests/rpmgeneral.at | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at index 60f5efe70..509277f2c 100644 --- a/tests/rpmgeneral.at +++ b/tests/rpmgeneral.at @@ -242,6 +242,7 @@ REQUIREVERSION RPMVERSION RSAHEADER SHA1HEADER +SHA256HEADER SIGGPG SIGMD5 SIGPGP |