Skip to main content

Local password safe. Simple Python wrapper for Windows Credentials API

Project description

cred

The module relies on Windows Credentials for storing the passwords.
It's just a cli tool for managing these credentials. Generates a 20-character length random string (with upper, lower, punctuation and digits) and saves for the given <target>.
Similar to cmdkey.exe but actually returns password.

Usage

usage: cred {{-r | -w} <target>}

> cred -r existing_credential
The password was written on the clipboard.

> cred -r non_existing_credential
Not found.

> cred -w any_string  # existing will be overwritten
Credential written.

Installation

> git clone https://github.com/HenriquedoVal/cred.git
> cd cred
> pip install .

Future

Maybe more layers of security would be good, like:

  • Cleaning the clipboard after some time
  • Request passphrase to get access (would request admin rights)
  • Operates as another special user

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cred-0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

cred-0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page