Re: pgcrypto functions fail for asymmetric encryption/decryption

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: pgcrypto functions fail for asymmetric encryption/decryption
Дата
Msg-id e51f66da0712031201v68e0b157we4085be118435901@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgcrypto functions fail for asymmetric encryption/decryption  (Stefan Niantschur <sniantschur@web.de>)
Ответы Re: pgcrypto functions fail for asymmetric encryption/decryption
Список pgsql-general
On 12/3/07, Stefan Niantschur <sniantschur@web.de> wrote:
> I finally made it. I created a brand-new key, reworked the query and voila.
>
> It seems that the GnuPG key has to be created with
> paramter --cipher-algo=blowfish before it can be used together with pgcrypto.
> The generated key with the default settings failed for some reason.

Well, that really does not explain why the old keys failed.
And you have no guarantee you wont get some failures in the
future.  If the key cipher would have been unsupported, you
should have gotten errors not random corruptions.

I really suggest you run regression tests for both PostgreSQL
and pgcrypto.  This should sanity-check your build and runtime
environment.

Also, as I understand you are experimenting with test keys?
Could you send both public and private keys to me, fully.
You can send privately if you wish.  If they are not test
keys, then only public key and pgpdump output of private key,
if should not inlude any secret info.
(http://www.mew.org/~kazu/proj/pgpdump/)

I really like to understand whats going on...

--
marko

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: stored procedures and dynamic queries
Следующее
От: Cesar Alvarez
Дата:
Сообщение: Re: Transaction problem