Thread: pgcrypto update
Here finally update to pgcrypto code. Sorry for delay, I was bit distracted from coding for a while... I split it up to incremental chunks: http://www.l-t.ee/marko/pgsql/pgc-1.diff.gz (9k) http://www.l-t.ee/marko/pgsql/pgc-2.diff.gz (4k) http://www.l-t.ee/marko/pgsql/pgc-3.diff.gz (22k) http://www.l-t.ee/marko/pgsql/pgc-4.diff.gz (39k) and here's all-in-one: http://www.l-t.ee/marko/pgsql/pgc-big.diff.gz (61k) pgc-1: * remove support for encode() as it is in main tree now * remove krb5.c * new 'PX library' architecture * remove BSD license from my code to let the general PostgreSQL one to apply * md5, sha1: ANSIfy, use const where appropriate * various other formatting and clarity changes pgc-2: * hmac() pgc-3: * UN*X-like crypt() - system or internal crypt * Internal crypt: DES, Extended DES, MD5, Blowfish crypt-des.c, crypt-md5.c from FreeBSD crypt-blowfish.c from Solar Designer * gen_salt() for crypt() - Blowfish, MD5, DES, Extended DES pgc-4: * encrypt(), decrypt(), encrypt_iv(), decrypt_iv() * Cipher support in mhash.c, openssl.c * internal: Blowfish, Rijndael-128 ciphers * blf.[ch], rijndael.[ch] from OpenBSD * there will be generated file rijndael-tbl.inc. -- marko
> > Here finally update to pgcrypto code. Sorry for delay, I was bit > distracted from coding for a while... > > I split it up to incremental chunks: > > http://www.l-t.ee/marko/pgsql/pgc-1.diff.gz (9k) > http://www.l-t.ee/marko/pgsql/pgc-2.diff.gz (4k) > http://www.l-t.ee/marko/pgsql/pgc-3.diff.gz (22k) > http://www.l-t.ee/marko/pgsql/pgc-4.diff.gz (39k) > > and here's all-in-one: > > http://www.l-t.ee/marko/pgsql/pgc-big.diff.gz (61k) > > pgc-1: > > * remove support for encode() as it is in main tree now I was wanting to do that anyway because I found the same thing, that encode() is already in the main tree. Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Thanks. All applied. > > Here finally update to pgcrypto code. Sorry for delay, I was bit > distracted from coding for a while... > > I split it up to incremental chunks: > > http://www.l-t.ee/marko/pgsql/pgc-1.diff.gz (9k) > http://www.l-t.ee/marko/pgsql/pgc-2.diff.gz (4k) > http://www.l-t.ee/marko/pgsql/pgc-3.diff.gz (22k) > http://www.l-t.ee/marko/pgsql/pgc-4.diff.gz (39k) > > and here's all-in-one: > > http://www.l-t.ee/marko/pgsql/pgc-big.diff.gz (61k) > > pgc-1: > > * remove support for encode() as it is in main tree now > * remove krb5.c > * new 'PX library' architecture > * remove BSD license from my code to let the general > PostgreSQL one to apply > * md5, sha1: ANSIfy, use const where appropriate > * various other formatting and clarity changes > > pgc-2: > > * hmac() > > pgc-3: > > * UN*X-like crypt() - system or internal crypt > * Internal crypt: DES, Extended DES, MD5, Blowfish > crypt-des.c, crypt-md5.c from FreeBSD > crypt-blowfish.c from Solar Designer > * gen_salt() for crypt() - Blowfish, MD5, DES, Extended DES > > pgc-4: > > * encrypt(), decrypt(), encrypt_iv(), decrypt_iv() > * Cipher support in mhash.c, openssl.c > * internal: Blowfish, Rijndael-128 ciphers > * blf.[ch], rijndael.[ch] from OpenBSD > * there will be generated file rijndael-tbl.inc. > > > -- > marko > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
OK, I removed encode.* and krb.c. I assume those are the ones you wanted removed. > > Thanks. All applied. > > > > > Here finally update to pgcrypto code. Sorry for delay, I was bit > > distracted from coding for a while... > > > > I split it up to incremental chunks: > > > > http://www.l-t.ee/marko/pgsql/pgc-1.diff.gz (9k) > > http://www.l-t.ee/marko/pgsql/pgc-2.diff.gz (4k) > > http://www.l-t.ee/marko/pgsql/pgc-3.diff.gz (22k) > > http://www.l-t.ee/marko/pgsql/pgc-4.diff.gz (39k) > > > > and here's all-in-one: > > > > http://www.l-t.ee/marko/pgsql/pgc-big.diff.gz (61k) > > > > pgc-1: > > > > * remove support for encode() as it is in main tree now > > * remove krb5.c > > * new 'PX library' architecture > > * remove BSD license from my code to let the general > > PostgreSQL one to apply > > * md5, sha1: ANSIfy, use const where appropriate > > * various other formatting and clarity changes > > > > pgc-2: > > > > * hmac() > > > > pgc-3: > > > > * UN*X-like crypt() - system or internal crypt > > * Internal crypt: DES, Extended DES, MD5, Blowfish > > crypt-des.c, crypt-md5.c from FreeBSD > > crypt-blowfish.c from Solar Designer > > * gen_salt() for crypt() - Blowfish, MD5, DES, Extended DES > > > > pgc-4: > > > > * encrypt(), decrypt(), encrypt_iv(), decrypt_iv() > > * Cipher support in mhash.c, openssl.c > > * internal: Blowfish, Rijndael-128 ciphers > > * blf.[ch], rijndael.[ch] from OpenBSD > > * there will be generated file rijndael-tbl.inc. > > > > > > -- > > marko > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > > > -- > Bruce Momjian | http://candle.pha.pa.us > pgman@candle.pha.pa.us | (610) 853-3000 > + If your life is a hard drive, | 830 Blythe Avenue > + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
On Mon, Aug 20, 2001 at 09:39:35PM -0400, Bruce Momjian wrote: > > OK, I removed encode.* and krb.c. I assume those are the ones you > wanted removed. Yes, sorry for confusion. krb5.c was a very old name for that file... -- marko