MD5 hashing produces inconsistent output for /etc/pam_pgsql.conf option:
pw_type = md5
I applied a fix by specifying this option to the configure script:
$ ./configure CFLAGS=-D__alpha
This alters the setting of the uint32 type in md5.h
Could the configure script be updated so that this is applied automatically?
Thank,
Phil
Hello, thanks for your report.
Right now "dpg85" is working over the autotools/automake stuff, as soon as he finish it i will merge his work and fix it.
AMD64 was not the only broken architecture, any 64-bit system but Alpha was involved; I fixed this in my repository:
http://gitorious.org/~flameeyes/pam-pgsql/flameeyes-pam-pgsql/commit/30361fa5f3266c0f088bbc89eb06dddbd032fc54
I'll also see to create a branch to use libgcrypt to provide md5/sha1 hashing… this way it won't risk further arch-specific bugs, as it can rely on tested and safe code.