mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* 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
|
||
|---|---|---|
| .. | ||
| inc | ||
| src | ||
| CMakeLists.txt | ||