SSL Client Certificate pass phrases

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема SSL Client Certificate pass phrases
Дата
Msg-id 4D3F5C03.1090402@dunslane.net
обсуждение исходный текст
Список pgsql-hackers
I had a requirement the other day to support a connection using an SSL 
Client certificate. I set this up, and it worked nicely. But there's a 
fly in the ointment. While the openssl libraries will ask for a pass 
phrase for the key file if required when running psql, this is not 
usable in other circumstances. pgAdminIII fails on it miserably, and so 
does a dblink connection. The first is especially important, because it 
makes the use of client certificates in fact quite dangerous when the 
client is a running on a laptop computer which is liable to be stolen. I 
actually have requirements to make both these cases work if possible.

ISTM we need to be able to supply a pass phrase to libpq (via the 
options?) which would allow libpq to call 
|SSL_CTX_set_default_passwd_cb_userdata or something similar which would 
allow the key file to be unlocked.

Thoughts?

cheers

andrew
|


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Perl 5.12 complains about ecpg parser-hacking scripts
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ALTER TYPE 2: skip already-provable no-work rewrites