Skip to content

A secure and simple password manager in python. You can create local encrypted and signed files to hold passwords and other data by just remembering one master password

Notifications You must be signed in to change notification settings

Duzzuti/simple-pwd-manager

Repository files navigation

simple-pwd-manager

A simple password manager written in Python.

Getting Started

  1. Make sure you have Python3 installed (Download Python)
  2. Download the latest release from the releases page
  3. Extract the downloaded archive.
  4. Start the program by running main.py
    (1. Note that python must be accessible via py, python3, or python in your PATH)
    (2. You can run .py files by double clicking or running python main.py, py main.py or python3 main.py in a terminal)
    (3. Note that dependencies are installed automatically if they are missing)
  5. You can also create a shortcut to main.py on your desktop or taskbar for easy access.

Technical Details

  • Files are encrypted using AES-256-CBC in combination with PBKDF2 for key derivation.
  • Files are signed using HMAC-SHA256.
  • python's cryptography library is used for encryption and decryption algorithms.
  • iv and salt are generated using os.urandom().
    (Note that this does not have to be cryptographically secure, it is written to the file in plaintext anyway.)
  • The parameter of the key derivation function can be adjusted and are stored in the settings.py file.
  • The file stores all information needed for decryption.
    (This includes the salt, iv, HMAC value, and the parameters for key derivation as well as the version of the software)
  • Random padding is added to the decrypted data to avoid leaking information about the length of the file.
  • More detailed information about the file format can be found in the encFileFormat.md file.

About

A secure and simple password manager in python. You can create local encrypted and signed files to hold passwords and other data by just remembering one master password

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages