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

Verify encryption key on startup #23

Open
jasonwhite opened this issue Jan 11, 2021 · 0 comments
Open

Verify encryption key on startup #23

jasonwhite opened this issue Jan 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jasonwhite
Copy link
Owner

There is a danger of using a different encryption key than the one that was originally used to encrypt the LFS objects. Right now, there is no error or warning if the wrong encryption key is used. One might only notice the problem when clients start failing to download LFS objects.

Instead, there should be some metadata associated with the object store that, when decrypted, contains a predefined string. This could then be used to check if the encryption key is valid or not.

@jasonwhite jasonwhite added the enhancement New feature or request label Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant