https://github.com/monolifed/lpcli
C implementation of lesspass (version 2)
https://github.com/monolifed/lpcli
command-line-tool lesspass password-generator
Last synced: about 1 year ago
JSON representation
C implementation of lesspass (version 2)
- Host: GitHub
- URL: https://github.com/monolifed/lpcli
- Owner: monolifed
- License: unlicense
- Archived: true
- Created: 2018-01-19T10:14:30.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-07-15T18:55:59.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T15:30:05.473Z (almost 2 years ago)
- Topics: command-line-tool, lesspass, password-generator
- Language: C
- Homepage:
- Size: 96.7 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LPCLI
C implementation of lesspass (version 2) without any external dependencies `*`.
## Usage
```
$./lpcli
Usage: lpcli [login] [options]
Options:
--lowercase, -l include lowercase characters
--uppercase, -u include uppercase characters
--digits, -d include digits
--symbols, -s include symbols
--length, -n number of characters (16)
--counter, -c numeric suffix of salt (1)
--print, -p print instead of copying to clipboard.
xclip is required to copy to clipboard on linux.
Notes:
If none of l,u,d or s specified, luds is assumed.
You can type short options without spaces. e.g. -ludn32c5p
Length is between 5 and 35 and counter is greater than 0.
Salt is site..login..hex(counter) where ".." is concatenation.
Thus using an empty login or omitting it gives the same result.
```
Do not forget to check that you get the same password with both this one and lesspass.
## Compiling
`*`By default it requires libX11 for clipboard copy on linux; `make` .
If your system has xclip, You can compile without libX11; `make HAS_XCLIP=1` .
On windows, `mingw32-make` (or `mingw64-make`) should suffice.