style: format project

pull/83/head
ᴍᴏᴏɴD4ʀᴋ 4 years ago
parent 8a3f4b8fee
commit 0b8cee62cd
  1. 1
      utils/utils.go
  2. 3
      utils/utils_darwin.go
  3. 1
      utils/utils_linux.go

@ -53,7 +53,6 @@ const (
FirefoxKey3DB = "key3.db" FirefoxKey3DB = "key3.db"
) )
func ListBrowser() []string { func ListBrowser() []string {
var l []string var l []string
for k := range browserList { for k := range browserList {

@ -151,7 +151,8 @@ func DecodeNss(nssA11Bytes []byte) (pbe NssPBE, err error) {
} }
func DecryptMeta(globalSalt, masterPwd []byte, pbe MetaPBE) ([]byte, error) { func DecryptMeta(globalSalt, masterPwd []byte, pbe MetaPBE) ([]byte, error) {
return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted)} return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted)
}
func DecryptNss(globalSalt, masterPwd []byte, pbe NssPBE) ([]byte, error) { func DecryptNss(globalSalt, masterPwd []byte, pbe NssPBE) ([]byte, error) {
return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted) return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted)

@ -33,7 +33,6 @@ var (
} }
) )
func InitKey(string) error { func InitKey(string) error {
return nil return nil
} }

Loading…
Cancel
Save