feat: support all versions of firefox, Close #73

This commit is contained in:
moond4rk authored and ᴍᴏᴏɴD4ʀᴋ committed 2021-02-11 00:25:50 +08:00
1 parent 4139bf56ee
commit 80f4dd4079
5 files changed
+130 -54

No files matched your search

+2 -2
View File
@@ -217,9 +217,9 @@ type LoginPBE struct {
type LoginSequence struct {
asn1.ObjectIdentifier
Iv []byte
IV []byte
}
func (l LoginPBE) Decrypt(globalSalt, masterPwd []byte) (key []byte, err error) {
return des3Decrypt(globalSalt, l.Iv, l.Encrypted)
return des3Decrypt(globalSalt, l.IV, l.Encrypted)
}