pull/234/merge
stevenlele 2 years ago committed by GitHub
commit b9486bf17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      browser/chromium/chromium_windows.go

@ -34,6 +34,10 @@ func (c *Chromium) GetMasterKey() ([]byte, error) {
return nil, errDecodeMasterKeyFailed
}
c.masterKey, err = crypto.DPAPI(key[5:])
if err != nil {
log.Errorf("%s failed to decrypt master key, maybe this profile was created on a different OS installation", c.name)
return nil, err
}
log.Infof("%s initialized master key success", c.name)
return c.masterKey, err
return c.masterKey, nil
}

Loading…
Cancel
Save