Skip to content

Cipher is a Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote vaults to decrypt configuration files.

License

Notifications You must be signed in to change notification settings

dmberezovskyii/secure-test-automation

Repository files navigation

About

secure-test-autmation Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote or local vaults to decrypt configuration files and passwords.

Features

  • Encryption and Decryption: Encrypt and decrypt passwords using a Fernet key.
  • Key Management: Support for loading, creating, saving, and deleting encryption keys from a local file and remove vault
  • Password Generation: Generate secure, random passwords of a specified length.
  • Multiple Vault Types:
    • Currently: local and and HashiCorp Vault

Documentation

You can find the full documentation for Secure Test Automation here: Secure Test Automation Documentation

Requirements

  • Python 3.10 +
  • cryptography library for encryption/decryption functionality.

Install the required dependencies:

Local Usage

  1. Clone this repository:
    git clone https://github.com/dmberezovskyii/secure-test-automation
  2. Install required dependencies:
    pip install poetry
    poetry shell
    poetry env info
    copy `Executable: path to virtual env` -> Add Interpreter -> Poetry Environment -> Existing environment -> add Executable -> Apply
    poetry install

Install Library

pip install secure-test-automation

TODO add documentation usage

About

Cipher is a Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote vaults to decrypt configuration files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages