https://github.com/eilvelia/hlesspass
Alternative CLI application for LessPass
https://github.com/eilvelia/hlesspass
console-application lesspass password-generator stateless-password-manager
Last synced: 8 months ago
JSON representation
Alternative CLI application for LessPass
- Host: GitHub
- URL: https://github.com/eilvelia/hlesspass
- Owner: eilvelia
- License: mit
- Created: 2019-05-27T21:07:25.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:38:47.000Z (over 1 year ago)
- Last Synced: 2025-02-27T19:52:35.175Z (over 1 year ago)
- Topics: console-application, lesspass, password-generator, stateless-password-manager
- Language: Haskell
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hlesspass
Alternative CLI application for [LessPass](https://lesspass.com).
## Installation
Clone the repository and build the project either via cabal (`cabal build`,
see also `cabal --help`) or nix.
## Usage
```console
$ hlesspass [OPTIONS]
```
See `hlesspass --help`.
The app has its own configuration file in `$XDG_CONFIG_HOME/hlesspass/config.cfg`
(where `$XDG_CONFIG_HOME` defaults to `~/.config`). The config looks like this:
```ini
lowercase=yes
uppercase=yes
digits=yes
symbols=yes
length=16
counter=1
copy=no
```
It can also locally store hash[^1] of the master password in the
`$XDG_CONFIG_HOME/hlesspass/pwd` file to prevent typos. Launch `hlesspass` with
the `--save-hash` option and enter the password. On subsequent runs it'll check
that you wrote a correct password. `--no-check` can be used to disable this
check.
[^1]: the first 24 bits of pbkdf2 (hmac sha256, 2 iterations) hash are used
The main LessPass algorithm uses pbkdf2_sha256 with 100'000 iterations.
## License
Copyright © 2019 eilvelia, [MIT License](./LICENSE).