{"id":19900067,"url":"https://github.com/m-lab/access","last_synced_at":"2026-01-16T06:57:40.984Z","repository":{"id":38019224,"uuid":"246351219","full_name":"m-lab/access","owner":"m-lab","description":"Libraries and services for access control to the M-Lab platform","archived":false,"fork":false,"pushed_at":"2025-04-07T14:31:14.000Z","size":147,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-29T14:25:39.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-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":"2020-03-10T16:24:17.000Z","updated_at":"2025-04-07T14:31:18.000Z","dependencies_parsed_at":"2024-11-06T17:23:14.446Z","dependency_job_id":"2fd6c409-9365-4f68-8e64-5b39045b47d2","html_url":"https://github.com/m-lab/access","commit_stats":{"total_commits":38,"total_committers":5,"mean_commits":7.6,"dds":"0.26315789473684215","last_synced_commit":"16c7759751f8f96d046aaa76f61ac47e209d0916"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Faccess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Faccess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Faccess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Faccess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-lab","download_url":"https://codeload.github.com/m-lab/access/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252116482,"owners_count":21697391,"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-12T20:11:03.600Z","updated_at":"2026-01-16T06:57:40.972Z","avatar_url":"https://github.com/m-lab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Access Control\n\n[![godoc](https://godoc.org/github.com/m-lab/access?status.svg)](https://godoc.org/github.com/m-lab/access)\n[![go report card](https://goreportcard.com/badge/github.com/m-lab/access)](https://goreportcard.com/report/github.com/m-lab/access)\n\nLibraries and services for access control on the M-Lab platform.\n\n## Create JSON Web Keys\n\nThe `m-lab/access` package support JWK keys generated by `jwk-keygen`.\n\nCreate a signing key pair:\n\n```sh\ngo get gopkg.in/square/go-jose.v2/jwk-keygen\n~/bin/jwk-keygen --use=sig --alg=EdDSA --kid=1\n```\n\n## Access Envelope Service\n\nFor new services, we want to balance access to the platform with protecting\nplatform integrity and measurement quality.\n\nUntil a service supports access control natively, the [\"access envelope\"\nservice](cmd/envelope/README.md) accepts access tokens, validates them, and\nupon acceptance, adds an iptables rule granting the client IP time to run a\nmeasurement before removing the rule again after a timeout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Faccess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-lab%2Faccess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Faccess/lists"}