[opensuse] svn commit
Hello, I'm completely new to SVN, and the documentation is not that clear on some subjects. specifically on svn commit to a password protected svn (I have an account but I'm not the administrator). Documentation say that once the first time passwd given it wont be asked again. seems to be so on the server. but on the openSUSE 13.1 client, when I type the "svn commit <RC>" command in a terminal, I have a *graphical* prompt twice, once for a passwd, the other for a passphrase. If I give the same passwd as the server one, the commit is done. what are these two prompts?? thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op woensdag 16 juli 2014 09:01:18 schreef jdd:
Hello,
I'm completely new to SVN, and the documentation is not that clear on some subjects.
specifically on svn commit to a password protected svn (I have an account but I'm not the administrator).
Documentation say that once the first time passwd given it wont be asked again. seems to be so on the server.
but on the openSUSE 13.1 client, when I type the "svn commit <RC>" command in a terminal, I have a *graphical* prompt twice, once for a passwd, the other for a passphrase. If I give the same passwd as the server one, the commit is done.
what are these two prompts??
thanks jdd
I used a checkout command like this: svn checkout https://<username>@svn.opensuse.org/svn/opensuse-i18n/trunk/... in a specific folder. in the same folder I use: svn -m message ci to commit changes. Somehow the password has been stored. Don't know where for sure. In a new generated system in a new account on that system I copy ~/.subversion from my old account, after which I am not asked for any password. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/16/2014 06:04 PM, Freek de Kruijf wrote:
Op woensdag 16 juli 2014 09:01:18 schreef jdd:
Hello,
I'm completely new to SVN, and the documentation is not that clear on some subjects.
specifically on svn commit to a password protected svn (I have an account but I'm not the administrator).
Documentation say that once the first time passwd given it wont be asked again. seems to be so on the server.
but on the openSUSE 13.1 client, when I type the "svn commit <RC>" command in a terminal, I have a *graphical* prompt twice, once for a passwd, the other for a passphrase. If I give the same passwd as the server one, the commit is done.
what are these two prompts??
thanks jdd I used a checkout command like this:
svn checkout https://<username>@svn.opensuse.org/svn/opensuse-i18n/trunk/...
in a specific folder.
in the same folder I use:
svn -m message ci
to commit changes. Somehow the password has been stored. Don't know where for sure. In a new generated system in a new account on that system I copy ~/.subversion from my old account, after which I am not asked for any password.
Freek: It's possible that your password has been saved in plain text. You are usually queried about this the first time you enter it to check out something. You may want to fix this if you are using a laptop that could be stolen and your password is used in other places. To answer the original question, on opensuse you can open the file ~/.subversion/config and you will see a line that says something like: # password-stores = gnome-keyring,kwallet After uncommenting the line, depending on what you have installed on your system, your password will be saved (in encrypted form) in the gnome keyring or kwallet. If you know you want kwallet, add the line password-stores = kwallet After changing the file you will only need to enter the password to kwallet once in a session (depending on how you configure kwallet) a -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/16/2014 02:01 AM, jdd wrote:
Hello,
I'm completely new to SVN, and the documentation is not that clear on some subjects.
specifically on svn commit to a password protected svn (I have an account but I'm not the administrator).
Documentation say that once the first time passwd given it wont be asked again. seems to be so on the server.
but on the openSUSE 13.1 client, when I type the "svn commit <RC>" command in a terminal, I have a *graphical* prompt twice, once for a passwd, the other for a passphrase. If I give the same passwd as the server one, the commit is done.
what are these two prompts??
thanks jdd
Yes, this can be frustrating. As you know, when you did the `svn checkout` you have a choice of doing it anonymously, or with a user-name in order to have commit privileges later. When you use a username/password combo for checkout, that information is often stored in the svn data directory (e.g.: svn co someproject, then look in someproject/.svn (usually at the top of the 'entries' file) If you are attempting to commit changes, if you don't provide username/password arguments to the commit, you will be prompted. The fact that you get 2 prompts could be for any number of reasons, stray data provided/fails/prompts again, etc.. Take a look at this stackoverflow post. It gives a reasonable explanation of how to tackle the problem: http://stackoverflow.com/questions/405690/in-subversion-can-i-be-a-user-othe... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 17/07/2014 08:20, David C. Rankin a écrit :
As you know, when you did the `svn checkout` you have a choice of doing it anonymously, or with a user-name in order to have commit privileges later.
on this svn, read is free, so I didn't use any passwd for the checkout
When you use a username/password combo for checkout, that information is often stored in the svn data directory (e.g.: svn co someproject, then look in someproject/.svn (usually at the top of the 'entries' file)
nothing in this file (except the number "12", that is of course not the passwd)
If you are attempting to commit changes, if you don't provide username/password arguments to the commit, you will be prompted. The fact that you get 2 prompts could be for any number of reasons, stray data provided/fails/prompts again, etc.. Take a look at this stackoverflow post. It gives a reasonable explanation of how to tackle the problem:
http://stackoverflow.com/questions/405690/in-subversion-can-i-be-a-user-othe...
don't see there anything relevant. I may be more precise in my question. I use svn in a terminal - I don't know of any graphical interface and don't need one. As far as I remember, the *first time* I made a commit, I was prompted *three time* (don't remember in what order). * once in the terminal. Seems to me that this is the svn server prompt. Not prompted again after the first time. I don't know where is stored this passwd nor how I can disable this. I see a hash in /home/jdd/.subversion/auth/svn.simple that could be related * one graphical prompt (small window) for a passwd (could not make a screen copy :-() * a second graphical prompt "key again this passphrase" (when the first one did not ask for a passphrase but for a password) answering the same thing (server svn pass) allowed the commit to be done. to verify, I just did it again. I had first the two graphical prompts as described,and answered by a blank (no entry safe Enter). Then I was asked for the svn servers pass in the terminal, gave it and the commit could go. my guess is that the openSUSE default wallet is gnome one, and I'm on Kde - I have all commented out in config (# password-stores = gpg-agent,gnome-keyring,kwallet). I changed that for kwallet, tested and was asked to choose between clear text or not, then commit go on so the answer is most certainly this one (gnome use instead of kde), and the config file in .subversion the solution (thanks Alain) thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2014-07-17 a las 09:20 +0200, jdd escribió:
Le 17/07/2014 08:20, David C. Rankin a écrit :
As you know, when you did the `svn checkout` you have a choice of doing it anonymously, or with a user-name in order to have commit privileges later.
on this svn, read is free, so I didn't use any passwd for the checkout
Something similar happened to me. What I did was to remove the tree, and download it again, this time identifying myself.
* a second graphical prompt "key again this passphrase" (when the first one did not ask for a passphrase but for a password)
This can be your local desktop key agent. Also, when using ssh transport, you can use password or passphrase - the second when you are using cryptographic key pairs. Probably the password failed, so it asked for the passphrase- even if they may happen to be the same, they are handled differently. It is also possible that the first password is the one for the local wallet. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlPHiIwACgkQja8UbcUWM1wx5gEAmTR3CFmwpEH070B4NHbh9ltw rfZcbBb3kCL61sS2hNsA/iLBGOZbWyNril8AVwhe6tZyASyebC1+7DwS1t88Hfpp =BEM4 -----END PGP SIGNATURE-----
Le 17/07/2014 10:25, Carlos E. R. a écrit :
It is also possible that the first password is the one for the local wallet.
it was certainly a problem with default wallet being gnome one, when I'm on kde. Since I switched to kwallet, no more problems thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Alain Leblanc
-
Carlos E. R.
-
David C. Rankin
-
Freek de Kruijf
-
jdd