{"id":13896632,"url":"https://github.com/catwell/lua-http-digest","last_synced_at":"2025-10-29T11:48:55.899Z","repository":{"id":5620036,"uuid":"6827747","full_name":"catwell/lua-http-digest","owner":"catwell","description":"Client side HTTP Digest Authentication for Lua","archived":false,"fork":false,"pushed_at":"2025-10-09T07:51:43.000Z","size":46,"stargazers_count":18,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-11T18:37:29.653Z","etag":null,"topics":["http","http-digest","lua","luasocket"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/catwell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-23T13:25:56.000Z","updated_at":"2025-10-09T07:51:44.000Z","dependencies_parsed_at":"2023-01-13T13:37:29.815Z","dependency_job_id":null,"html_url":"https://github.com/catwell/lua-http-digest","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/catwell/lua-http-digest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Flua-http-digest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Flua-http-digest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Flua-http-digest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Flua-http-digest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catwell","download_url":"https://codeload.github.com/catwell/lua-http-digest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Flua-http-digest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281616642,"owners_count":26531918,"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-10-29T02:00:06.901Z","response_time":59,"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":["http","http-digest","lua","luasocket"],"created_at":"2024-08-06T18:03:03.015Z","updated_at":"2025-10-29T11:48:55.894Z","avatar_url":"https://github.com/catwell.png","language":"Lua","readme":"# http-digest\n\n![CI Status](https://github.com/catwell/lua-http-digest/actions/workflows/ci.yml/badge.svg?branch=master)\n\n## Presentation\n\nSmall implementation of HTTP Digest Authentication (client-side) in Lua that mimics the API of LuaSocket.\n\nOnly supports auth/MD5, no reuse of client nonce, pull requests welcome.\n\n## Dependencies\n\n- luasocket\n- md5\n\nTests require [cwtest](https://github.com/catwell/cwtest), a JSON parser and the availability of [httpbingo.org](http://httpbingo.org).\n\n## Usage\n\nSee [LuaSocket](http://w3.impa.br/~diego/software/luasocket/http.html)'s `http.request`. Credentials must be contained in the URL. Both the simple and generic interface are supported. Here is an example with the simple interface:\n\n```lua\nlocal http_digest = require \"http-digest\"\nlocal url = \"http://user:passwd@httpbingo.org/digest-auth/auth/user/passwd\"\nlocal b, c, h = http_digest.request(url)\n```\n\nSee the tests for more.\n\nOther compatible http clients (like Copas or LuaSec) can be used as well. To use another http client replace the default one:\n\n```lua\nlocal http_digest = require \"http-digest\"\nhttp_digest.http = require \"copas.http\"\n```\n\n## Contributors\n\n- Pierre Chapuis ([@catwell](https://github.com/catwell))\n- Alexey Melnichuk ([@moteus](https://github.com/moteus))\n- Thijs Schreijer ([@Tieske](https://github.com/Tieske))\n\n## Copyright\n\n- Copyright (c) 2012-2013 Moodstocks SAS\n- Copyright (c) since 2014 Pierre Chapuis\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatwell%2Flua-http-digest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatwell%2Flua-http-digest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatwell%2Flua-http-digest/lists"}