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

Add increment option to fix-encrypted-version #279

Closed
IljaN opened this issue Jun 4, 2021 · 0 comments · Fixed by #274
Closed

Add increment option to fix-encrypted-version #279

IljaN opened this issue Jun 4, 2021 · 0 comments · Fixed by #274
Assignees
Milestone

Comments

@IljaN
Copy link
Contributor

IljaN commented Jun 4, 2021

Allow to set the range which the fix-encrypted-version command tries.

The oc_filecache contains the integer columns "version" and "encryptedVersion" which start with 1 and are incremented on every file modification.

When using encryption those values are used together with the ciphertext to generate a cryptographic signature for the file. Conversely the version value is required to verify the signature.

In some rare cases (timeouts, bugs,...) the value might not get updated accordingly or lost, thus requiring to bruteforce the version with the fix:encrypted:version command until the file can be decrypted.

PR: #274

@IljaN IljaN added this to the development milestone Jun 4, 2021
@IljaN IljaN self-assigned this Jun 4, 2021
@jnweiger jnweiger mentioned this issue May 25, 2022
59 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant