Commit 5a576b2
PubKeyLint: Return NotTrusted for disabled algorithms
The RPM needs to distinguish between completely broken keys and keys
that are "just" untrusted by the policy.
Similarly with signatures on RPMs we can return the NonTrusted return
value, that can be used by RPM to differentiate these errors and allow
filtering valid certificates when a file contains more of them.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Co-authored-by: Neal H. Walfield <neal@sequoia-pgp.org>1 parent c036745 commit 5a576b2
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1726 | 1726 | | |
1727 | 1727 | | |
1728 | 1728 | | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
1729 | 1732 | | |
1730 | 1733 | | |
1731 | 1734 | | |
| |||
1743 | 1746 | | |
1744 | 1747 | | |
1745 | 1748 | | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
1746 | 1754 | | |
1747 | 1755 | | |
1748 | 1756 | | |
| |||
1790 | 1798 | | |
1791 | 1799 | | |
1792 | 1800 | | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
1793 | 1806 | | |
1794 | 1807 | | |
1795 | 1808 | | |
| |||
1873 | 1886 | | |
1874 | 1887 | | |
1875 | 1888 | | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
1876 | 1892 | | |
1877 | 1893 | | |
1878 | 1894 | | |
| |||
0 commit comments