{"id":34114500,"url":"https://github.com/nathan-yan/otp_","last_synced_at":"2026-04-09T04:32:21.276Z","repository":{"id":57449835,"uuid":"143221560","full_name":"nathan-yan/otp_","owner":"nathan-yan","description":"A CLI one-time password application in Python that manages OTPs elegantly and with tons of customization.","archived":false,"fork":false,"pushed_at":"2018-08-03T07:21:51.000Z","size":43,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-12T21:14:15.726Z","etag":null,"topics":["2fa","cli","cli-utilities","command-line","command-line-interface","one-time-password","one-time-passwords","otp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathan-yan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-02T00:24:04.000Z","updated_at":"2020-11-28T15:32:27.000Z","dependencies_parsed_at":"2022-09-19T16:20:37.865Z","dependency_job_id":null,"html_url":"https://github.com/nathan-yan/otp_","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nathan-yan/otp_","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-yan%2Fotp_","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-yan%2Fotp_/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-yan%2Fotp_/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-yan%2Fotp_/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathan-yan","download_url":"https://codeload.github.com/nathan-yan/otp_/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-yan%2Fotp_/sbom","scorecard":{"id":675413,"data":{"date":"2025-08-11","repo":{"name":"github.com/nathan-yan/otp_","commit":"cdd5a83cd32966e1c2f139fac409b724f2c02208"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T21:17:17.183Z","repository_id":57449835,"created_at":"2025-08-21T21:17:17.183Z","updated_at":"2025-08-21T21:17:17.183Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31586403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["2fa","cli","cli-utilities","command-line","command-line-interface","one-time-password","one-time-passwords","otp"],"created_at":"2025-12-14T19:36:11.532Z","updated_at":"2026-04-09T04:32:21.268Z","avatar_url":"https://github.com/nathan-yan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align='center'\u003e\n  \u003cimg src = \"https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/__.png\"\u003e\n\u003c/p\u003e\n\n# OTP_\nA command line based one-time password manager that allows you to easily retreive and store one-time passwords. Secrets are stored using the operating system's keyring, so sensitive information is encrypted.\n![](https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/demo.gif)\n\n# Contents\n* [Installing](#installing)\n* [Commands](#commands)\n  * [Show](#show)\n  * [Write](#show)\n  * [Update](#update)\n  * [Delete](#delete)\n* [Dependencies](#dependencies) \n* [Future improvements](#future-improvements)\n\n# Installing\nInstallation is really simple, just run `pip install otp-cli` and you're ready to go! Alternatively, you can install the application by cloning the repository and running `python setup.py install` in the `src` directory.\n\nIf you're just testing locally, you can try it without installing by cloning the repository and running `python otp.py [OPTIONS]`.\n\n# Commands\n### Show\nThe show command shows a stored one-time password:\n\u003cp align='center'\u003e\n  \u003cimg src = \"https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/otp_show1.png\"/\u003e\n\u003c/p\u003e\n\nNames are case-insensitive to help prevent typos involving case. If you want to quickly get a one-time password for a secret, for testing or development purposes, just run `otp show --secret [SECRET]` to see its corresponding TOTP code.\n\nCodes are updated in real-time, and they are hidden upon exit (`CTRL-C` or `q`).\n\n### Write\nThe write command allows you to store new one-time passwords:\n\u003cp align='center'\u003e\n  \u003cimg src = \"https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/otp_write2.png\"\u003e\n\u003c/p\u003e\nMost of the features here roughly follow the Google Authenticator application, allowing you to store issuers and emails to distinguish multiple one-time passwords from the same website.\n\n### Update\nThe update command allows you to amend or change details of a one-time password. Changing the secret will prompt you to confirm, as it is a potentially dangerous action.\n\u003cp align='center'\u003e\n  \u003cimg src = \"https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/otp_update1.png\"\u003e\n\u003c/p\u003e\n\n### Delete\nThe delete command deletes saved one-time passwords:\n\u003cp align='center'\u003e\n  \u003cimg src = \"https://gradebook-space-1.nyc3.digitaloceanspaces.com/Miscellaneous/otp_delete1.png\"\u003e\n\u003c/p\u003e\n\n# Dependencies\nOTP_ is made in Python, and requires the following dependencies: \n\n1. click\u003e=6.7\n2. pyotp\u003e=2.2.6\n3. keyring\u003e=13.2.1\n4. colorama\u003e=0.3.9\n5. pyperclip\u003e=1.6.4\n\nAs of now, OTP_ works only on Python 3 and above, but I'm looking into getting it to work with older Python versions.\n\nPyperclip allows one-time passwords to be copy pasted to the clipboard for easy access. According to its documentation (https://pypi.org/project/pyperclip/), `xclip` should be installed for anyone using a Linux based operating system, by running `sudo apt-get install xclip`\n\n# Future Improvements\nHere are a list of things I'd like to add in future versions of this package.\n\n- [ ] Support for Python 2.\n- [ ] Support for counter based one-time passwords. \n- [ ] Support for different kinds of one-time passwords (different period, different number of digits, etc.)\n- [ ] Refactoring code and establishing best-practices.\n- [ ] Use a less fragile database for storing non-sensitive information like sqlite. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathan-yan%2Fotp_","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathan-yan%2Fotp_","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathan-yan%2Fotp_/lists"}