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

git-svn bug/patch: Don't prompt for client cert password everytime.

From
SNSebastian Noack <sebastian.noack@googlemail.com>
Date
Feb 25, 2008, 15:11 UTC
Message-ID
<20080225161130.0be0214b@korv>
In-Reply-To
<20080225152535.33dc0893@korv>
Hi Eric,

I am using git-svn with a subversion repository using ssl client certificates and I noted, that every time I do...

git-svn fetch

...for example, it prompts for my export passphrase, even though it is given in ~/.subversion/servers.

I wrote a patch that fixes this (see attachment).

Btw, the patch I sent you before only works with an old version of git, this one, attached to this email, works with current HEAD.

Regards Sebastian Noack

From 1ec84f7b3b25970ed76db3fa9326c916d3ddcf23 Mon Sep 17 00:00:00 2001
From: Sebastian Noack <sebastian.noack@gmail.com>
Date: Mon, 25 Feb 2008 15:56:28 +0100
Subject: [PATCH] git-svn: Don't prompt for client cert password everytime.
---
 git-svn.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 05fb358..9e2faf9 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3643,6 +3643,7 @@ sub _auth_providers () {
 	  SVN::Client::get_ssl_client_cert_file_provider(),
 	  SVN::Client::get_ssl_client_cert_prompt_provider(
 	    \&Git::SVN::Prompt::ssl_client_cert, 2),
+	  SVN::Client::get_ssl_client_cert_pw_file_provider(),
 	  SVN::Client::get_ssl_client_cert_pw_prompt_provider(
 	    \&Git::SVN::Prompt::ssl_client_cert_pw, 2),
 	  SVN::Client::get_username_provider(),
-- 
1.5.3.7
Message 1 of 1 in “git-svn bug/patch: Don't prompt for client cert password everytime.”
  1. Sebastian NoackFeb 25, 2008

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.