mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-03 05:18:24 +03:00
tests: Use long key IDs
Short key IDs are not secure, and may be rejected by OpenPGP implementations. See https://evil32.com/ Signed-off-by: Justus Winter <justus@sequoia-pgp.org>
This commit is contained in:
parent
c7260105db
commit
9b5a373adb
@ -183,7 +183,7 @@ test_signature_lookup (TestFixture *fixture, gconstpointer user_data)
|
|||||||
/* Lookup abbreviated key ID. */
|
/* Lookup abbreviated key ID. */
|
||||||
signature_index = 999999;
|
signature_index = 999999;
|
||||||
signature_found
|
signature_found
|
||||||
= ostree_gpg_verify_result_lookup (fixture->result, fingerprint + 32, &signature_index);
|
= ostree_gpg_verify_result_lookup (fixture->result, fingerprint + 24, &signature_index);
|
||||||
g_assert_true (signature_found);
|
g_assert_true (signature_found);
|
||||||
g_assert_cmpint (signature_index, ==, expected_signature_index);
|
g_assert_cmpint (signature_index, ==, expected_signature_index);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user