{"id":13471393,"url":"https://github.com/matelang/jwt-go-aws-kms","last_synced_at":"2026-01-28T20:27:32.764Z","repository":{"id":48665806,"uuid":"357897188","full_name":"matelang/jwt-go-aws-kms","owner":"matelang","description":"AWS KMS adapter for https://github.com/golang-jwt/jwt GoLang Json Web Token(JWT) Library","archived":false,"fork":false,"pushed_at":"2026-01-12T11:55:19.000Z","size":103,"stargazers_count":33,"open_issues_count":1,"forks_count":18,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T19:24:14.445Z","etag":null,"topics":["aws","golang","jwt","kms"],"latest_commit_sha":null,"homepage":"","language":"Go","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/matelang.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-14T12:27:16.000Z","updated_at":"2026-01-12T11:55:21.000Z","dependencies_parsed_at":"2024-04-15T15:18:56.167Z","dependency_job_id":"f295b98f-8518-4b2a-bd93-ed9a1fedf8bf","html_url":"https://github.com/matelang/jwt-go-aws-kms","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/matelang/jwt-go-aws-kms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matelang%2Fjwt-go-aws-kms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matelang%2Fjwt-go-aws-kms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matelang%2Fjwt-go-aws-kms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matelang%2Fjwt-go-aws-kms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matelang","download_url":"https://codeload.github.com/matelang/jwt-go-aws-kms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matelang%2Fjwt-go-aws-kms/sbom","scorecard":{"id":623543,"data":{"date":"2025-08-11","repo":{"name":"github.com/matelang/jwt-go-aws-kms","commit":"350b17e17d9fdebebd642ab494a42e459e2612b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/matelang/jwt-go-aws-kms/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/matelang/jwt-go-aws-kms/go.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T05:46:01.738Z","repository_id":48665806,"created_at":"2025-08-21T05:46:01.738Z","updated_at":"2025-08-21T05:46:01.738Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: 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":["aws","golang","jwt","kms"],"created_at":"2024-07-31T16:00:44.268Z","updated_at":"2026-01-28T20:27:32.751Z","avatar_url":"https://github.com/matelang.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# AWS KMS adapter for golang-jwt/jwt-go library\nThis library provides an AWS KMS(Key Management Service) adapter to be used with the popular GoLang JWT library\n[golang-jwt/jwt-go](https://github.com/golang-jwt/jwt).\n\nIt will *Sign* a JWT token using an asymmetric key stored in AWS KMS.\n\nVerification can be done both using KMS *Verify* method or locally with a cached public key (default).\n\n# Supported key types\n| Signature Algorithm       | JWT `alg` | Note                              |\n|---------------------------|-----------|-----------------------------------|\n| ECC_NIST_P256             | ES256     |                                   |\n| ECC_NIST_P384             | ES384     |                                   |\n| ECC_NIST_P521             | ES512     |                                   |\n| ECC_SECG_P256K1           | -         | secp256k1 is not supported by JWT |\n| RSASSA_PKCS1_V1_5_SHA_256 | RS256     |                                   |\n| RSASSA_PKCS1_V1_5_SHA_384 | RS384     |                                   |\n| RSASSA_PKCS1_V1_5_SHA_512 | RS512     |                                   |\n| RSASSA_PSS_SHA_256        | PS256     |                                   |\n| RSASSA_PSS_SHA_384        | PS384     |                                   |\n| RSASSA_PSS_SHA_512        | PS512     |                                   |\n\n# Usage example\nSee [example.go](./example/example.go)\n\n## Special thanks\nShouting out to:\n\n* [dgrijalva](https://github.com/dgrijalva)\n\n  for the easy to extend GoLang JWT Library\n\n* [golang-jwt](https://github.com/golang-jwt)\n\n  for taking over the project from dgrijalva\n\n* [Mikael Gidmark](https://stackoverflow.com/users/300598/mikael-gidmark)\n\n  AWS KMS ECC returns the signature in DER-encoded object as defined by ANS X9.62–2005 as\n  mentioned [here](https://stackoverflow.com/a/66205185/8195214)\n\n* [codelittinc](https://github.com/codelittinc)\n\n  for their DER to (R,S) and (R,S) to DER methods\n  found [here](https://github.com/codelittinc/gobitauth/blob/master/sign.go#L70)\n\n* [karalabe](https://github.com/karalabe)\n\n  for reviewing my code\n  \n* [gkelly](https://github.com/gkelly)\n\n  for various contributions especially around the library's unit testability\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatelang%2Fjwt-go-aws-kms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatelang%2Fjwt-go-aws-kms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatelang%2Fjwt-go-aws-kms/lists"}