[MDEV-7797] file_key_management_plugin uses static IV for a key Created: 2015-03-18  Updated: 2015-03-20  Resolved: 2015-03-20

Status: Closed
Project: MariaDB Server
Component/s: Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1.3
Fix Version/s: 10.1.4

Type: Bug Priority: Critical
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

We should use random IV that is not reused and has no assiciation to key. This naturally requires that used IV is stored to file space (similar way as in example_key_management_plugin version).



 Comments   
Comment by Jan Lindström (Inactive) [ 2015-03-20 ]

commit 3578419b778876fc1e7ec2a6994b9273b5d2b166
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Fri Mar 20 12:38:53 2015 +0200

MDEV-7797: file_key_management_plugin uses static IV for a key

Currently crypt data is written to file space always. Use
that to obtain random IV for every object (file).

Beatify code to confort InnoDB coding styles.

Conflicts:
storage/innobase/fil/fil0crypt.cc
storage/xtradb/fil/fil0crypt.cc

Generated at Thu Feb 08 07:22:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.