Metadata-Version: 2.1
Name: hibpcli
Version: 0.2.0
Summary: A command line interface for the "haveibeenpwned.com" API - speaks keepass.
Home-page: https://github.com/jugmac00/hibpcli
License: UNKNOWN
Author: Jürgen Gmach
Author-email: juergen.gmach@goglemail.com
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Requires-Dist: click ==7.0
Requires-Dist: pykeepass == 3.1.1
Requires-Dist: httpx == 0.7.5
Requires-Dist: pytest >=5.2.2; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: test

[![Build Status](https://travis-ci.org/jugmac00/hibpcli.svg?branch=master)](https://travis-ci.org/jugmac00/hibpcli)
[![Current version on PyPI](https://img.shields.io/pypi/v/hibpcli.svg)](https://pypi.org/project/hibpcli/)
[![Requirements Status](https://requires.io/github/jugmac00/hibpcli/requirements.svg?branch=master)](https://requires.io/github/jugmac00/hibpcli/requirements/?branch=master)
![](https://img.shields.io/pypi/l/hibpcli.svg)

# hibpcli

A command line interface for the "haveibeenpwned.com" API - speaks keepass.

## current state

Very alpha.

## usage

```
$ hibpcli keepass

Please enter the path to the database: tests/test.kdbx
Please enter the master password for the database:
The passwords of following entries are leaked:
[Entry: "test_title (test_user)"]
```

or

```
$ hibpcli keepass --path PATHTOKEEPASSDB --password PASSWORDFORKEEPASSDB

The passwords of following entries are leaked:
[Entry: "test_title (test_user)"]
```

## scope

- check passwords in db via hibp online API (currently)
- check passwords in db via offline check (future)
- enter passwords manually (future)

## contributions, feature requests, bug reports

Please use https://github.com/jugmac00/hibpcli

## run tests

```
pytest
```

## run tests with coverage

```
pytest --cov=hibpcli --cov=tests --cov-report term-missing
```

## thank you
- click - https://click.palletsprojects.com
- pykeepass - https://github.com/pschmitt/pykeepass
- httpx - https://github.com/encode/httpx

