You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Markus Oberlassnig <Ma...@ilogs.com> on 2009/12/03 14:50:55 UTC

Subversion: integration of certificate based login

Hello,

we need to integrate certificate based login to subversion, subclipse and tortoise.
Is it possible to configure svn, so that a user (client) can be authorized by a certificate (X509 and / or PKCS11) without additional login.
When yes, how can this be done?
When no, can you give me hints, how to develop this feature or who can develop this feature?

We also need to read the client certificate from a smart card. Is it correct that we can use opensc for this feature?

Please can you help me.

Nice regard ,
Markus Oberlassnig


DI Markus Oberlassnig
Senior Consultant
-------------------------------
ilogs information logistics GmbH
Krone Platz 1
9020 Klagenfurt am Wörthersee
Austria
<http://www.ilogs.com/><http://www.ilogs.com>www.ilogs.com<http://www.ilogs.com>

T: +43 463 504 197 41<tel:+43%20463%20504%20197%2041>
F: +43 463 504 197 55<tel:+43%20463%20504%20197%2055>
M: +43 676 844 442 350<tel:+43%20676%20844%20442%20350>



RE: Subversion: integration of certificate based login

Posted by Bob Archer <Bo...@amsi.com>.
> -----Original Message-----
> From: Andrey Repin [mailto:anrdaemon@freemail.ru]
> Sent: Thursday, December 03, 2009 12:22 PM
> To: Markus Oberlassnig; users@subversion.apache.org
> Subject: Re: Subversion: integration of certificate based login
> 
> Greetings, Markus Oberlassnig!
> 
> > we need to integrate certificate based login to subversion,
> subclipse and
> > tortoise.
> > Is it possible to configure svn, so that a user (client) can be
> authorized by a certificate (X509 and / or PKCS11) without
> additional login.
> > When yes, how can this be done?
> 
> A wild guess - either Apache https:// with client certificate
> authorization, or
> (less desirable, unless already used) svn+ssh:// with same client
> certificate
> checks.
> 
> > When no, can you give me hints, how to develop this feature or
> who can develop this feature?
> 
> > We also need to read the client certificate from a smart card. Is
> it correct that we can use opensc for this feature?
> 
> Certificate storage is depends on the client-side realization.
> I know a number of systems that allow for complex
> protection/encryption,
> including the use of smart-cards, USB keys etc.
> So theoretically, it is possible...
> 
> P.S.
> Testing new template to reply to corresponding mailing list...
> Please tell me (using reply to author!) if this reply appears
> without the
> originating message. And sorry for any possible troubles.
> 

The above is your message. Looks fine to me.

BOb


> 
> --
> WBR,
>  Andrey Repin (anrdaemon@freemail.ru) 03.12.2009, <20:16>
> 
> Sorry for my terrible english...


Re: Subversion: integration of certificate based login

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Markus Oberlassnig!

> we need to integrate certificate based login to subversion, subclipse and
> tortoise. 
> Is it possible to configure svn, so that a user (client) can be authorized by a certificate (X509 and / or PKCS11) without additional login.
> When yes, how can this be done?

A wild guess - either Apache https:// with client certificate authorization, or
(less desirable, unless already used) svn+ssh:// with same client certificate
checks.

> When no, can you give me hints, how to develop this feature or who can develop this feature?

> We also need to read the client certificate from a smart card. Is it correct that we can use opensc for this feature?

Certificate storage is depends on the client-side realization.
I know a number of systems that allow for complex protection/encryption,
including the use of smart-cards, USB keys etc.
So theoretically, it is possible...

P.S.
Testing new template to reply to corresponding mailing list...
Please tell me (using reply to author!) if this reply appears without the
originating message. And sorry for any possible troubles.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 03.12.2009, <20:16>

Sorry for my terrible english...

AW: Subversion: integration of certificate based login

Posted by Markus Oberlassnig <Ma...@ilogs.com>.
Hello,

does this also work under windows?

Is there an implementation for connecting via Microsoft CAPI?

Regards, Markus


-----Ursprüngliche Nachricht-----
Von: Joe Orton [mailto:jorton@redhat.com]
Gesendet: Freitag, 04. Dezember 2009 14:37
An: Markus Oberlassnig
Cc: users@subversion.apache.org
Betreff: Re: Subversion: integration of certificate based login

On Thu, Dec 03, 2009 at 03:50:55PM +0100, Markus Oberlassnig wrote:
> we need to integrate certificate based login to subversion, subclipse
> and tortoise. Is it possible to configure svn, so that a user (client)
> can be authorized by a certificate (X509 and / or PKCS11) without
> additional login. When yes, how can this be done? When no, can you
> give me hints, how to develop this feature or who can develop this
> feature?

You can use SSL client certs with an SVN repos accessed via https, see
the "ssl-client-cert-file" config option, described in the book:

http://svnbook.red-bean.com/en/1.1/ch07.html

> We also need to read the client certificate from a smart card. Is it
> correct that we can use opensc for this feature?

Yes.  Set "ssl-pkcs11-provider = opensc" in ~/.subversion/servers
(either in the [global] section or a server-specific group)

Regards, Joe


__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 4664 (20091206) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com



__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 4689 (20091215) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com


Re: Subversion: integration of certificate based login

Posted by Joe Orton <jo...@redhat.com>.
On Thu, Dec 03, 2009 at 03:50:55PM +0100, Markus Oberlassnig wrote:
> we need to integrate certificate based login to subversion, subclipse 
> and tortoise. Is it possible to configure svn, so that a user (client) 
> can be authorized by a certificate (X509 and / or PKCS11) without 
> additional login. When yes, how can this be done? When no, can you 
> give me hints, how to develop this feature or who can develop this 
> feature?

You can use SSL client certs with an SVN repos accessed via https, see 
the "ssl-client-cert-file" config option, described in the book:

http://svnbook.red-bean.com/en/1.1/ch07.html

> We also need to read the client certificate from a smart card. Is it 
> correct that we can use opensc for this feature?

Yes.  Set "ssl-pkcs11-provider = opensc" in ~/.subversion/servers 
(either in the [global] section or a server-specific group)

Regards, Joe