mirror of
https://github.com/ansible/ansible.git
synced 2026-08-02 00:22:14 +02:00
* Replace gpg in rpm_key with librpm * Manually compute primary key ID and fingerprint for older librpm * Code cleanup * Add some v6 tests * Add rhel 10.1 to CI matrix and changelog * Remove RHEL 10.0 * consolidate common code and rename unused vars * remove unnecessary exception raise * Fix return type * review comments: change import and use of Optional * ci_complete ci_coverage * address review comments * When checking for existing keys, account for short from key ID and revert test change that hid this * Support RPM version 6+. Allow 'key' to be fingerprint. * Replace v6 test key with non-PQC algo version and enable Fedora v6 tests * modify changelog, mod doc, and del 10.1 test req * Code refactor and new tests Refactor code to not need to use librpm API to get list of installed keys. Also add new tests to verify deleting by fingerprint. * Refactor drop_key() by rpm version, fully type hint code * use hexdigest()