{"id":17163670,"url":"https://github.com/cyberdelia/sequel-password","last_synced_at":"2025-09-05T07:43:58.790Z","repository":{"id":29850703,"uuid":"33395557","full_name":"cyberdelia/sequel-password","owner":"cyberdelia","description":"Sequel plugins to handle password hashing","archived":false,"fork":false,"pushed_at":"2018-01-14T22:23:08.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T05:03:07.441Z","etag":null,"topics":["password","sequel","sequel-plugin"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/sequel_password","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyberdelia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-04T05:38:14.000Z","updated_at":"2019-02-08T20:47:13.000Z","dependencies_parsed_at":"2022-09-06T11:22:00.762Z","dependency_job_id":null,"html_url":"https://github.com/cyberdelia/sequel-password","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cyberdelia/sequel-password","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdelia%2Fsequel-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdelia%2Fsequel-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdelia%2Fsequel-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdelia%2Fsequel-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberdelia","download_url":"https://codeload.github.com/cyberdelia/sequel-password/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberdelia%2Fsequel-password/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273728131,"owners_count":25157136,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":["password","sequel","sequel-plugin"],"created_at":"2024-10-14T22:49:44.543Z","updated_at":"2025-09-05T07:43:53.766Z","avatar_url":"https://github.com/cyberdelia.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sequel password\n\nThis sequel plugin adds authentication and password hashing to Sequel models.\nIt supports pbkdf2 and bcrypt hashers.\n\n## Installation\n\nInstall it directly using gem:\n\n```\ngem install sequel_password\n```\n\nOr adding it to your ``Gemfile``:\n\n```\ngem \"sequel_password\"\n```\n\n##  Usage\n\n### Configure\n\nA straightforward example, using the password column for storage explicitely,\nand using the default hashers:\n\n```ruby\nclass User \u003c Sequel::Model\n  plugin :password, column: :password\nend\n```\n\nYou can also specify a custom list of hashers to be used. The first hashers will\nbe considered as the default, choose carefully:\n\n```ruby\nclass User \u003c Sequel::Model\n  plugin :password, hashers: {\n    pbkdf2_sha256: PBKDF2Hasher.new,\n    bcrypt_sha256: BCryptSHA256Hasher.new\n  }\nend\n```\n\n### Authenticate\n\nTo authenticate users with their given plain text password:\n\n```ruby\nuser = User[email: email]\nuser \u0026\u0026 user.authenticate(password)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberdelia%2Fsequel-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberdelia%2Fsequel-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberdelia%2Fsequel-password/lists"}