MySQL Forums
Forum List  »  Security

Re: keyring_file plugin EOF error during master key writing
Posted by: Gaurav Garg
Date: April 09, 2018 09:08AM

Hi Harin,

I am giving my code change that i have done:

in this code i am changing master key by getting master key http get request. its successfully working. but problem here during restart operation innobase not able to decrypt key because its having error during mysql restart.

because when mysql restart its do keyring plugin initialization if keyring plugin loaded in previous start. file mysql-server/plugin/keyring/
and in function " static int keyring_init(MYSQL_PLUGIN plugin_info) " in this function its call if (keys->init(keyring_io, keyring_file_data_value)) which subsequently call bool Keys_container::load_keys_from_keyring_storage() from file mysql-server/plugin/keyring/common/

this load_keys_from_keyring_storage creating problem because it is not able to read my keyring file.

i have modified nothing. i am just changing the key.

could you please suggest me what wrong i am doing here.

Thank you very much in advance.


Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.