{"id":13555117,"url":"https://github.com/interledger-deprecated/passport-http-signature","last_synced_at":"2026-02-01T09:17:50.382Z","repository":{"id":57320163,"uuid":"45639272","full_name":"interledger-deprecated/passport-http-signature","owner":"interledger-deprecated","description":"passport strategy for HTTP signatures","archived":false,"fork":false,"pushed_at":"2015-11-18T21:17:50.000Z","size":9,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-08-18T23:28:07.722Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/interledger-deprecated.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-11-05T21:04:52.000Z","updated_at":"2019-08-07T19:15:46.000Z","dependencies_parsed_at":"2022-08-25T21:00:55.313Z","dependency_job_id":null,"html_url":"https://github.com/interledger-deprecated/passport-http-signature","commit_stats":null,"previous_names":["interledger/passport-http-signature"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/interledger-deprecated/passport-http-signature","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Fpassport-http-signature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Fpassport-http-signature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Fpassport-http-signature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Fpassport-http-signature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledger-deprecated","download_url":"https://codeload.github.com/interledger-deprecated/passport-http-signature/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Fpassport-http-signature/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28974589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-08-01T12:03:02.578Z","updated_at":"2026-02-01T09:17:50.355Z","avatar_url":"https://github.com/interledger-deprecated.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# passport-http-signature\n\n\u003e Passport strategy using HTTP Signatures\n\n[![NPM Version][npm-image]][npm-url]\n[![Linux Build][circle-image]][circle-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\n## Install\n\n```bash\nnpm install --save passport-http-signature\n```\n\n## Usage\n\n### Configure Strategy\n\n    passport.use(new HTTPSignatureStrategy(\n      function (username, done) {\n        User.findById(username, function(err, user) {\n          if (err) return done(err)\n          if (!user) return done()\n          done(null, user, user.public_key)\n        })\n      }))\n\n### Authenticate Requests\n\n    app.get('/private',\n      passport.authenticate('http-signature'),\n      function(req, res) {\n        res.json(req.user)\n      })\n\n## License\n\n[MIT](https://opensource.org/licenses/ISC)\n\n[npm-image]: https://img.shields.io/npm/v/passport-http-signature.svg\n[npm-url]: https://npmjs.org/package/passport-http-signature\n[circle-image]: https://img.shields.io/circleci/project/interledger/passport-http-signature.svg\n[circle-url]: https://circleci.com/gh/interledger/passport-http-signature\n[coveralls-image]: https://img.shields.io/coveralls/interledger/passport-http-signature/master.svg\n[coveralls-url]: https://coveralls.io/r/interledger/passport-http-signature?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Fpassport-http-signature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledger-deprecated%2Fpassport-http-signature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Fpassport-http-signature/lists"}