feat: Support decryption of Firefox 144+ (AES-256-CBC) (#498)

* feat: Support decryption of Firefox 144+ (AES-256-CBC)

* docs: Add Firefox 144+ support to README
This commit is contained in:
slimwang
2026-02-14 01:18:53 +08:00
committed by GitHub
parent 2f3f4a908a
commit 54f55a03ed
5 changed files with 56 additions and 4 deletions
+4
View File
@@ -228,7 +228,11 @@ func getFirefoxLoginData() ([]loginData, error) {
user []byte
pass []byte
)
// Use formSubmitURL if available, otherwise fallback to hostname
m.LoginURL = v.Get("formSubmitURL").String()
if m.LoginURL == "" {
m.LoginURL = v.Get("hostname").String()
}
user, err = base64.StdEncoding.DecodeString(v.Get("encryptedUsername").String())
if err != nil {
return nil, err