pg_enigma
Encrypted postgres data type
Repository
SoftwareLibreMx/pg_enigma
https://github.com/SoftwareLibreMx/pg_enigma
Source
pg_enigma-0.5.0.tar.gz
pg_enigma-0.5.0.tar.gz
Overview
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 7090 | pg_enigma | No | Yes | No | Yes | No | No | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.5.0 | 1817161514 | pg_enigma | - |
| RPM | PIGSTY | 0.5.0 | 1817161514 | pg_enigma_$v | - |
| DEB | PIGSTY | 0.5.0 | 1817161514 | postgresql-$v-enigma | - |
Build
You can build the RPM / DEB packages for pg_enigma using pig build:
Install
You can install pg_enigma directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
pg_enigma: Encrypted data type for PostgreSQL using PGP and RSA keys
pg_enigma provides an Enigma encrypted data type for PostgreSQL that encrypts data at rest using PGP or OpenSSL RSA keys. Data is stored encrypted and only decrypted when the private key is loaded into memory.
PGP Key Encryption
RSA Key Encryption
Functions
| Function | Description |
|---|---|
set_public_key_from_file(slot, path) | Load a public key for encryption |
set_private_key_from_file(slot, path, passphrase) | Load a private key for decryption |
forget_private_key(slot) | Remove private key from memory |
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)