[SOLVED] RE: 7.4RC2: pg_crypto not working? - Mailing list pgsql-admin

From Murthy Kambhampaty
Subject [SOLVED] RE: 7.4RC2: pg_crypto not working?
Date
Msg-id 2D92FEBFD3BE1346A6C397223A8DD3FC09248E@THOR.goeci.com
Whole thread Raw
List pgsql-admin
Thanks Tom and Reece for replying. It turns out that the
cryptolib/cryptsrc/random source combination I specified --
openssl/system/openssl -- was the problem; changing the combination to
openssl/builtin/openssl, "solved" the problem.

~/contrib/pgcrypto/Makefile snippet:
# either 'builtin', 'mhash', 'openssl'
cryptolib = openssl # builtin

# either 'builtin', 'system'
cryptsrc = system # builtin <<< problem; revert to 'builtin'

# Random source, preferred order:
# 'dev'      - read from random device
#
# 'openssl'  - use openssl PRNG.
#              Note that currently pgcrypto does not do any
#              entropy feeding to it
#              This works ofcouse only with cryptolib = openssl
#
# 'silly'    - use libc random() - very weak
random = openssl # silly

pgsql-admin by date:

Previous
From: Christopher Browne
Date:
Subject: Re: easy way to copy all DBs and users on a server
Next
From: ow
Date:
Subject: Re: Taking database offline