{"id":15452178,"url":"https://github.com/cryptix/jwtauth","last_synced_at":"2026-01-14T19:18:08.327Z","repository":{"id":17296640,"uuid":"20067053","full_name":"cryptix/jwtAuth","owner":"cryptix","description":"Some simple Handlers and Helpers to use JSON Web Tokens for go http stuff.","archived":true,"fork":false,"pushed_at":"2014-12-03T09:52:36.000Z","size":188,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T07:11:52.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/cryptix.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}},"created_at":"2014-05-22T15:47:15.000Z","updated_at":"2025-01-21T09:13:37.000Z","dependencies_parsed_at":"2022-08-25T10:50:17.344Z","dependency_job_id":null,"html_url":"https://github.com/cryptix/jwtAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cryptix/jwtAuth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptix%2FjwtAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptix%2FjwtAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptix%2FjwtAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptix%2FjwtAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptix","download_url":"https://codeload.github.com/cryptix/jwtAuth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptix%2FjwtAuth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28432204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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-10-01T21:41:30.012Z","updated_at":"2026-01-14T19:18:08.310Z","avatar_url":"https://github.com/cryptix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"jwtAuth\n=======\n[![GoDoc](https://godoc.org/github.com/cryptix/jwtAuth?status.svg)](https://godoc.org/github.com/cryptix/jwtAuth)\n[![Build Status](https://travis-ci.org/cryptix/jwtAuth.png?branch=master)](https://travis-ci.org/cryptix/jwtAuth)\n\nSome simple Handlers and Helpers to use [jwt-go](https://github.com/dgrijalva/jwt-go) for go http stuff.\n\nCurrently only `RS256` is supported. If you have need/ideas for key schemes to use `HS256`, contact me or open a PR.\n\n\n\n## Working\n* `MakeToken` for creating signed tokens\n* `VerifyHeader` to check if a key is valid\n\n## TODO\n* Make simple Handler to resign a token (extend its valdity)\n* Tests MakeToken\n\n\n## How to get Keys\n```\nopenssl genrsa -out app.rsa \u003ckeysize\u003e # i'd suggest 4096\nopenssl rsa -in app.rsa -pubout \u003e app.rsa.pub\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptix%2Fjwtauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptix%2Fjwtauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptix%2Fjwtauth/lists"}