-
-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
featureEnhancements and new featuresEnhancements and new features
Description
Summary
gopass audit
(--failed
) does not give a summary as it previously did- instead, each password individually reports all the successful and failed checks, without a summary
- and each check looks like a failed one, even when ok
- the reported age (as in time or oldness, not the other age) is wrong (time since of last
recipient add
instead of since most recent change) - the reported age is formatted weirdly and way too precise
$ gopass version
gopass 1.15.11 go1.21.4 linux amd64
$ gopass audit
Auditing passwords for common flaws ...
Checking 999 secrets. This may take some time ...
] 999 / 999 [Goooooooooooooooooooooooooooooooooooooooooooooooooooopass] 100.00%
Account/account.example.com (age: 45h45m19.491782411s)
❌ [none] zxcvbn: ok
❌ [none] crunchy: ok
❌ [none] equals-name: ok
Account/accounts.example2.com (age: 45h45m19.492260001s)
❌ [none] equals-name: ok
❌ [warning] crunchy: Password is too systematic
❌ [warning] zxcvbn: weak password (2 / 4)
[...]
Account/accounts.example3.net (age: 45h45m19.49177853s)
❌ [none] crunchy: ok
❌ [none] equals-name: ok
❌ [none] zxcvbn: ok
2024/03/05 15:51:12 weak password or duplicates detected
$
Fig 1: audit output. broken a.f.
Steps To Reproduce
$ gopass audit
Expected behavior
This is what it used to look like
$ gopass version
gopass 1.14.3 go1.18.3 linux amd64
<root> - gpg 2.3.7 - gitfs 2.40.1
Available Crypto Backends: age, gpgcli, plain
Available Storage Backends: fossilfs, fs, gitfs
Your version (1.14.3) of gopass is out of date!
The latest version is 1.15.11.
You can update by downloading from https://www.gopass.pw/#install or via your package manager
$ gopass audit
Auditing passwords for common flaws ...
Checking 999 secrets. This may take some time ...
] 999 / 999
[Goooooooooooooooooooooooooooooooooooooooooooooooooooopass] 100.00%
Detected a shared secret for:
- Account/example.de
- Service/example.de
Password is too short:
- Account/another-example.de/example
weak password (0 / 4):
- Account/another-example.de/example
Password is mangled, but too common / from a dictionary:
- Account/example.com
Password is too systematic:
- Account/yet-another-example.de
- Folder/quite-a-list-of-examples.de
weak password (2 / 4):
[...]
Fig 2: audit summary, not perfect but quite alright
Environment
- OS: Fedora Linux 36 and Pop!OS 22.04 LTS (it looked pretty similar on the latter, but I'd have to check if it was identical)
- gopass Version: v1.15.11 (only applies to fig1 )
- Installation method: github release (only applies to fig1 )
Additional context
Metadata
Metadata
Assignees
Labels
featureEnhancements and new featuresEnhancements and new features