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")
Metadata
Release files for kan-secret-storage 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kan_secret_storage-0.2.tar.gz | 2.1 kB | Details |
Release files / kan_secret_storage-0.2.tar.gz
| Download URL | kan_secret_storage-0.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a336628dc07517e3143c97f9d5250a4d3c5017f5269f6f4ee41350162a5712c7
|
|
BLAKE2b-256 checksum How to use checksums |
6bf0e65d5ff3aae4b71d9d248af7b2370b5018a742a6a395534baf34381c581b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
|