0

I would like to get the name of a working copy user.

The authentication data is saved in %appdata%\subversion\auth., however it is encrypted.

Is it possible to decrypt it programmatically using c#?

Any help would be highly appreciated!

user3165438
  • 2,631
  • 7
  • 34
  • 54
  • Duplicate of http://stackoverflow.com/q/3883129/761095 – bahrep Jul 30 '14 at 09:34
  • @bahrep, This is an old post and most of the provided links there are stale. Anyway, Thanks for the link. – user3165438 Jul 30 '14 at 09:49
  • the most important link there is http://msdn.microsoft.com/en-us/library/ms995355.aspx and it's working – bahrep Jul 30 '14 at 09:50
  • Working copies do not have the user's name "embedded" in them. You might be able to *guess* by looking at the Windows account, but you can't know for certain what the Subversion user account that checked out/worked with that WC is. – alroc Aug 04 '14 at 02:02
  • @alroc, Did you see the tool that Lazy Badger suggested? It works quite nice and gives me the authentication data of current machine. What do you mean in 'Working copies do not have the user's name "embedded" in them'? – user3165438 Aug 04 '14 at 07:52
  • You got the Subversion credentials that were cached in the Windows user profile. You did not necessarily get the Subversion user ID that was using that working copy, because that information is not kept in the working copy (excluding locks that might have been acquired). – alroc Aug 04 '14 at 13:11

1 Answers1

0

TortoiseSVN Password Decrypter and it's sources

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110