[MDEV-11322] Poor error message upon running SHOW BINLOG EVENTS on encrypted binlog with a wrong key Created: 2016-11-21  Updated: 2020-12-01

Status: Open
Project: MariaDB Server
Component/s: Encryption, Replication
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   
  • start server with binlog encryption and file_key_management plugin/keyfile;
  • create some events;
  • restart server with a different keyfile (different value for key 1);
  • run SHOW BINLOG EVENTS on the previous log:

MariaDB [test]> show binlog events in 'jessie-bin.000001';
ERROR 1220 (HY000): Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error

Naturally, server shouldn't be able to decrypt the binlog, but the diagnostics could have been better.


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