| 1 |
# ---------------------------------------------------------------------- |
| 2 |
# Setup |
| 3 |
# Creating custom global manifest file for MySQL server |
| 4 |
# Creating custom global configuration file for keyring component: component_keyring_file |
| 5 |
# Re-starting mysql server with manifest file |
| 6 |
# ---------------------------------------------------------------------- |
| 7 |
# ---------------------------------------------------------------------- |
| 8 |
# Setup |
| 9 |
# Stop the running server. |
| 10 |
# ---------------------------------------------------------------------- |
| 11 |
# Keyring encryption tests |
| 12 |
TIMESTAMP [Note] [MY-013713] [Keyring] Component component_keyring_file reported: 'Keyring component initialized successfully.' |
| 13 |
TIMESTAMP [Note] [MY-013721] [Keyring] Component component_keyring_file reported: 'Could not find the data corresponding to Data ID: 'aes_key_invalid', Auth ID: 'keyring_aes_test'.' |
| 14 |
TIMESTAMP [Note] [MY-013719] [Keyring] Component component_keyring_file reported: 'Key identified by Data ID: 'secret_key_1' and Auth ID: 'keyring_aes_test' is not of type AES.' |
| 15 |
Plaintext: 'Quick brown fox jumped over the lazy dog.' |
| 16 |
Successfully encrypted plaintext using AES-CBC-256 |
| 17 |
TIMESTAMP [Note] [MY-013721] [Keyring] Component component_keyring_file reported: 'Could not find the data corresponding to Data ID: 'aes_key_invalid', Auth ID: 'keyring_aes_test'.' |
| 18 |
TIMESTAMP [Note] [MY-013719] [Keyring] Component component_keyring_file reported: 'Key identified by Data ID: 'secret_key_1' and Auth ID: 'keyring_aes_test' is not of type AES.' |
| 19 |
Successfully decrypted plaintext using AES-CBC-256 |
| 20 |
Decrypted plaintext: 'Quick brown fox jumped over the lazy dog.' |
| 21 |
Successfully tested AES functionality |
| 22 |
# ---------------------------------------------------------------------- |
| 23 |
# Cleanup |
| 24 |
# Restart server |
| 25 |
# ---------------------------------------------------------------------- |
| 26 |
# ---------------------------------------------------------------------- |
| 27 |
# Teardown |
| 28 |
# Removing local keyring file for keyring component: component_keyring_file |
| 29 |
# Removing global configuration file for keyring component: component_keyring_file |
| 30 |
# Removing global manifest file for MySQL server |
| 31 |
# Restarting server without the manifest file |
| 32 |
# ---------------------------------------------------------------------- |