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

Database may get corrupted after ALTER DATABASE ENCRYPT/DECRYPT issued multiple times per database open time [CORE5041] #5328

Closed
firebird-automations opened this issue Dec 10, 2015 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

When database is decrypted right after encryption (is same session) some pages may remain encrypted making them unreadable. This happens when other connections write to database file right after same pages were decrypted in another process.

Commits: 8d43682 53bc8eb 0891bc7 FirebirdSQL/fbt-repository@cebf7fd FirebirdSQL/fbt-repository@339dbee FirebirdSQL/fbt-repository@22bccc3

====== Test Details ======

Some kind of 'dummy' plugin for encryption is required in 'plugins' subfolder, otherwise one can not to start alter database encr. / decr. statement.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC2 [ 10048 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Deferred

Test Details: Some kind of 'dummy' plugin for encryption is required in 'plugins' subfolder, otherwise one can not to start alter database encr. / decr. statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment