Passwords in SCM-manager

645 views
Skip to first unread message

abandurkin

unread,
Jun 7, 2012, 4:21:02 AM6/7/12
to scmma...@googlegroups.com
Hello! My Scm-manager is working perfectly, but the constant work with them annoying at all times to enter a password (when clonning or pushing). Is it possible that he would have remembered my password?

Sebastian Sdorra

unread,
Jun 7, 2012, 4:32:08 AM6/7/12
to scmma...@googlegroups.com
Hi,
It is not possible to integrate a remember function for the repository
clients. But you can store your password on your working machine.

You can store the password for mercurial in the .hgrc file in you home
directory e.g.:

[auth]
scm-manager.schemes = http
scm-manager.prefix = yourserver/scm/hg/
scm-manager.username = your username
scm-manager.password = your password

For git you can store the password information in the .netrc in you
home directory:

machine yourserver
login your username
password your password

Sebastian

2012/6/7 abandurkin <alex.ba...@gmail.com>:

abandurkin

unread,
Jun 7, 2012, 7:28:38 AM6/7/12
to scmma...@googlegroups.com
Thanks for the tip! It helped!

Robert Ros

unread,
Jun 7, 2012, 4:57:53 PM6/7/12
to scmma...@googlegroups.com
Hi,

If you don't want to store your passwords in plaintext in .hgrc files,
you should check out the keyring extension:
http://mercurial.selenic.com/wiki/KeyringExtension. This extension
stores your passwords in your keyring (Gnome Keyring, KDE KWallet,
OSXKeyChain, etc). If I'm not mistaken, recent versions of TortoisHg
already include this extension, see
http://tortoisehg.bitbucket.org/manual/2.4/extensions.html#mercurial-keyring
for more information.

--
Robert

abandurkin

unread,
Jun 9, 2012, 5:24:20 AM6/9/12
to scmma...@googlegroups.com
Thanks for your help!!!)


Jørgen Staun Hansen

unread,
Apr 20, 2017, 4:36:02 AM4/20/17
to scmmanager, alex.ba...@gmail.com
Does this mercurial Keyring extension interfere with the SCM-Manager in anyway - what happens during upgrades etc.?


Reply all
Reply to author
Forward
0 new messages