{"id":18709471,"url":"https://github.com/joemiller/r509-validity-cadb","last_synced_at":"2025-07-05T00:03:56.585Z","repository":{"id":23118961,"uuid":"26473508","full_name":"joemiller/r509-validity-cadb","owner":"joemiller","description":"A Validity::Checker for r509, implemented with an OpenSSL CA DB loader backend","archived":false,"fork":false,"pushed_at":"2017-12-22T16:00:37.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T12:51:52.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joemiller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-11T07:01:13.000Z","updated_at":"2017-12-22T16:00:34.000Z","dependencies_parsed_at":"2022-07-23T21:19:46.522Z","dependency_job_id":null,"html_url":"https://github.com/joemiller/r509-validity-cadb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joemiller/r509-validity-cadb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joemiller%2Fr509-validity-cadb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joemiller%2Fr509-validity-cadb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joemiller%2Fr509-validity-cadb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joemiller%2Fr509-validity-cadb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joemiller","download_url":"https://codeload.github.com/joemiller/r509-validity-cadb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joemiller%2Fr509-validity-cadb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263636782,"owners_count":23492302,"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","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-07T12:27:41.049Z","updated_at":"2025-07-05T00:03:56.543Z","avatar_url":"https://github.com/joemiller.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"r509-validity-cadb\n===================\n\n[![Build Status](https://travis-ci.org/joemiller/r509-validity-cadb.svg?branch=master)](https://travis-ci.org/joemiller/r509-validity-cadb) [![Coverage Status](https://coveralls.io/repos/joemiller/r509-validity-cadb/badge.png?branch=master)](https://coveralls.io/r/joemiller/r509-validity-cadb?branch=master)\n\nThis project is related to [r509](http://github.com/r509/r509) and\n[r509-ocsp-responder](http://github.com/r509/r509-ocsp-responder) projects. It\nprovides certificate validity and revocation information to be read from an\nOpenSSL CA DB file (sometimes 'index' file).\n\nBecause the CA DB file contains valid and revoked cert information, this allows\nthe responder to operate in \"known good\" -- responding either _VALID_,\n_REVOKED_, or _UNKNOWN_ approrpriately for each serial number.\n\nInstallation\n------------\n\nFirst, install `r509-ocsp-responder` gem from\n[r509-ocsp-responder](https://github.com/r509/r509-ocsp-responder)\n\nNext, install via rubygems `gem install r509-validity-cadb` or if you have\ncloned this repo install via `rake gem:build` and `rake gem:install`.\n\nUsage\n-----\n\nUsing the [config.ru](https://github.com/r509/r509-ocsp-responder#set-up-configru)\nfrom r509-ocsp-responder as a baseline, remove the redis configuration and\nreplace with this:\n\n```ruby\nrequire 'r509/validity/cadb'\ncadb_path = '/etc/ssl/index'\n\nDependo::Registry[:validity_checker] = R509::Validity::CADB::Checker.new(cadb_path)\n```\n\nThe `cadb_path` variable is a path to an OpenSSL CA DB file as defined in\n[OpenSSL CA DB format](http://pki-tutorial.readthedocs.org/en/latest/cadb.html).\n\nLimitations\n-----------\n\nOnly one CA DB file is supported at the moment.\n\nContributing\n------------\n\n1. Fork\n2. Make branch\n3. Add tests. `rake spec` to run test suite.\n4. Send PR\n\nCutting a release\n-----------------\n\n1. Ensure tests passwd: `rake spec`\n2. Bump version in `lib/r509/validity/cadb/version.rb`\n3. Create version tag `git tag v0.0.1` (don't forget to push tag)\n3. Build gem `rake gem:build`\n4. Push gem to rubygems.org `rake gem push`\n\nAuthor\n------\n\nJoe Miller, @miller_joe, joemiller(github)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoemiller%2Fr509-validity-cadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoemiller%2Fr509-validity-cadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoemiller%2Fr509-validity-cadb/lists"}