{"id":19796520,"url":"https://github.com/frohoff/pwdagent","last_synced_at":"2026-06-11T19:31:16.032Z","repository":{"id":33996323,"uuid":"37750149","full_name":"frohoff/pwdagent","owner":"frohoff","description":"A barebones CLI utility to prompt for and cache a password in memory, then hand it out over HTTP or raw TCP","archived":false,"fork":false,"pushed_at":"2015-06-19T23:11:00.000Z","size":104,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T16:11:57.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/frohoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T23:10:31.000Z","updated_at":"2023-01-10T03:16:10.000Z","dependencies_parsed_at":"2022-07-13T22:43:06.823Z","dependency_job_id":null,"html_url":"https://github.com/frohoff/pwdagent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frohoff/pwdagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frohoff%2Fpwdagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frohoff%2Fpwdagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frohoff%2Fpwdagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frohoff%2Fpwdagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frohoff","download_url":"https://codeload.github.com/frohoff/pwdagent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frohoff%2Fpwdagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2024-11-12T07:19:55.963Z","updated_at":"2026-06-11T19:31:15.952Z","avatar_url":"https://github.com/frohoff.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"PwdAgent\n=========\nA barebones CLI utility to prompt for and cache a password in memory, then hand it out over HTTP or raw TCP. \n\nDISCLAIMER: This program is only intended for use in local application development to avoid putting passwords on disk or prompting on every application startup. DO NOT use it for non-local/production systems!\n\n```bash\n$ pwdagent -p 6666 -s opensesame\nPassword: [supersecretpassword]\nlistening on http://127.0.0.1:6666/opensesame\n\n$ curl localhost:6666/opensesame\nsupersecretpassword\n```\n\nInstallation \u0026 Setup\n------------\nusing git, bundle, and rake (assumes they've already been installed; may require root/sudo depending on rubygems config)\n\n```bash\n$ git clone [git-url]\n$ cd [project]\n$ bundle install\n$ bundle exec rake install\n```\n\nOR using out-of-band (i.e. email) distributed gem binary:\n\n```bash\n$ gem install [project]-[version].gem\n```\n\nOR using https://github.com/rdp/specific_install:\n\n```bash \n# only needed the first time\n$ gem install specific_install\n\n$ gem specific_install -l [git-url]\n```\n\nUsage\n---------\n```bash\n$ pwdagent -h\nusage: /home/cfrohoff/bin/pwdagent [options]\n    -h, --help\n    -v, --verbose\n    -t, --tcp       use raw TCP connection instead of HTTP\n    -p, --port      TCP port to listen on\n    -H, --hostname  TCP hostname to listen on\n    -s, --secret    secret string to require before sending password\n```\n\nExample Usage\n---------\n```bash\n$ pwdagent -p 6666\nPassword: [supersecretpassword]\n\n$ curl localhost:6666\nsupersecretpassword\n\n$ pwdagent -p 6666 -s opensesame\nPassword: [supersecretpassword]\nlistening on http://127.0.0.1:6666/opensesame\n\n$ curl localhost:6666/opensesame\nsupersecretpassword\n\n$ pwdagent -t -p 6666\nPassword: [supersecretpassword]\n\n$ nc localhost 6666\nsupersecretpassword\n\npwdagent -t -p 6666\nPassword: [supersecretpassword]\nlistening on 127.0.0.1:6666 with secret 'opensesame'\n\n$ echo -n \"opensesame\" | nc localhost 6666\nsupersecretpassword\n```\n\nDevelopment\n----------------\n```bash\n$ bundle install # install dependencies\n\n$ bundle exec ruby -Ilib bin/pwdagent [options] # run from exploded dir\n\n$ gem build pwdagent.gemspec # build gem file\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrohoff%2Fpwdagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrohoff%2Fpwdagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrohoff%2Fpwdagent/lists"}