Skip to main content

Python Secret Storage package

Project description

Python Secret Storage package

Secret data is encrypted using your public RSA-key and stored in the ".store" folder. The keys should be located in the "~/.ssh/" folder. For decryption, a secret key is used from the same folder. Data must be a <class 'bytes'>.

Install

pip install kan_secret_storage

Usage

import kan_secret_storage.main as ss

message = 'Hello Blablacode.ru!'
ss.storedata("message", message.encode("utf-8"))
message1 = ss.getdata("message")

Project details


Download files

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

Source Distribution

kan_secret_storage-0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

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