Skip to content

Conversation

@jkowalski
Copy link
Contributor

This was caused by the client using key derivation algorithm from a config file (which did not have it when it was generated using old version of Kopia).

Fixes #4254

@jkowalski
Copy link
Contributor Author

The issue was caused by newly-introduced field repository.config in https://github.com/kopia/kopia/pull/3799/files#diff-e04e307e7ac4556b896ed7410100d4ba6be2b72a27340d2db77a7892965b85e9R149 without proper default being applied.

I've made a fix and added a test that verifies this e2e.

@jkowalski jkowalski force-pushed the fix-default-key-derivation-algorithm branch from 5530449 to d3688a4 Compare November 17, 2024 17:14
This was caused by the client using key derivation algorithm
from a config file (which did not have it when it was generated
using old version of Kopia).

Fixes kopia#4254
@jkowalski jkowalski force-pushed the fix-default-key-derivation-algorithm branch from d3688a4 to a4194c8 Compare November 17, 2024 17:16
@jkowalski jkowalski changed the title fix(cli): fixed v0.18.0 failures using v0.17.0-generated config fix(cli): fixed v0.18.0 failures when using v0.17.0-generated client config Nov 17, 2024
@codecov
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.04%. Comparing base (cb455c6) to head (a4194c8).
Report is 350 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4255      +/-   ##
==========================================
+ Coverage   75.86%   76.04%   +0.17%     
==========================================
  Files         470      507      +37     
  Lines       37301    38913    +1612     
==========================================
+ Hits        28299    29591    +1292     
- Misses       7071     7363     +292     
- Partials     1931     1959      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkowalski jkowalski merged commit b60cac4 into kopia:master Nov 17, 2024
@jkowalski
Copy link
Contributor Author

cc: @bathina2

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.

0.18.0 - unable to derive cache encryption key from password: unsupported key derivation algorithm:

1 participant