-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test snapshot fast-forward attack recovery #1738
test snapshot fast-forward attack recovery #1738
Conversation
This test simulates the snapshot fast-forward attack recovery. It simulates that the snapshot keys were compromised, the attacker generated a new high version of the snapshot. The repository generates new keys for snapshot and timestamp and rollbacks the snapshot version to the initial version. Signed-off-by: Kairo de Araujo <[email protected]>
Pull Request Test Coverage Report for Build 1607026953
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, agreed on the implementation and listed requirements. Left some questions / comments
This commit removes the role names as strings. Also do a slight change for clarity. Signed-off-by: Kairo de Araujo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks.
Pull Request Test Coverage Report for Build 1607026953Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
This test simulates the snapshot fast-forward attack recovery.
It simulates that the snapshot keys were compromised, the attacker
generated a new high version of the snapshot.
The repository generates new keys for snapshot and timestamp and
rollbacks the snapshot version to the initial version.
Signed-off-by: Kairo de Araujo [email protected]
Part of #1713