{"id":18892398,"url":"https://github.com/hf/pg_attest","last_synced_at":"2026-03-09T00:34:29.468Z","repository":{"id":218459558,"uuid":"629722811","full_name":"hf/pg_attest","owner":"hf","description":"Generate attestations from your PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2023-04-18T22:38:03.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T00:07:47.579Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hf.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}},"created_at":"2023-04-18T22:37:20.000Z","updated_at":"2025-04-04T22:23:56.000Z","dependencies_parsed_at":"2024-01-22T04:04:14.106Z","dependency_job_id":"750f0d13-f0c5-463e-9464-db688fe1e36f","html_url":"https://github.com/hf/pg_attest","commit_stats":null,"previous_names":["hf/pg_attest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hf/pg_attest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fpg_attest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fpg_attest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fpg_attest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fpg_attest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hf","download_url":"https://codeload.github.com/hf/pg_attest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fpg_attest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30278564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"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-11-08T08:01:57.080Z","updated_at":"2026-03-09T00:34:29.446Z","avatar_url":"https://github.com/hf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"pg\\_attest\n==========\n\n`pg_attest` is a PostgreSQL extension that provides attestations about the\ncurrent role and system. These can then be used to base trust in other systems.\n\nFor example, you can use an OIDC attestation (a JWT) to authorize calls to AWS\nor Google Cloud APIs. You can also use it to identify and authorize calls to\nyour own custom APIs based on the access an app has to your database,\nsimplifying secure identification across app components.\n\nYou can obtain an attestation by calling:\n\n```sql\nSELECT pg_attest.attest();\n```\n\nThis returns back a cryptographically signed attestation that contains the\n`current_user` and `session_user` and other information about the database.\n\nIt does this by calling the relevant PostgreSQL commands from within a C\nextension, making it impossible to tamper with the result. Furthermore, the\nsignature is issued by an agent running alongside the database. The extension\nand agent talk over a UNIX SEQPACKET connection, exchanging JSON messages. An\nattestation request is checked, then an attestation is issued based on the\nconfig settings of the agent. Finally it is returned to the caller.\n\n## Status\n\nEarly development.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fpg_attest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhf%2Fpg_attest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fpg_attest/lists"}