https://github.com/escalopa/passgen
PassGen: 🔐 A CLI tool to generate and hash secure passwords with customizable length and special characters using Argon2! 🚀
https://github.com/escalopa/passgen
Last synced: 6 months ago
JSON representation
PassGen: 🔐 A CLI tool to generate and hash secure passwords with customizable length and special characters using Argon2! 🚀
- Host: GitHub
- URL: https://github.com/escalopa/passgen
- Owner: escalopa
- License: mit
- Created: 2024-05-31T20:36:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-01T12:58:17.000Z (over 1 year ago)
- Last Synced: 2025-01-19T15:20:11.587Z (12 months ago)
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# passgen 🔐
PassGen: A CLI tool to generate secure passwords with specified options, including length, special characters, number of passwords, and output format and much more.
## Installation 🏗
### Using Go
You can install the tool using Go:
```bash
go install github.com/escalopa/passgen@v0.0.2
passgen generate -l 32
```
### Using Docker
```bash
docker pull dekuyo/passgen:v0.0.2
docker run --rm dekuyo/passgen:v0.0.2 generate -l 32
```
## Configuration
The application uses a configuration file named `.passgen` in one of the following formats: `.toml`, `.json`, `.yaml`, `.yml`.
Here are the available configuration options:
| Option | Description | Type |
|-------------|-------------------------------------------------------|--------|
| length | The length of the generated password | int |
| iterations | The number of passwords to generate | int |
| characters | The characters to use for password generation | string |
| clipboard | Whether to copy the generated password to clipboard | bool |
Here is an example of a `.passgen` configuration file:
```yaml
generate:
length: 16
iterations: 1
characters: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
clipboard: true
```
## Milestones
- [x] Generate passwords with specified length & characters
- [ ] Fix merge config files (correct priority: flags > config file > default)
- [ ] Remove the hash & salt from output and just print the password
## Contributing
Contributions are welcome! Please open an issue or submit a pull