Issue Details (XML | Word | Printable)

Key: CORE-5793
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Dimitry Sibiryakov
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

Error returned from DbCryptPlugin::setKey() is not shown

Created: 14/Apr/18 09:41 PM   Updated: 10/Jun/19 11:34 AM
Component/s: Engine
Affects Version/s: 4.0 Alpha 1, 3.0.3
Fix Version/s: 3.0.4, 4.0 Beta 1

QA Status: Done successfully

 Description  « Hide
Meaningless error text "Missing correct crypt key" is returned to application in this case. It makes diagnostic of a problem harder than necessary.
I'd suggest to append status returned from plugin to the end of message.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 10/May/18 02:55 PM
Minor problem - I there are >1 KeyHolder plugin and all failed what status vector should I return?
IStatus can fit them all - but would it be good diags:

Missing correct crypt key
 -Plugin ABC:
 -Incorrect key format
 -Plugin XXX:
 -some more error

and so on?

Dimitry Sibiryakov added a comment - 10/May/18 03:07 PM
Configuration with more than one keyholder for a database is meaningless as Vlad said years ago. No mater if the first of the last error is shown in this case.