@ -59,5 +59,11 @@ issues:
- G404
- G502
- G505
exclude-rules:
- path: internal/browser/browser\.go
linters:
- 'deadcode'
- 'varcheck'
- 'unused'
max-issues-per-linter: 0
max-same-issues: 0
@ -114,7 +114,6 @@ func ListBrowser() []string {
// home dir path for all platforms
var homeDir, _ = os.UserHomeDir()
//nolint:unused
const (
chromeName = "Chrome"
chromeBetaName = "Chrome Beta"
@ -185,6 +185,7 @@ func (l loginPBE) Decrypt(globalSalt, masterPwd []byte) (key []byte, err error)
func (l loginPBE) iv() []byte {
return l.Data.IV
}
func (l loginPBE) encrypted() []byte {
return l.Encrypted