移动存储TortoiseSVN的认证到另一台机器? [英] Move saved TortoiseSVN authentication to another machine?

查看:209
本文介绍了移动存储TortoiseSVN的认证到另一台机器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有从机器TortoiseSVN的移动已保存的登录/密码到网络存储库机器的方法吗?刚买了一台新机器,才知道我的用户名,但不记得我登录到存储库。

Is there a way to move a saved login/password for TortoiseSVN to a network repository from machine to machine? Just got a new machine, know my username but don't recall my login to the repository.

我知道TortoiseSVN保存了在上目录的一些验证信息%APPDATA%\\颠覆\\权威性

I know TortoiseSVN saves some auth info on the directories at %appdata%\Subversion\auth

搬了过来,我发现在svn.simple文件;我看到它在我的用户名以明文形式,但密码是加密的。我也看到了wincrypt的文件中,这样的调用的加密功能。

Moved over the file I found at svn.simple; I see my user name in it in clear text but the password is encrypted. I also see "wincrypt" in the file so that's the crypto functionality invoked.

通常我只希望有SVN管理的复位,但对我来说,他是出于休假到下周是其他管理为SVN。

Ordinarily I'd just have the SVN admin reset it for me but he is out on vacation until next week as is the other admin for SVN.

我可以潜入源TortoiseSVN的,看看如何验证得以完成,但有一定是更简单的方法。我可以从旧机器认证成功运行Wireshark的,如果这样做是有益的。

I can dive into the source for TortoiseSVN and see how authentication is being accomplished but there's got to be an easier way. I can run Wireshark on the successful authentication from the old machines if that would be useful.

推荐答案

解决了!原来这是pretty简单解决的。

Solved! Turns out it was pretty simple to resolve.

Wireshark的就是答案。难道我的老机器和仓库主机之间的通信的捕获,推出从TortoiseSVN的版本库浏览器。然后我跑了跟随TCP流在交谈中,发现这一行:

Wireshark was the answer. Did a capture of the communication between my old machine and the repository host, launched the repo browser from TortoiseSVN. Then I ran "Follow TCP Stream" on the conversation, and found this line:

授权:基本ZHIzeDppc0F3ZXNvbWU =

Authorization: Basic ZHIzeDppc0F3ZXNvbWU=

下面是PowerShell脚本脱code它:

$基本=ZHIzeDppc0F3ZXNvbWU =

    [System.Text.Encoding] :: ASCII.GetString([System.Convert] :: FromBase64String($基本))

Here's the Powershell script to decode it:
$basic = "ZHIzeDppc0F3ZXNvbWU="
[System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($basic))

返回纯文本:
UNAME:PWD

Returns plain text: uname:pwd

这篇关于移动存储TortoiseSVN的认证到另一台机器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆