[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion and smartcards

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 19 Jul 2011 11:44:00 -0400

On Tue, Jul 19, 2011 at 11:33 AM, Echlin, Jamie <
jamie.echlin_at_credit-suisse.com> wrote:
>> If building yourself, use a recent version of OpenSSL and
>> build it with the MSCAPI support.
>
> Thanks Mark. Having some problems with my build this time but the
> collabnet binaries do work as you say. Great.
>
> Except... Is there a facility to get it to remember the last certificate
> I selected, and the pin? Every command I do it pops up the cert
> selection dialog.

I do not believe this is currently possible. The entire authentication
process happens in OpenSSL completely outside of SVN. There is no API to
pass a selection into OpenSSL before the process starts.

Of course when you are using the command line, there is no long lived
session as there is for a web browser. So each command is a completely new
session to your server and the prompts will all be repeated.

> Also... Is there a similar build of tortoise? The (kosher) build I have
> of 1.6.12 just prompts me for a certificate file.

It would be best to ask on the TortoiseSVN list so that they could tell you
definitively. I can say it might be worthwhile downloading their latest
nightly build for SVN 1.7. I know that the TSVN devs have made some custom
patches to OpenSSL to resolve this issue of the constant prompting. So it
is probably worth giving a try. AFAIK, he does not plan to backport that
into his version for SVN 1.6.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-07-19 17:44:35 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.