borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.01k stars 738 forks source link

better error msg for corrupted key data, fixes #8016 #8105

Closed ThomasWaldmann closed 7 months ago

ThomasWaldmann commented 7 months ago

fwd port of #8051.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (2d31b02) 83.95% compared to head (83c069c) 83.62%.

Files Patch % Lines
src/borg/crypto/key.py 33.33% 5 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8105 +/- ## ========================================== - Coverage 83.95% 83.62% -0.34% ========================================== Files 67 67 Lines 11994 11999 +5 Branches 2170 2171 +1 ========================================== - Hits 10070 10034 -36 - Misses 1342 1375 +33 - Partials 582 590 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.