{"id":26063267,"url":"https://github.com/edgio/py-ectoken","last_synced_at":"2025-03-08T16:34:28.676Z","repository":{"id":46182534,"uuid":"349230763","full_name":"Edgio/py-ectoken","owner":"Edgio","description":"Python implementation of ectoken","archived":false,"fork":false,"pushed_at":"2022-06-23T03:14:43.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-02-26T22:46:52.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Edgio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-18T22:12:19.000Z","updated_at":"2022-08-10T23:37:26.000Z","dependencies_parsed_at":"2022-09-23T06:01:10.632Z","dependency_job_id":null,"html_url":"https://github.com/Edgio/py-ectoken","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fpy-ectoken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fpy-ectoken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fpy-ectoken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fpy-ectoken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Edgio","download_url":"https://codeload.github.com/Edgio/py-ectoken/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242580927,"owners_count":20153018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T16:34:27.880Z","updated_at":"2025-03-08T16:34:28.671Z","avatar_url":"https://github.com/Edgio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-ectoken\n\u003e _Python implementation of Edgio token (`ectoken`)_\n\n\n## Table of Contents\n\n- [Background](#background)\n- [Install](#install)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [License](#license)\n\n\n## Background\n\nPython implementation of the \"Edgio Token\" (`ectoken`) -see main repo [ectoken](https://github.com/edgioinc/ectoken) for more details.\n\n## Install\n\n### With `pip`\n\n```sh\npip install -r requirements.txt\n```\n\n## Usage\n\n### Help\n```sh\n\u003e./ectoken.py -h\nusage: ectoken.py\n\nGenerate Random Security Config Post from Template.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -k KEY, --key KEY     Token Key.\n  -t TOKEN, --token TOKEN\n                        Token to encrypt or decrypt.\n  -d, --decrypt         Decrypt.\n  -v, --verbose         Verbosity.\n```\n\n### Encrypt\n\nEncrypt clear text token `\u003ctoken\u003e` with key: `\u003ckey\u003e`:\n```sh\n~\u003e./ectoken.py -k MY_SECRET_KEY -t MY_COOL_TOKEN\n26oBaqCbdLyJD5RjsHBYGsIDQGOehPo2rZfGwGey-ubhciakzPwRIdQ\n```\n\n### Decrypt\n\nDecrypt ciphertext token `\u003ctoken\u003e` with key: `\u003ckey\u003e`:\n```sh\n~\u003e./ectoken.py -k MY_SECRET_KEY -t '26oBaqCbdLyJD5RjsHBYGsIDQGOehPo2rZfGwGey-ubhciakzPwRIdQ' -d\nMY_COOL_TOKEN\n```\n\n\n## Contribute\n\n- We welcome issues, questions and pull requests.\n\n\n## License\n\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgio%2Fpy-ectoken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgio%2Fpy-ectoken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgio%2Fpy-ectoken/lists"}