pg_seal
Tamper-evident audit log for PostgreSQL 🦭
pg_seal · Tamper-evident audit log for PostgreSQL 🦭
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101617 | pg_seal | pg_seal | 1.0.0 | SEC | BSD-3-Clause | Rust |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_seal.control)
- Official implementation source
pg_seal — A PostgreSQL extension written in Rust (pgrx) for a cryptographic audit log of data changes. Use it when implementing the corresponding security, audit, or access-control workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
pg_seal_appendis an extension function.pg_seal_hashis an extension function.pg_seal_verify()is an extension function.pg_seal_verify_detail()is an extension function.
Requirements and Caveats
- The catalog records version
1.0.0. - The control file marks the extension as non-relocatable.
- The control file requires a superuser for installation.
- The control file marks the extension as not trusted.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.