git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1ea9169) | patch
pgcrypto update:
2005年3月21日 05:22:14 +0000 (05:22 +0000)
2005年3月21日 05:22:14 +0000 (05:22 +0000)
commit 19b676869a1d9c1bf25a2332bdbe04bb9027c340
pgcrypto update:

Reserve px_get_random_bytes() for strong randomness,
add new function px_get_pseudo_random_bytes() for
weak randomness and use it in gen_salt().

On openssl case, use RAND_pseudo_bytes() for
px_get_pseudo_random_bytes().

Final result is that is user has not configured random
souce but kept the 'silly' one, gen_salt() keeps
working, but pgp_encrypt() will throw error.

Marko Kreen
contrib/pgcrypto/px-crypt.c diff | blob | blame | history
contrib/pgcrypto/px.c diff | blob | blame | history
contrib/pgcrypto/px.h diff | blob | blame | history
contrib/pgcrypto/random.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /