Documentation Home
Security in MySQL
Related Documentation Download this Excerpt
PDF (US Ltr) - 1.5Mb
PDF (A4) - 1.5Mb
HTML Download (TGZ) - 316.2Kb
HTML Download (Zip) - 325.7Kb


Security in MySQL  /  ...  /  Supported Keyring Key Types

7.4.7 Supported Keyring Key Types

MySQL Keyring supports generating keys of different types (encryption algorithms) and lengths. The available key types depend on which keyring plugin is installed. A given plugin may also impose constraints on key lengths per key type.

Table 7.14, “Keyring Plugin Key Types” summarizes the permitted key types per keyring plugin. Lengths are in bytes. For a key generated using one of the keyring user-defined functions (UDFs) described in Section 7.4.8, “General-Purpose Keyring Key-Management Functions”, the length can be no more than 2,048 bytes, due to limitations of the UDF interface.

Table 7.14 Keyring Plugin Key Types

Plugin Name Permitted Key Type Permitted Key Lengths for Key Type
keyring_encrypted_file AES No special restrictions
DSA No special restrictions
RSA No special restrictions
keyring_file AES No special restrictions
DSA No special restrictions
RSA No special restrictions
keyring_okv AES 16, 24, 32
keyring_aws AES 16, 24, 32


User Comments
Sign Up Login You must be logged in to post a comment.