check if the file specified in --encrypt-key-file is text or binary and trim CRLF if needed,
Bug #1160780 reported by
Hrvoje Matijakovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Triaged
|
Wishlist
|
Unassigned | ||
2.1 |
Triaged
|
Wishlist
|
Unassigned | ||
2.2 |
Triaged
|
Wishlist
|
Unassigned | ||
2.3 |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It would be more user friendly if XB or innobackupex would check if the if the file specified in --encrypt-key-file is text or binary and trim CRLF if needed, instead of user checking it with the HEX editor.
summary: |
- check if the file specifed in --encrypt-key-file is text or binary and + check if the file specified in --encrypt-key-file is text or binary and trim CRLF if needed, |
description: | updated |
To post a comment you must log in.
Yeah, this was also discussed a bit during development/ testing.
The way the test cases create a file is pretty simple: echo -n "Percona_ xtrabackup_ is_Awesome! !!" > keyfile
It would also be possible to 'normalize' any content by looking for trailing cr-lf and trimming.