{"id":26430378,"url":"https://github.com/sdalu/easy-password","last_synced_at":"2026-04-28T13:39:44.345Z","repository":{"id":59153133,"uuid":"371302160","full_name":"sdalu/easy-password","owner":"sdalu","description":"Password generator, checker, hasher","archived":false,"fork":false,"pushed_at":"2024-09-05T13:41:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T04:51:00.811Z","etag":null,"topics":["password","password-generator","password-strength","ruby"],"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/sdalu.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,"zenodo":null}},"created_at":"2021-05-27T08:31:56.000Z","updated_at":"2024-09-05T13:40:34.000Z","dependencies_parsed_at":"2025-06-17T12:35:00.932Z","dependency_job_id":"cdc742f2-b0cf-48d3-91bb-94ce5d44ff72","html_url":"https://github.com/sdalu/easy-password","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sdalu/easy-password","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Feasy-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Feasy-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Feasy-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Feasy-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdalu","download_url":"https://codeload.github.com/sdalu/easy-password/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Feasy-password/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32383784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["password","password-generator","password-strength","ruby"],"created_at":"2025-03-18T05:19:51.844Z","updated_at":"2026-04-28T13:39:44.328Z","avatar_url":"https://github.com/sdalu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"easy-password\n=============\nPassword generator, checker, hasher\n\n\nExamples\n========\n\nAdding a simple password generator and using it by default:\n\n~~~ruby\n# Generate 10 random alphanumeric characters\nEasyPassword.generator :random10 do\n  SecureRandom.alphanumeric(10)\nend\n\n# Define the default generator\nEasyPassword.default_generator = :random10\n~~~\n\n\nAdding a checker\n\n~~~ruby\n# Implementing classic at least 1 lowercase, 1 upercase, 1 digit\nEasyPassword.checker :aA1 do |password, all|\n  list = { /\\d/    =\u003e :digit_needed,\n           /[A-Z]/ =\u003e :upercase_needed,\n           /[a-z]/ =\u003e :lowercase_needed,\n         }.lazy.map {|regex, failure| failure if password !~ regex }\n               .reject(\u0026:nil?)\n  all ? list.to_a : list.first\nend\n\n# Looking for known bad passwords in a database (using Sequel)\nPassword.checker :hack_dictionary do |password, all|\n  ! DB[:bad_passwords].first(:password =\u003e password).nil?\nend\n~~~\n\nCreating password\n\n~~~ruby\npassword = EasyPassword.new\npassword = EasyPassword.new('foobar')\n~~~\n\nChecking for weakness\n\n~~~ruby\npassword.weakness\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdalu%2Feasy-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdalu%2Feasy-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdalu%2Feasy-password/lists"}