Re: [PATCH 1/2] http.c: prompt for SSL client certificate password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Jun 2009, Junio C Hamano wrote:

I think what Daniel is suggesting is to attempt making a test connection (that does not have to have anything to do with the real object transfer) without passphrase to see if it fails. If it doesn't, you know you do not need a passphrase to unlock the key/cert.

Exactly.

Also note that (in response to Mark's other comments) you really should not go "beneath" libcurl, and use the SSL library directly without careful considerations since libcurl can be built to use one out of many SSL libs so it's far from sure that you're actually using OpenSSL. Or GnutTLS. Or NSS. Or...

If libcurl itself is not enough to solve the issue, I would probably claim that it would be wise to consider making libcurl support it so that the API remains SSL-lib agnostic to the app (git).

--

 / daniel.haxx.se
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]