feat: support all versions of firefox, Close #73

This commit is contained in:
moond4rk
2021-02-11 00:25:50 +08:00
committed by ᴍᴏᴏɴD4ʀᴋ
parent 4139bf56ee
commit 80f4dd4079
5 changed files with 130 additions and 54 deletions
+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)
}