{"id":15162044,"url":"https://github.com/strideynet/spiffe-pinger","last_synced_at":"2026-03-08T06:32:08.312Z","repository":{"id":257538496,"uuid":"849870633","full_name":"strideynet/spiffe-pinger","owner":"strideynet","description":"Small utility for testing SPIFFE-powered gRPC and mTLS.","archived":false,"fork":false,"pushed_at":"2024-08-30T12:50:04.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T22:33:44.624Z","etag":null,"topics":["grpc","mtls","spiffe"],"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/strideynet.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":"2024-08-30T12:18:42.000Z","updated_at":"2024-08-30T12:49:44.000Z","dependencies_parsed_at":"2024-09-17T09:18:13.994Z","dependency_job_id":"62aa2d46-baeb-4716-b9b0-8680ea00e63e","html_url":"https://github.com/strideynet/spiffe-pinger","commit_stats":null,"previous_names":["strideynet/spiffe-pinger"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/strideynet/spiffe-pinger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strideynet%2Fspiffe-pinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strideynet%2Fspiffe-pinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strideynet%2Fspiffe-pinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strideynet%2Fspiffe-pinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strideynet","download_url":"https://codeload.github.com/strideynet/spiffe-pinger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strideynet%2Fspiffe-pinger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30247352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"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":["grpc","mtls","spiffe"],"created_at":"2024-09-27T01:04:14.651Z","updated_at":"2026-03-08T06:32:08.283Z","avatar_url":"https://github.com/strideynet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spiffe-pinger\n\nSmall utility for testing SPIFFE-powered gRPC and mTLS.\n\nThe service:\n\n- Connects to a SPIFFE Workload API to retrieve an X509 SVID\n- Spins up a gRPC server that listens on a TCP address, and is protected by TLS\n  using the X509 SVID\n- Spins up a loop that pings a gRPC server using the X509 SVID as a client\n  certificate\n\nIt requires three environment variables be set:\n\n- `SPIFFE_ENDPOINT_SOCKET`: The path to the SPIFFE Workload API socket.\n- `LISTEN`: The address to listen on for incoming gRPC connections.\n- `TARGET`: The address to connect to for outgoing gRPC connections.\n\nSpin up two of these and point them at one another e.g\n\n```shell\nSPIFFE_ENDPOINT_SOCKET=unix:///tmp/workload-socket-a.sock LISTEN=127.0.0.1:1338 TARGET=127.0.0.1:1337 go run ./main.go\n```\n\n```shell\nSPIFFE_ENDPOINT_SOCKET=unix:///tmp/workload-socket-b.sock LISTEN=127.0.0.1:1337 TARGET=127.0.0.1:1338 go run ./main.go\n```\n\nThe logs will indicate the identity of the service itself, and the identity of\nany client which connects to it:\n\n```shell\n2024/08/30 13:12:36 INFO Sent message me=spiffe://leaf.tele.ottr.sh/example component=client\n2024/08/30 13:12:37 INFO Received request me=spiffe://leaf.tele.ottr.sh/example component=server from=spiffe://spire.tele.ottr.sh/macbook/noah\n2024/08/30 13:12:41 INFO Sent message me=spiffe://leaf.tele.ottr.sh/example component=client\n2024/08/30 13:12:42 INFO Received request me=spiffe://leaf.tele.ottr.sh/example component=server from=spiffe://spire.tele.ottr.sh/macbook/noah\n2024/08/30 13:12:46 INFO Sent message me=spiffe://leaf.tele.ottr.sh/example component=client\n2024/08/30 13:12:47 INFO Received request me=spiffe://leaf.tele.ottr.sh/example component=server from=spiffe://spire.tele.ottr.sh/macbook/noah\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrideynet%2Fspiffe-pinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrideynet%2Fspiffe-pinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrideynet%2Fspiffe-pinger/lists"}