Skip to content

Conversation

@Banaanhangwagen
Copy link
Contributor

With this PR we make firepwd compatible with AES256_CBC decryption as implemented since v144.

However, I had to make a choice here since it's just a quick patch and not a complete rewrite.
The stay compatible with older versions, I chose to check for the masterkey length (in stead of algo_oid) and depending on that, picking the right decryption scheme.

Make decryption of logins and pwd compatible with v144
Updated the date in the README and added compatibility for Firefox versions.
A simplified script to decrypt Firefox passwords stored in the 'logins.json'
file, using the master_key from 'key4.db'.

This script is based on the original work by @lclevy but has been
refactored for clarity and simplicity, focusing only on modern Firefox versions
that use key4.db and logins.json.
Added information about the fork 'firepwd-ng.py' and its purpose.
@lclevy lclevy merged commit 4ad1576 into lclevy:master Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants