fix(macos): recover runtime SQLCipher codec keys - #20
RPGboy2023 wants to merge 1 commit into
Conversation
你好,系统为windows 10 教育版22H2 微信版本为4.1.11.55:提示如下:
|
Adapt database reading support from upstream PR huohuoer#20; retain private cache location without adding runtime capture.
Summary
x'<key><salt>'all_keys.jsononly when at least one valid key remainsmessage_N.dbandbiz_message_N.dbshardsSafety properties
0600; key bytes are never printed by the fallbackSIGCONTso WeChat is not left suspendedVerification
python3 -m unittest discover -s tests -v(6 tests pass)compileallpasses--helpsmoke test passesDBCache; SQLitePRAGMA quick_checkreturnsokRuntime note
The codec fallback observes live page processing. If the target database is idle during the bounded capture window it reports a timeout and leaves the key file unchanged; opening/using the relevant chat while
initruns provides the required page activity.