nec-postgres / tdeforpg

PostgreSQL Transparent Data Encryption tool development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EDT [5905] Error: function decrypt does not exist

Ealham opened this issue · comments

I've followed the manual to install TDE Free Version 1.2.
Successfully installed Postgres10.10, pgcrypto and tdeforpge.

But whenever I'm trying to activate TDE for my database, I get the following error:

EDT [5905] ERROR: function decrypt(bytea, bytea, text) does not exist
EDT [5905] STATEMENT: ALTER FUNCTION decrypt ( bytea, bytea, text ) PARALLEL UNSAFE;
ERROR: Could not activate transparent data encryption feature
HINT : Please see error_20190822-055000.log for detail

Here's the content of my logfile:

psql:../sys/testdb.cipher.inst:751: ERROR: function decrypt(bytea, bytea, text) does not exist
error occured at 2019-08-22-05:50:14
parameters:
user:postgres
db:testdb
port:5432
menu:1

I am running CentOS 7 in VM. Can anyone tell me what went wrong?

the same to me, do we have resolution for that?

ok, after a few tries... a resolution is create extension before setup on each db like:
CREATE EXTENSION pgcrypto;