Skip to content

Fix resetting and accidental key damaging/deleting (#7415)#7423

Merged
AlexPeshkoff merged 2 commits intoFirebirdSQL:B3_0_Releasefrom
red-soft-ru:crypto_manager_key_correctness_check
Jan 10, 2023
Merged

Fix resetting and accidental key damaging/deleting (#7415)#7423
AlexPeshkoff merged 2 commits intoFirebirdSQL:B3_0_Releasefrom
red-soft-ru:crypto_manager_key_correctness_check

Conversation

@AlexeyMochalov
Copy link
Copy Markdown
Contributor

This should add key correctness check in case of resetting encryption key on Classic server with multiple attachments, and hanging Super server in case of accidental key damaging/deleting

This should add key correctness check in case of resetting encryption key on Classic server with multiple attachments, and hanging Super server in case of accidental key damaging/deleting
@AlexPeshkoff AlexPeshkoff self-assigned this Dec 13, 2022
Comment thread src/jrd/CryptoManager.cpp Outdated
else
hash = valid;
{
if (!keyName.isEmpty())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I doubt about this check. Crypt plugin may use unnamed key which also can be changed.

Copy link
Copy Markdown
Member

@AlexPeshkoff AlexPeshkoff left a comment

Choose a reason for hiding this comment

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

To be accepted PR should be also done for fb4 & 5.

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