{"id":23177636,"url":"https://github.com/fgsch/libvmod-crypto","last_synced_at":"2025-07-20T15:03:04.267Z","repository":{"id":79965277,"uuid":"50450954","full_name":"fgsch/libvmod-crypto","owner":"fgsch","description":"A Varnish 4 and 5 VMOD to compute message digests and keyed-hash message authentication codes (HMAC).","archived":false,"fork":false,"pushed_at":"2017-04-08T01:17:43.000Z","size":22,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T03:31:50.098Z","etag":null,"topics":["c","crypto","module","varnish","vmod"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgsch.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":"2016-01-26T18:49:55.000Z","updated_at":"2017-10-13T12:45:03.000Z","dependencies_parsed_at":"2023-05-24T16:30:18.181Z","dependency_job_id":null,"html_url":"https://github.com/fgsch/libvmod-crypto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fgsch/libvmod-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgsch%2Flibvmod-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgsch%2Flibvmod-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgsch%2Flibvmod-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgsch%2Flibvmod-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgsch","download_url":"https://codeload.github.com/fgsch/libvmod-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgsch%2Flibvmod-crypto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266143941,"owners_count":23883069,"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":["c","crypto","module","varnish","vmod"],"created_at":"2024-12-18T06:35:57.038Z","updated_at":"2025-07-20T15:03:04.249Z","avatar_url":"https://github.com/fgsch.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"libvmod-crypto\n==============\n\n[![Join the chat at https://gitter.im/fgsch/libvmod-crypto](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/fgsch/libvmod-crypto?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build Status](https://travis-ci.org/fgsch/libvmod-crypto.svg?branch=master)](https://travis-ci.org/fgsch/libvmod-crypto)\n\n## About\n\nA Varnish 4 and 5 VMOD to compute message digests and keyed-hash message\nauthentication codes (HMAC).\n\nFor Varnish master refer to the devel branch.\n\n## Requirements\n\nTo build this VMOD you will need:\n\n* make\n* a C compiler, e.g. GCC or clang\n* pkg-config\n* python-docutils or docutils in macOS [1]\n* libvarnishapi-dev in Debian/Ubuntu, varnish-libs-devel in\n  CentOS/RedHat or varnish in macOS [1]\n* libssl-dev in Debian/Ubuntu, openssl-devel in CentOS/RedHat or\n  openssl in macOS [1]\n\nIf you are building from Git, you will also need:\n\n* autoconf\n* automake\n* libtool\n\nIn addition, to run the tests you will need:\n\n* varnish\n\nIf varnish is installed in a non-standard prefix you will also need\nto set `PKG_CONFIG_PATH` to the directory where **varnishapi.pc** is\nlocated before running `autogen.sh` and `configure`.  For example:\n\n```\nexport PKG_CONFIG_PATH=/usr/local/lib/pkgconfig\n```\n\n## Installation\n\n### From a tarball\n\nTo install this VMOD, run the following commands:\n\n```\n./configure\nmake\nmake check\nsudo make install\n```\n\nThe `make check` step is optional but it's good to know whether the\ntests are passing on your platform.\n\n### From the Git repository\n\nTo install from Git, clone this repository by running:\n\n```\ngit clone https://github.com/fgsch/libvmod-crypto\n```\n\nAnd then run `./autogen.sh` followed by the instructions above for\ninstalling from a tarball.\n\n## Example\n\n```\nimport crypto;\n\nsub vcl_recv {\n\tif (crypto.hmac_sha256(\"secret\",\n\t    req.http.host + req.url + req.http.timestamp) != req.http.hmac) {\n\t\treturn (synth(401));\n\t}\n}\n```\n\n## License\n\nThis VMOD is licensed under BSD license. See LICENSE for details.\n\n### Note\n\n1. Using Homebrew, https://github.com/Homebrew/brew/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgsch%2Flibvmod-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgsch%2Flibvmod-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgsch%2Flibvmod-crypto/lists"}