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

Uploaded Source

File details

Details for the file kan_secret_storage-0.2.tar.gz.

File metadata

  • Download URL: kan_secret_storage-0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for kan_secret_storage-0.2.tar.gz
Algorithm Hash digest
SHA256 a336628dc07517e3143c97f9d5250a4d3c5017f5269f6f4ee41350162a5712c7
MD5 ad0e0b3f8229e283f480b9eccdde782a
BLAKE2b-256 6bf0e65d5ff3aae4b71d9d248af7b2370b5018a742a6a395534baf34381c581b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page