fix: modify firefox asn1 data struct

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-20 02:14:18 +08:00
parent 8c2f72ccb6
commit 4fe335c270
7 changed files with 69 additions and 64 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ func (c *ChromiumPassword) Parse(masterKey []byte) error {
if masterKey == nil {
password, err = decrypter.DPApi(pwd)
} else {
password, err = decrypter.ChromePass(masterKey, pwd)
password, err = decrypter.Chromium(masterKey, pwd)
}
if err != nil {
log.Error(err)
@@ -129,7 +129,7 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
if masterKey == nil {
password, err = decrypter.DPApi(pwd)
} else {
password, err = decrypter.ChromePassForYandex(masterKey, pwd)
password, err = decrypter.Chromium(masterKey, pwd)
}
if err != nil {
log.Errorf("decrypt yandex password error %s", err)