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

Store client ECDH in cashbox-specific path #137

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

TSchmiedlechner
Copy link
Member

Currently, there are two issues when handling client curves we use for decrypting secrets:

  1. They are stored in the "common" folder, which cannot be configured by the user. Instead, we should store it in the service folder.
  2. The file is stored with a generic path (client.ecdh), which can lead to errors when multiple CashBoxes are ran on the same machine.

@TSchmiedlechner TSchmiedlechner requested a review from a team as a code owner December 6, 2023 15:06
@volllly
Copy link
Contributor

volllly commented Dec 7, 2023

Looks like a sensible change 😁 Did you by any chance test if this is backwards compatible with the previous version?

@TSchmiedlechner
Copy link
Member Author

Works, the old client.ecdh is ignored and just re-downloaded :)

@TSchmiedlechner TSchmiedlechner merged commit 6764cb2 into main Dec 11, 2023
15 checks passed
@TSchmiedlechner TSchmiedlechner deleted the user/tsc/store-clientecdh-in-cbspecific-path branch December 11, 2023 10:35
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants