{"id":19864151,"url":"https://github.com/sr-lab/verified-pam-cracklib","last_synced_at":"2025-08-24T04:19:18.727Z","repository":{"id":75386406,"uuid":"82292192","full_name":"sr-lab/verified-pam-cracklib","owner":"sr-lab","description":"A verified rewrite of the PAM cracklib module.","archived":false,"fork":false,"pushed_at":"2018-05-23T22:24:06.000Z","size":156,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-12T14:48:31.264Z","etag":null,"topics":["cracklib","ffi","pam-module","security","verification"],"latest_commit_sha":null,"homepage":null,"language":"Coq","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sr-lab.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}},"created_at":"2017-02-17T11:46:16.000Z","updated_at":"2023-05-15T17:34:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"d876f415-ac82-421a-81bc-e015ed62a1a1","html_url":"https://github.com/sr-lab/verified-pam-cracklib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sr-lab/verified-pam-cracklib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fverified-pam-cracklib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fverified-pam-cracklib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fverified-pam-cracklib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fverified-pam-cracklib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sr-lab","download_url":"https://codeload.github.com/sr-lab/verified-pam-cracklib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fverified-pam-cracklib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271790619,"owners_count":24821633,"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-08-24T02:00:11.135Z","response_time":111,"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":["cracklib","ffi","pam-module","security","verification"],"created_at":"2024-11-12T15:17:38.348Z","updated_at":"2025-08-24T04:19:18.711Z","avatar_url":"https://github.com/sr-lab.png","language":"Coq","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verified PAM Password Checker Toolkit\n\nA toolset for defining and building verified PAM modules for password checking.\n\n## Getting Started\n\nYou'll need a fairly particular system setup to compile this project. It's far easier to use [this Vagrant environment](https://github.com/sr-lab/verified-pam-environment) and be assured that it contains everything you need. Alternatively, run [the provisioning script included](https://github.com/sr-lab/verified-pam-environment/blob/master/provision.sh) alongside the Vagrant box on a clean install of Ubuntu 16.04.\n\n### Prerequisites\n\nThis project's main dependencies are on Coq and GHC (the Glasgow Haskell Compiler) but several smaller libraries are required including `libpam` and `libcrack2`. The `expect` interactive script automation environment is required to run the evaluation scripts. You'll need:\n\n* Coq v8.6\n* GHC\n* The following `apt` library packages:\n    + `libpam0g-dev`\n\t+ `libpam-cracklib`\n\t+ `libcrack2-dev`\n* Expect (for evaluation scripts)\n\nOnce again, take a look at [the provisioning script included](https://github.com/sr-lab/verified-pam-environment/blob/master/provision.sh) or use [the Vagrant box](https://github.com/sr-lab/verified-pam-environment) if in doubt.\n\n### Installing\n\nBuild the module by navigating to the `src` directory and calling `make`. On successful build, type `sudo make install`.\n\n```bash\ncd src\nmake\nsudo make install\n```\n\nTo activate the module (that is, configure your `passwd` utility to use it), type `sudo make activate`\n\n```bash\nsudo make activate\n```\n\nThis will modify your `/etc/pam.d/common-password` file to use the __verified__ module as the password quality checker during password changes using the `passwd` utility. To switch back to the default `pam_cracklib` implementation, use `sudo make deactivate`.\n\n```bash\nsudo make deactivate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-lab%2Fverified-pam-cracklib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsr-lab%2Fverified-pam-cracklib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-lab%2Fverified-pam-cracklib/lists"}