libpq: Specify pass phrase for SSL key

Поиск
Список
Период
Сортировка
От Koen Vermeer
Тема libpq: Specify pass phrase for SSL key
Дата
Msg-id 1184255570.5451.13.camel@localhost
обсуждение исходный текст
Список pgsql-interfaces
Hi,

Apologies for posting this to both pgsql-interfaces and pgsql-general,
but I'm unable to decide which one is more appropriate.

I am using libpq to set up an SSL connection to a PostgreSQL server. The
client key is protected by a pass phrase, so when I issue a
PQconnectdb(), I get a prompt stating:

Enter PEM pass phrase:

Instead, I would like to give the user a nice message box, asking for
his/her password. So, how do I 'inject' the right SSL password into the
connection sequence?

Thanks for any help!

Koen



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

Предыдущее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Npgsql2 Preview Release is available
Следующее
От: "Ender"
Дата:
Сообщение: PQcancel hangs