Re: Re: Proposal for encrypting pg_shadow passwords
От | Bruce Momjian |
---|---|
Тема | Re: Re: Proposal for encrypting pg_shadow passwords |
Дата | |
Msg-id | 200108152046.f7FKkju25824@candle.pha.pa.us обсуждение исходный текст |
Список | pgsql-patches |
> Bruce Momjian writes: > > > > Bruce Momjian writes: > > > > > > > Attached please find: > > > > > > > > the original proposal to encrypt pg_shadow > > > > a diff of the current CVS > > > > two new files (backend/libpq/md5.c and include/libpq/md5.h) > > > > which implement MD5 encryption (from Vince with cleanups) > > > > > > I also see that the md5.c implementation does not use palloc and makes the > > > rather odd assumption that long int == unsigned64. > > > > That is from Vince's code, I think. Can you suggest a fix? > > Remove that code and use contrib/pgcrypto/md5.{c.h}. And move the .h file > to the include tree. So you like the pgcrypto stuff better. That's fine. I can't figure out how to get that code to work in the existing md5.c. The good thing is that it is all in md5.c. Can someone help? -- 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
В списке pgsql-patches по дате отправления: