TDengine/source/dnode/mgmt/node_mgmt
Zhixiao Bao 28625294a2
fix: enable taosk to compile on Windows. (#34936)
* fix: use etool.taoskFile() in test_key_generation for Windows compat.

* fix: resolve taosk.exe path on Windows in Security tests

On Windows the taosk binary is taosk.exe. Three fixes:

- taosd.py: use platform.system() to append .exe when looking up taosk
  path during encrypt-key setup before taosd starts; previously the
  lookup always failed silently so master.bin was never generated
- test_key_update.py: replace hardcoded 'taosk' with etool.taoskFile()
- test_key_backup_restore.py: same fix as above

Made-with: Cursor

* fix: build taosk on windows.

* fix: taosd error at windows.

* fix: skip AES-128-CBC test on Windows (Linux enterprise only)

AES-128-CBC encryption algorithm is only registered in mndEncryptAlgr.c
when TD_ENTERPRISE && LINUX is defined. The Windows builtin CBC
implementation always uses SM4 regardless of algorithm name, so
AES-128-CBC cannot be supported on Windows. Skip the AES database
creation and verification steps on non-Linux platforms.

Made-with: Cursor

* Revert "fix: skip AES-128-CBC test on Windows (Linux enterprise only)"

This reverts commit 67e0e81ef9.
2026-03-26 10:27:56 +08:00
..
inc feat: add data force repair mode (#34753) 2026-03-16 10:21:17 +08:00
src enh: add reference verification capabilities between virtual tables and source tables, including reference relationship storage, source table change verification, reference relationship query and virtual table availability verification functions (#34740) 2026-03-21 11:49:50 +08:00
CMakeLists.txt fix: enable taosk to compile on Windows. (#34936) 2026-03-26 10:27:56 +08:00