Python implementation of Edgio token (
ectoken
)
Python implementation of the "Edgio Token" (ectoken
) -see main repo ectoken for more details.
pip install -r requirements.txt
>./ectoken.py -h
usage: ectoken.py
Generate Random Security Config Post from Template.
optional arguments:
-h, --help show this help message and exit
-k KEY, --key KEY Token Key.
-t TOKEN, --token TOKEN
Token to encrypt or decrypt.
-d, --decrypt Decrypt.
-v, --verbose Verbosity.
Encrypt clear text token <token>
with key: <key>
:
~>./ectoken.py -k MY_SECRET_KEY -t MY_COOL_TOKEN
26oBaqCbdLyJD5RjsHBYGsIDQGOehPo2rZfGwGey-ubhciakzPwRIdQ
Decrypt ciphertext token <token>
with key: <key>
:
~>./ectoken.py -k MY_SECRET_KEY -t '26oBaqCbdLyJD5RjsHBYGsIDQGOehPo2rZfGwGey-ubhciakzPwRIdQ' -d
MY_COOL_TOKEN
- We welcome issues, questions and pull requests.
This project is licensed under the terms of the Apache 2.0 open source license. Please refer to the LICENSE-2.0.txt
file for the full terms.