Password Safe is a password manager for people who use many logins. It keeps usernames and passwords in an encrypted file, so the only secret to remember is one master password.
A Yubikey hardware device can be added as a second factor for two-factor authentication. The source code is public under the Artistic 2.0 license, and the project says it runs on Windows, Linux, macOS and FreeBSD.
Alternatives to Password Safe
Products that do a similar job in Security & Privacy.
Enpass
Password and credentials manager for Mac
ente
End-to-end encrypted cloud storage for photos, files and more
Yubico Authenticator
Companion app for managing YubiKey one-time codes and credentials
Secrets
KeePass-compatible password manager for the GNOME desktop
Bitwarden
Open source password manager with an encrypted vault for the desktop
LastPass
Password vault with autofill, a password generator and shared logins
MacPass
Open-source KeePass-compatible password manager for macOS
Keeper Password Manager
Password manager and encrypted digital vault for Mac