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

Access to the name of DB encryption key [CORE5712] #5978

Closed
firebird-issue-importer opened this issue Jan 16, 2018 · 6 comments
Closed

Access to the name of DB encryption key [CORE5712] #5978

firebird-issue-importer opened this issue Jan 16, 2018 · 6 comments

Comments

@firebird-issue-importer

Submitted by: @AlexPeshkoff

Name of encryption key is not top secret information. It may be read using (for example) gstat utility or service. But if one plan to work with that name from the program it will be much more convenient to access it using Attachment::getInfo() API call.

Commits: 9315892 83fa6a1

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

Deferred until such ability will appear in fdb driver

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 16, 2018

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 16, 2018

Commented by: @aafemt

It is already received in DbCryptCallback routine.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 16, 2018

Modified by: @AlexPeshkoff

summary: Access to the name of DB encryption KEY => Access to the name of DB encryption key

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 16, 2018

Commented by: @AlexPeshkoff

Implemented with fb_info_crypt_key information item.
In 4.0 also added dedicated system privilege GET_DBCRYPT_KEY_NAME.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 16, 2018

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.3 [ 10810 ]

Fix Version: 4.0 Beta 1 [ 10750 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 22, 2018

Modified by: @pavel-zotov

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

QA Status: No test => Deferred

Test Details: Deferred until such ability will appear in fdb driver

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