{"id":17114793,"url":"https://github.com/jakeswenson/otpcli","last_synced_at":"2026-02-26T09:38:50.615Z","repository":{"id":35014990,"uuid":"146017041","full_name":"jakeswenson/otpcli","owner":"jakeswenson","description":"A TOTP code generator for the CLI that securely stores secrets in the keychain","archived":false,"fork":false,"pushed_at":"2024-05-16T17:46:58.000Z","size":198,"stargazers_count":8,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T19:44:03.698Z","etag":null,"topics":["cli","totp","totp-cli","totp-codes","totp-generator","totp-tokens"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jakeswenson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-24T16:48:36.000Z","updated_at":"2023-09-02T20:25:22.000Z","dependencies_parsed_at":"2024-11-07T18:04:16.511Z","dependency_job_id":"f5f85b57-b535-4c78-9d4f-1f79d231639b","html_url":"https://github.com/jakeswenson/otpcli","commit_stats":{"total_commits":181,"total_committers":4,"mean_commits":45.25,"dds":0.2762430939226519,"last_synced_commit":"c48c2a82e3f7398fc2b7a773b8d96c3c74671833"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/jakeswenson/otpcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeswenson%2Fotpcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeswenson%2Fotpcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeswenson%2Fotpcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeswenson%2Fotpcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakeswenson","download_url":"https://codeload.github.com/jakeswenson/otpcli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeswenson%2Fotpcli/sbom","scorecard":{"id":502683,"data":{"date":"2025-08-11","repo":{"name":"github.com/jakeswenson/otpcli","commit":"c48c2a82e3f7398fc2b7a773b8d96c3c74671833"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/jakeswenson/otpcli/release.yaml/master?enable=pin","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"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":"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":"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":"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":"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"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/jakeswenson/otpcli/releases/28967349","Warn: release artifact v0.5.5 not signed: https://api.github.com/repos/jakeswenson/otpcli/releases/28939577","Warn: release artifact v0.5.5-beta.1 not signed: https://api.github.com/repos/jakeswenson/otpcli/releases/26123765","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/jakeswenson/otpcli/releases/28967349","Warn: release artifact v0.5.5 does not have provenance: https://api.github.com/repos/jakeswenson/otpcli/releases/28939577","Warn: release artifact v0.5.5-beta.1 does not have provenance: https://api.github.com/repos/jakeswenson/otpcli/releases/26123765"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0060","Warn: Project is vulnerable to: RUSTSEC-2021-0059","Warn: Project is vulnerable to: RUSTSEC-2021-0139","Warn: Project is vulnerable to: RUSTSEC-2021-0145 / GHSA-g98v-hv3f-hcfr","Warn: Project is vulnerable to: RUSTSEC-2024-0375","Warn: Project is vulnerable to: RUSTSEC-2020-0057","Warn: Project is vulnerable to: RUSTSEC-2020-0159","Warn: Project is vulnerable to: RUSTSEC-2022-0056","Warn: Project is vulnerable to: RUSTSEC-2021-0064","Warn: Project is vulnerable to: RUSTSEC-2024-0370","Warn: Project is vulnerable to: RUSTSEC-2016-0005","Warn: Project is vulnerable to: RUSTSEC-2022-0011 / GHSA-jp3w-3q88-34cf","Warn: Project is vulnerable to: RUSTSEC-2022-0004 / GHSA-2226-4v3c-cff8","Warn: Project is vulnerable to: RUSTSEC-2025-0025","Warn: Project is vulnerable to: RUSTSEC-2020-0071 / GHSA-wcg3-cvx6-7396","Warn: Project is vulnerable to: RUSTSEC-2021-0019 / GHSA-2xpg-3hx4-fm9r / GHSA-3288-cwgw-ch86 / GHSA-3cj3-jrrp-9rxf / GHSA-mp6r-fgw2-rxfx","Warn: Project is vulnerable to: RUSTSEC-2020-0097 / GHSA-c8hq-x4mm-p6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T22:22:53.889Z","repository_id":35014990,"created_at":"2025-08-19T22:22:53.889Z","updated_at":"2025-08-19T22:22:53.889Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29855433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","totp","totp-cli","totp-codes","totp-generator","totp-tokens"],"created_at":"2024-10-14T17:20:20.457Z","updated_at":"2026-02-26T09:38:50.585Z","avatar_url":"https://github.com/jakeswenson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OTP Cli\n[![Crates.io](https://img.shields.io/crates/v/otpcli.svg?style=for-the-badge)](https://crates.io/crates/otpcli)\n[![Build Status](https://img.shields.io/github/workflow/status/jakeswenson/otpcli/Build?style=for-the-badge)](https://github.com/jakeswenson/otpcli/actions?query=workflow%3ABuild)\n\nA one time password library and CLI tool for generating time-based one time passwords.\nAlso supports RSA Secure tokens (using the rust stoken library)\n\n## Installing\nYou can install with `cargo`\n\n```bash\ncargo install otpcli\n```\n\n## Features\n- **[DEFAULT]** `copy`: build with copy to [clipboard](https://crates.io/crates/clipboard) support. Adds a `--copy` cli option.\n- **[DEFAULT]** `keychain`: build with secure secret storage support using [`keyring`](https://crates.io/crates/keyring).\n- `rsa_stoken`: add in `stoken` support using the stoken crate.\n\nThe `copy` feature uses [clipboard](https://crates.io/crates/clipboard) \nand that requires a X11 on linux to access the clipboard\n\n## CLI\n\n```bash\nA simple one-time-password CLI, with support for TOTP and STOKEN.\n\nUSAGE:\n    otpcli [FLAGS] [name] [SUBCOMMAND]\n\nFLAGS:\n        --copy       Copies the generated token to the clipboard\n    -n, --newline    Adds a newline printed at the end out output\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n    -v, --verbose\n\nARGS:\n    \u003cname\u003e    The name of the totp token to generate\n\nSUBCOMMANDS:\n    add                    Add/Update a new TOTP secret\n    delete                 Add/Update a new TOTP secret\n    generate               Generate a token\n    help                   Prints this message or the help of the given subcommand(s)\n    import                 Import an RSAToken into otpcli (if built with the stoken flag)\n    list                   Add/Update a new TOTP secret\n    migrate-to-keychain    Migrate secrets stored in the config to be stored in the keychain\n```\n\n# Release process\n\nReleases of `otpcli` are fully automated using GitHub Actions and initiated from [`cargo-release`](https://github.com/sunng87/cargo-release).\nTo trigger a new release, run `cargo release \u003cversion_change\u003e` where `\u003cversion_change\u003e` is one of the support `cargo release` options:\n- `alpha`\n- `beta`\n- `rc`\n- `patch`\n- `minor`\n- `major`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeswenson%2Fotpcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeswenson%2Fotpcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeswenson%2Fotpcli/lists"}