Thread: pgcrypto/openssl fix
OpenSSL 0.9.6g in Debian/unstable stopped working with pgcrypto. This is pgcrypto bug as it assumed too much about inner workings of OpenSSL. Following patch stops pgcrypto using EVP* functions for ciphers and lets it manage ciphers itself. This patch supports Blowfish, DES and CAST5 algorithms. -- marko
Attachment
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- Marko Kreen wrote: > > OpenSSL 0.9.6g in Debian/unstable stopped working > with pgcrypto. This is pgcrypto bug as it assumed > too much about inner workings of OpenSSL. > > Following patch stops pgcrypto using EVP* functions > for ciphers and lets it manage ciphers itself. > > This patch supports Blowfish, DES and CAST5 > algorithms. > > -- > marko > [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Patch applied. Thanks. --------------------------------------------------------------------------- Marko Kreen wrote: > > OpenSSL 0.9.6g in Debian/unstable stopped working > with pgcrypto. This is pgcrypto bug as it assumed > too much about inner workings of OpenSSL. > > Following patch stops pgcrypto using EVP* functions > for ciphers and lets it manage ciphers itself. > > This patch supports Blowfish, DES and CAST5 > algorithms. > > -- > marko > [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073