Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moritzrinow/passcheck
Simple command line tool, that helps you with checking your credentials.
https://github.com/moritzrinow/passcheck
credentials-helper golang sha512
Last synced: about 6 hours ago
JSON representation
Simple command line tool, that helps you with checking your credentials.
- Host: GitHub
- URL: https://github.com/moritzrinow/passcheck
- Owner: moritzrinow
- License: bsd-2-clause
- Created: 2019-10-15T17:28:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T17:32:32.000Z (about 5 years ago)
- Last Synced: 2024-06-19T05:19:08.024Z (5 months ago)
- Topics: credentials-helper, golang, sha512
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# passcheck
A simple command line tool, that helps you with checking your credentials.## How does it work?
Passcheck stores your usernames and the SHA-512 hashes of your passwords in contexts, where each context is a key-value storage powered by
https://github.com/syndtr/goleveldb. Contexts are supposed to represent some kind of platform, where you have existing credentials, e.g. Google or Facebook.### Default data directories
#### Linux - /var/lib/passcheck
#### Windows - C:\ProgramData\passcheck## Install
### Docker
##### Linux
docker build -t passcheck -f Linux.Dockerfile .
##### Windows
docker build -t passcheck -f Windows.Dockerfile .
### Compile it yourself
Make sure to have Make, Golang and Git (go get) installed.
Run in terminal:
make
## Usage
#### All flags are optional
#### [] - Mandatory argument
#### ([]) - Optional argument### Adding credentials
#### passcheck add [context] [username] --f
#### -> Enter password
The --f flag forces an update if that entry already exists.### Checking credentials
#### passcheck check [context] [username]
#### -> Enter password
Prints "CORRECT" if the passwords (hashes) matched or "INCORRECT" if invalid and let's you try again.### Listing contexts & entries
#### passcheck list ([context]) --a
If context specified, it lists all usernames of the given context. If not it lists all contexts.
Specify the --a flag to retreive all contexts and their usernames.### Removing contexts & entries
#### passcheck remove [context] ([username]) --f
If username is specified, it removes the specified entry from the context. If not it removes the whole context and it's entries.
Specify --f flag to bypass the prompt.### Help
#### passcheck help