Skip to content
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

[tests] Fix tampering tests for protected files #1980

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 3, 2024

  1. Make pytest debugging a bit more user-friendly

    * use --skip-teardown to prevent removal of artifacts
    * for tamper tests, run all of them instead of abort on first failure
    
    Signed-off-by: g2flyer <[email protected]>
    g2flyer committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    fecdb64 View commit details
    Browse the repository at this point in the history
  2. Fix pf_tamper testing

    * Make sure decrypt is called on correct path (or it will fail always
      due to invalid path it didn't fail already due to plain text tampering)
    * Remove undetectable "tampering" test-cases but also add a few use-cases
      tampering with header ciphertext
    
    Signed-off-by: g2flyer <[email protected]>
    g2flyer committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    3a50ad9 View commit details
    Browse the repository at this point in the history