You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
I had a bad feeling about this, and took a quick look into the encryption code.
AES-CFB-256 is used with a random IV in pkg/encrypt/encrypt.go - this is good.
But the same publicly available key is always used, which defeats the whole point of encryption.
What did you expect to see?
A way to configure encryption key. SetSecretKey function is available but not accessible as a feature.
Bug Report
Please answer these questions before submitting your issue. Thanks!
Used DM for a database migration, and noticed that it performs encryption without configuring any key. For example,
I had a bad feeling about this, and took a quick look into the encryption code.
AES-CFB-256 is used with a random IV in pkg/encrypt/encrypt.go - this is good.
But the same publicly available key is always used, which defeats the whole point of encryption.
A way to configure encryption key. SetSecretKey function is available but not accessible as a feature.
Hard-coded key in pkg/encrypt/encrypt.go
Versions of the cluster
DM version (run
dmctl -V
ordm-worker -V
ordm-master -V
):Upstream MySQL/MariaDB server version:
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):How did you deploy DM: DM-Ansible or manually?
Other interesting information (system version, hardware config, etc):
current status of DM cluster (execute
query-status
in dmctl)N/A
N/A
N/A
N/A
The text was updated successfully, but these errors were encountered: