forked from bgpsecurity/rpstir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete signature validation state code
The purpose of this code appears to be verification acceleration: avoid performing expensive crypto work when the object has already been verified. (The purpose isn't entirely clear due to lack of explanatory comments.) However: * It's unclear that this code actually improves performance in any perceptable way. First, it's unclear how often an object is added multiple times. Second, it's trading crypto work for database operations. * This code permits evil twin ROAs: A malicious CA can generate an evil ROA with an EE certificate containing the same SKI as a valid EE certificate. The malicious CA won't be able to produce a valid signature for the evil ROA, but that doesn't matter because this code shortcuts the signature check. Fortunately there's another bug preventing this from being exploitable (issue bgpsecurity#55).
- Loading branch information
Showing
4 changed files
with
6 additions
and
209 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
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