X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C1C50D1B50E for ; Thu, 13 Nov 2003 15:13:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 56151-02 for ; Thu, 13 Nov 2003 11:13:30 -0400 (AST) Received: from THOR.goeci.com (thor.goeci.com [66.28.220.99]) by svr1.postgresql.org (Postfix) with ESMTP id 603ABD1B535 for ; Thu, 13 Nov 2003 11:13:26 -0400 (AST) Received: by THOR.goeci.com with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Nov 2003 10:13:30 -0500 Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC09248E@THOR.goeci.com> From: Murthy Kambhampaty To: pgsql-admin@postgresql.org Subject: [SOLVED] RE: 7.4RC2: pg_crypto not working? Date: Thu, 13 Nov 2003 10:13:29 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/239 X-Sequence-Number: 11226 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