jarmo/secrets
Sobre
Not Yet Another Password Manager written in Go using libsodium
Segurança e privacidadeO que você pode fazer
- Stores passwords, recovery codes, notes, private keys and other secrets encrypted at rest.
- Supports multiple vaults and users. Each user has one password and can access any vault they have been granted access to.
- Uses authenticated encryption and Argon2id for password-based key protection.
- Keeps vault files under your control; no cloud service is required.
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalsecrets
secrets is a simple, self-hosted secrets manager written in Go, following the UNIX philosophy of doing one thing well.
Features
- Stores passwords, recovery codes, notes, private keys and other secrets encrypted at rest.
- Supports multiple vaults and users. Each user has one password and can access any vault they have been granted access to.
- Uses authenticated encryption and Argon2id for password-based key protection.
- Keeps vault files under your control; no cloud service is required.
- Can be used through the CLI, the self-hosted web app, or directly as a Go library.
Non-goals
- No password autofill, browser extension or mobile app.
- No password recovery or backdoor. If nobody retains credentials that can unlock a vault, access to it is lost.
- No password generation; use a dedicated password generator if needed.
Getting started
Users must be created and activated before they can access a vault. The CLI can do everything without the web app:
secrets user-create alice
secrets user-activate alice
secrets initialize --vault production
secrets add "my secret" --vault production
Enter alice when prompted for the vault owner during initialization, and enter her username and password when adding a secret.
See the CLI README for setup, vault sharing, and administration. The web README explains browser access and account activation.
Security and backups
All vault members have equal privileges: they can read, edit and delete secrets and grant or revoke access using the CLI. There is no administrator override. Only share vaults with people you trust.
Protect your host, configuration and storage directories. Anyone with write access to account or vault files must be trusted: replacing these files or restoring older copies can undermine access control. Back up both vault files and user-account data, and protect the backups. Revocation cannot invalidate previously copied secrets or historical vault copies.
On Unix, account directories and files are private by default (0700 and 0600). To share account storage between trusted OS users, use a dedicated group, a setgid user directory (2770) and group-accessible account files (0660). Never make account data publicly accessible. Configuration files must not be writable by group or others.
On Windows, use private NTFS directories and run CLI and web under the same Windows account. Account data must be owned by and accessible only to the running account, SYSTEM or local Administrators. Configuration files may be readable by others but must not be writable by them. Protect the vault directory itself as well as its files.
Changing a password revokes enrolled web passkeys but does not replace the underlying identity key. For suspected key compromise, see the CLI credential recovery guide.
Optional web passkeys
The web app supports WebAuthn PRF passkeys. A compatible passkey can unlock an account without entering its password, but it cannot reset a forgotten password. Keep a safe copy of your password.
Development
Install the Go version specified in .tool-versions:
git clone https://github.com/jarmo/secrets.git
cd secrets
make test
make test runs Go tests and go vet. Use make race for race detection (requires CGO and a compatible C compiler) and make vulncheck for vulnerability scanning (requires network access). When changing dependencies, commit the regenerated vendor files.
Explore projetos relacionados
Carregando…