{"id":19872276,"url":"https://github.com/richhaar/genpass","last_synced_at":"2026-05-25T16:31:47.535Z","repository":{"id":30860864,"uuid":"34418419","full_name":"richhaar/genpass","owner":"richhaar","description":"A Unix password generator, encrypting passwords locally with Java's AES/CBC/PKCS5Padding mode.","archived":false,"fork":false,"pushed_at":"2015-05-04T23:20:13.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T19:44:15.671Z","etag":null,"topics":["clojure","encryption","encryption-decryption","password-generator","password-manager"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richhaar.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":"2015-04-22T22:03:36.000Z","updated_at":"2021-11-26T15:19:57.000Z","dependencies_parsed_at":"2022-09-12T03:11:55.204Z","dependency_job_id":null,"html_url":"https://github.com/richhaar/genpass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/richhaar/genpass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richhaar%2Fgenpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richhaar%2Fgenpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richhaar%2Fgenpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richhaar%2Fgenpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richhaar","download_url":"https://codeload.github.com/richhaar/genpass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richhaar%2Fgenpass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33483819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"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":["clojure","encryption","encryption-decryption","password-generator","password-manager"],"created_at":"2024-11-12T16:15:00.961Z","updated_at":"2026-05-25T16:31:47.513Z","avatar_url":"https://github.com/richhaar.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genpass\n\nA Unix password generator, storing the encrypted passwords locally. Passwords are encrypted with Java's AES/CBC/PKCS5Padding mode via the `[lock-key \"1.1.0\"]` clojar.\n\nWritten with Clojure and managed with Leiningen.\n\n## Installation\n\nDownload the repo.\n\n## Usage\n\nCreate a jar with leiningen. You can run the jar as follows:\n\n    $ java -jar genpass-0.1.0-standalone.jar [options] action [login]\n\n\n###### Actions:\n       gen \u003clogin\u003e      Generate a new password\n\n       get \u003clogin\u003e      Get a password\n\n       rem \u003clogin\u003e      Remove a user:password mapping\n\n       list             List all users\n\n       changepw         Change the encryption password\n\n\n## Options\n\n-l      Password length         e.g. -l30       (default 20)\n\n-t      Clipboard timeout (ms)  e.g. -t1000     (default 8000)\n\n-v      Verbosity of encryption e.g. -v, -vv, -vvv\n\n-h      Show help\n\n-s      Show password to stdout\n\nHow many verbose (-v) flags determine what sets of characters to use for encryption. With no flags the password will consist of uppers. With one flag (-v) the password could contain  uppers and lowers. And (-vv) will include nums into the previous level, and (-vvv) including special characters.\n\n## Examples\n\nThe following demonstrates generating a password for `mywebsite` and retrieving it.\n\n```\n   $ java -jar genpass-0.1.0-SNAPSHOT-standalone.jar gen mywebsite -l25 -vvv -t3000\n   $ enter password\u003e\n   $ Copied to clipboard\n\n   $ java -jar genpass-0.1.0-SNAPSHOT-standalone.jar get mywebsite\n   $ enter password\u003e\n   $ Copied to clipboard\n\n   $ java -jar genpass-0.1.0-SNAPSHOT-standalone.jar list\n   $ enter password\u003e\n   $ {\"mywebsite\" \"mwyMTA9Jo(xaV0%)NCv3\"}\n\n   $ java -jar genpass-0.1.0-SNAPSHOT-standalone.jar get -s mywebsite\n   $ enter password\u003e\n   $ mwyMTA9Jo(xaV0%)NCv3\n\n   $ java -jar genpass-0.1.0-SNAPSHOT-standalone.jar rem mywebsite\n   $ enter password\u003e\n   $ User removed\n```\n\nTo re-generate a password just call gen with the same login. To make the command easier, add an alias for each command.\n\n###\n\nTo block java from taking focus, add the following flag to java when launching the jar.\n\n```\n        $ java -Dapple.awt.UIElement=true -jar ... \n```\n\n### Local password encryption\n\nBy default, it will generate a .genpass file in your homedirectory (if it doesn't exist). It will encrypt it's contents (With  with a supplied password) using symmetric encryption in AES/CBC/PKCS5Padding mode. If you are sharing the machine, be sure to chmod the .genpass file to allow only the owner (you) read and write permission.\n\nUn-encrypted contents are stored in a CSV format i.e (login1,randpass1\\nlogin2randpass2\\n).\n\n### Pasting to clipboard\n\nIt is possible for the clipboard to be read by unwanted programs, therefore the clipboard is cleared after the specified time (default 8 seconds after a get/set call). It is also possible to disable clipboard reading in certain browsers such as Firefox.\n \n\n## License\n\nCopyright © 2015 Richard Haar\n\nDistributed under the Eclipse Public License version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichhaar%2Fgenpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichhaar%2Fgenpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichhaar%2Fgenpass/lists"}