我根据1 1Pass的了望塔推荐更改了Bitbucket密码。从那以后,我就不能拉/推我的任何回复,虽然我可以通过浏览器登录。我尝试过HTTP和SSH,但两者都不起作用。
这是一个示例输出。
hg pull --debug https://caliChander@bitbucket.org/caliChander/cs1
using https://bitbucket.org/caliChander/cs1
http auth: user caliChander, password not set
sending capabilities command
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
using auth.bitbucket.* for authentication
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
http auth: user caliChander, password *******************************
using auth.bitbucket.* for authentication
bitbucket.org certificate successfully verified
abort: authorization failed当我的~/.hgrc看起来像这样的时候,我很好奇为什么上面写着“密码不设置”:
[ui]
username = First Last <some.email@random.com>
[auth]
bitbucket.prefix = bitbucket.org
bitbucket.username = caliChander
bitbucket.password = some_very_long_password_here
bitbucket.schemes = http https
[web]
cacerts = /etc/hg-dummy-cert.pem我的直觉是,某些字符是不允许在密码字段?这是通过1 1Pass随机生成的。是这样吗?
为了防止需要,cs1回购中的cs1看起来如下所示:
[paths] default = https://caliChander@bitbucket.org/caliChander/cs1
我是OS小牛队的。谢谢你的帮助!
发布于 2014-05-04 11:21:53
我很好奇为什么上面写着“密码不设置”
因为URL可能同时包含用户名和密码,所以您的https://caliChander@bitbucket.org/只有用户名部分。
ui部分在auth阶段是不相关的(它只是用于定义用户数据的信息数据,显示在日志中用于本地提交),只有来自auth的用户名密码用于身份验证。您可以在hgrc中临时禁用密码并手动输入密码。
https://stackoverflow.com/questions/23452525
复制相似问题