Send secrets using iota.
Project description
Installation
It is a pip package
pip install iotasecret
Sending a message
Once installed you will need to come up with a passphrase and a message to send. Once you are ready execute the command
iotasecret emit MYPASSPHRASE --message 'my message'
Recieving a message
Remember your passphrase and run the command,
iotasecret read MYPASSPHRASE
Recieve all messages
To retrieve all the messages you have sent,
iotasecret read MYPASSPHRASE --all
Example
$> iotasecret emit MYPASSPHRASE --message 'my message'
Sending datum: b'gAAAAABfikdt56f1AzK0lG0IYArdfO914QPUnf6XaGQaNNiT-kixnfI2TvwrPPCQ-H9-q1OVbIs1WZNEQuDE-v7aCSqWSKHDpZmfbEIg62A7tdRd8wG8zm8CrD3QVRDpykZLfL0HaXnv'
Sent in 2.8 secconds to HLJSPWFYKIRGRGMOVDLBFQ9VQCRBPJDMUOSTRORL9QAAJKCCSLMGH9LXQPYLRDTKAQILTZIECNJPA9999
$> iotasecret read MYPASSPHRASE
Fetched 1 events in 1.0 sec.
2020-10-16 18:22:53.356271: my message
$> iotasecret emit MYPASSPHRASE --message 'This is just a test'
Sending datum: b'gAAAAABfikgMH4aBE6N1r4xPu3wKIzgSx_XRpb0LiQMoqtI27yzocmhhxpxdKz6jsRWs2w122N3KY-a0R4h52K0t-Zqr3fxy8Iultsn8xG2lhJ-tq_2DtHyLXQ4GltI7zft2lMC-cBJS'
Sent in 10.7 secconds to WXLFBCUJVKXNUZOYCGPJMRDMIXNHJAYWJICKBEQDBYWWWZ9CMUQIHDKXTUPFAHJYRJIYJNFOVY9OA9999
$> iotasecret emit MYPASSPHRASE --message 'Choose a better passphrase please.'
Sending datum: b'gAAAAABfikgfUnHVcFUjK2SCTTH3a_VicNNQX8638x_gLcKQG8vMC-BAa_YBa4d_BOaqYaz8plL4xvN62tC9QEI2JovM8U9BQ2Mub68KIkNOQR9wDJMepR6rZiksblJtYnCbU2nRjIDfb5i4dG47jVEEAwhlGvhkoA=='
Sent in 6.07 secconds to TBOEGNSD9JOSMBORSPIDXSNDUSFRUUGYVTJZCHF9ZUAQNOFORYALPGEJDOQJEZNLWUVPAPAOBMUW99999
$> iotasecret read MYPASSPHRASE --all
Fetched 3 events in 0.6 sec.
2020-10-16 18:25:52.924940: Choose a better passphrase please.
2020-10-16 18:25:32.310215: This is just a test
2020-10-16 18:22:53.356271: my message
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iotasecret-0.0.1.0.tar.gz
(4.5 kB
view details)
File details
Details for the file iotasecret-0.0.1.0.tar.gz
.
File metadata
- Download URL: iotasecret-0.0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd357e9c1596d6dc5ee1627730904c9f9ebf6d67f4190050f59e98e46feffcdd |
|
MD5 | 4da04ae9b7c3332aaca04b19dcbd8328 |
|
BLAKE2b-256 | 52c4e3199071a98427c55efcd40f376328d0546742c2578001ade2c555c85ef8 |