-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore subkeys that cannot be used for signing
This ensures that a signature is only accepted if the subkey that made it is actually allowed to sign. Test 265 verifies that RPM ignores subkeys that cannot sign. A subkey is considered to be capable of signing if, and only if, its subkey binding signature has a hashed key flags subpacket that contains the flag 0x02. RFC4880 requires that the subkey binding signature be v4, which this requirement enforces implicitly. RFC4880 also requires that primary key binding signatures be present and checked. This is not yet implemented, but may be implemented later. Fixes #1911.
- Loading branch information
Showing
2 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -247,8 +247,6 @@ UNW2iqnN3BA7guhOv6OMiROF1+I7Q5nWT63mQC7IgQ== | |
gpg(rpm.org RSA testkey <[email protected]>) = 4:4344591e1964c5fc-58e63918 | ||
gpg(1964c5fc) = 4:4344591e1964c5fc-58e63918 | ||
gpg(4344591e1964c5fc) = 4:4344591e1964c5fc-58e63918 | ||
gpg(f00650f8) = 4:185e6146f00650f8-58e63918 | ||
gpg(185e6146f00650f8) = 4:185e6146f00650f8-58e63918 | ||
], | ||
[]) | ||
AT_CLEANUP | ||
|