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

Don't support create a library with enc version < 2 #1531

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

feiniks
Copy link
Contributor

@feiniks feiniks commented May 6, 2024

No description provided.

@@ -124,7 +124,11 @@ void CreateRepoDialog::createAction()
seafApplet->warningBox(tr("Failed to generate encryption key for this library"), this);
return;
}
// printf ("magic is %s, random_key is %s salt is %s\n", toCStr(magic), toCStr(random_key), toCStr(salt));

if (enc_version < 2) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个检查应该在生成 magic 和 random key 之前做。

@killing killing merged commit 9235440 into master May 9, 2024
@killing killing deleted the check_enc branch May 9, 2024 08:46
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