[GH-ISSUE #144] waencrypt -- option to NOT specify any feature table nor "max feature number" #64

Open
opened 2026-03-02 03:59:49 +03:00 by kerem · 0 comments
Owner

Originally created by @code-consensus on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/ElDavoo/wa-crypt-tools/issues/144

Originally assigned to: @ElDavoo on GitHub.

Hi,

When using waencrypt, there are the command-line options of "--enable-features [...]" and "--max-feature XX". These enable the specified features, and specify the maximum feature in the list. If these are not supplied to the command-line, default values are taken from constants.py. This works fine if you are encrypting a msgstore.db file, which requires the features list.

The problem is encrypting files that are not message databases. Those types of encrypted files (e.g. contacts wa.db.crypt14/crypt15, stickers.db.crypt14/crypt15, etc) do NOT include the features information at all.

E.g. running wainfo on files from your WhatsApp/Backups (e.g. wa.db.crypt14/crypt15) will show:
No feature table found (not a msgstore DB or very old) and will also not show a max feature number listed either.

So, the question is if it would be possible to have a command-line argument for waencrypt to NOT add any features-related info to the output. Perhaps it could be called "--no-features"?

Originally created by @code-consensus on GitHub (Sep 11, 2024). Original GitHub issue: https://github.com/ElDavoo/wa-crypt-tools/issues/144 Originally assigned to: @ElDavoo on GitHub. Hi, When using waencrypt, there are the command-line options of "--enable-features [...]" and "--max-feature XX". These enable the specified features, and specify the maximum feature in the list. If these are _not_ supplied to the command-line, default values are taken from constants.py. This works fine if you are encrypting a _msgstore.db_ file, which _requires_ the features list. **The problem is encrypting files that are _not_ message databases.** Those types of encrypted files (e.g. contacts wa.db.crypt14/crypt15, stickers.db.crypt14/crypt15, etc) do NOT include the features information at all. E.g. running wainfo on files from your WhatsApp/Backups (e.g. wa.db.crypt14/crypt15) will show: `No feature table found (not a msgstore DB or very old)` **and** will also not show a max feature number listed either. So, the question is if it would be possible to have a command-line argument for waencrypt to _**NOT**_ add any _features-related info_ to the output. Perhaps it could be called **"--no-features"**?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-crypt-tools#64
No description provided.