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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cred-0.1.tar.gz.

File metadata

  • Download URL: cred-0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for cred-0.1.tar.gz
Algorithm Hash digest
SHA256 999b8f5d6525bcfc7a03302fce2c2742b9299123df5d67ca17721afcc8fdc9ee
MD5 55ae53fd64ad0201cbc599cdcd0b7ec1
BLAKE2b-256 2ca6fe25d486080f0b5c7500ed5c76f4cf2333785ce278ebefd6a602846d57c6

See more details on using hashes here.

File details

Details for the file cred-0.1-py3-none-any.whl.

File metadata

  • Download URL: cred-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for cred-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cd2615f13065886905f70f070a03ed009228e816b50994f056a7433692e8493
MD5 6651cda47110fd40c66c63602ef3292e
BLAKE2b-256 16e96267f2ddf1ebfb346978ebf812b8f535001784083399cd82e5b1acfeba15

See more details on using hashes here.

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