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

BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700 #7730

Merged

Conversation

ThomasWaldmann
Copy link
Member

fwd port of #7702.

This is an emergency workaround for authenticated repos
if the user has lost the borg key.

We can't compute the TAM key without the borg key, so just
skip all the TAM stuff.
@codecov-commenter
Copy link

Codecov Report

Merging #7730 (d5ffa59) into master (33645ad) will decrease coverage by 0.40%.
The diff coverage is 38.09%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #7730      +/-   ##
==========================================
- Coverage   83.76%   83.36%   -0.40%     
==========================================
  Files          66       66              
  Lines       11900    11918      +18     
  Branches     2155     2159       +4     
==========================================
- Hits         9968     9936      -32     
- Misses       1359     1397      +38     
- Partials      573      585      +12     
Impacted Files Coverage Δ
src/borg/archiver/rcreate_cmd.py 100.00% <ø> (ø)
src/borg/crypto/key.py 85.62% <26.66%> (-1.37%) ⬇️
src/borg/repoobj.py 92.37% <66.66%> (-1.55%) ⬇️

... and 7 files with indirect coverage changes

@ThomasWaldmann ThomasWaldmann merged commit 989b4fe into borgbackup:master Jul 20, 2023
11 checks passed
@ThomasWaldmann ThomasWaldmann deleted the authenticated_no_key-master branch July 20, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants