git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Daniel Stenberg <daniel@haxx.se>
Date
Jun 13, 2009, 11:22 UTC
Message-ID
<alpine.DEB.2.00.0906131318480.10804@yvahk2.pbagnpgbe.fr>
In-Reply-To
<7vk53h3rey.fsf@alter.siamese.dyndns.org>
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
Previous: Mark LodatoNext: Junio C Hamano
Message 17 of 25 in “http.c: prompt for SSL client certificate password”
  1. 1/2 http.c: prompt for SSL client certificate passwordMark Lodato, May 28, 2009
  2. 2/2 http.c: add http.sslCertNoPass optionMark Lodato, May 28, 2009
  3. Mark LodatoJun 5, 2009
  4. Constantine PlotnikovJun 5, 2009
  5. Mark LodatoJun 7, 2009
  6. Mark LodatoJun 11, 2009
  7. Nanako ShiraishiJun 11, 2009
  8. Junio C HamanoJun 11, 2009
  9. Daniel StenbergJun 12, 2009
  10. Constantine PlotnikovJun 12, 2009
  11. Jakub NarebskiJun 12, 2009
  12. Rogan DawesJun 12, 2009
  13. Mark LodatoJun 12, 2009
  14. Mark LodatoJun 12, 2009
  15. Junio C HamanoJun 13, 2009
  16. Mark LodatoJun 13, 2009
  17. Daniel StenbergJun 13, 2009
  18. Junio C HamanoJun 11, 2009
  19. Mark LodatoJun 12, 2009
  20. Junio C HamanoJun 12, 2009
  21. Daniel StenbergJun 12, 2009
  22. Mark LodatoJun 12, 2009
  23. Junio C HamanoJun 13, 2009
  24. Mark LodatoJun 13, 2009
  25. Junio C HamanoJun 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.