{"id":16221529,"url":"https://github.com/quininer/ttyaskpass","last_synced_at":"2025-10-18T03:33:03.813Z","repository":{"id":57670743,"uuid":"51710739","full_name":"quininer/ttyaskpass","owner":"quininer","description":"a safely passphrase prompt library and application.","archived":false,"fork":false,"pushed_at":"2019-10-05T07:06:52.000Z","size":80,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T06:35:48.662Z","etag":null,"topics":["askpass","getpass","pass","passphrase","prompt","rust"],"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/quininer.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":"2016-02-14T19:57:30.000Z","updated_at":"2022-04-16T18:47:36.000Z","dependencies_parsed_at":"2022-09-26T20:41:18.215Z","dependency_job_id":null,"html_url":"https://github.com/quininer/ttyaskpass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quininer%2Fttyaskpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quininer%2Fttyaskpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quininer%2Fttyaskpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quininer%2Fttyaskpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quininer","download_url":"https://codeload.github.com/quininer/ttyaskpass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244416933,"owners_count":20449366,"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":["askpass","getpass","pass","passphrase","prompt","rust"],"created_at":"2024-10-10T12:08:33.929Z","updated_at":"2025-10-18T03:32:58.778Z","avatar_url":"https://github.com/quininer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ttyaskpass\n[![travis-ci](https://travis-ci.org/quininer/ttyaskpass.svg?branch=master)](https://travis-ci.org/quininer/ttyaskpass)\n[![crates](https://img.shields.io/crates/v/ttyaskpass.svg)](https://crates.io/crates/ttyaskpass)\n[![license](https://img.shields.io/github/license/quininer/ttyaskpass.svg)](https://github.com/quininer/ttyaskpass/blob/master/LICENSE)\n[![docs.rs](https://docs.rs/ttyaskpass/badge.svg)](https://docs.rs/ttyaskpass/)\n\n![ttyaskpass](ttyaskpass.png)\n\nA safely passphrase prompt library and application,\nsupport [Chroma-Hash](https://github.com/mattt/Chroma-Hash/)-like colorhash.\n\nusage\n-----\n\nlibrary:\n\n```rust\nuse std::io::{ self, Write };\nuse ttyaskpass::AskPass;\n\n\nfn main() -\u003e io::Result\u003c()\u003e {\n    let mut cli = AskPass::new([0; 32]);\n    let pass = cli.askpass(\"Password:\")?;\n\n    let mut stdout = io::stdout();\n    write!(\u0026mut stdout, \"Your password is \")?;\n    stdout.write_all(pass)?;\n    stdout.flush()?;\n\n    Ok(())\n}\n```\n\nsee [readme.rs](examples/readme.rs) and [ttyaskpass.rs](src/bin/ttyaskpass.rs).\n\n\napplication:\n\n```bash\nenv SSH_ASKPASS=ttyaskpass ssh-add \u003c/dev/null\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquininer%2Fttyaskpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquininer%2Fttyaskpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquininer%2Fttyaskpass/lists"}