You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2019/07/14 07:04:05 UTC
Re: [PATCH] svn_load_dirs.pl: do not print password to screen
geoffrey.alary@gmail.com wrote on Sun, Jul 14, 2019 at 00:51:54 +1200:
> CC: both of the most recent and biggest contributors to this file.
In principle, same answer as in the other thread (ENOTIME unless it's a
regression I signed off on); but…
> It implements a security feature: to hide the password when printing
> the command line to screen.
I suggest to add a warning to usage() that passing the password in
a command-line argument may make it visible to other local OS users.
Cheers,
Daniel
Re: [PATCH] svn_load_dirs.pl: do not print password to screen
Posted by Geoffrey Alary <ge...@gmail.com>.
Hi Brane,
Ok I understand, thank you.
Best regards,
Geoffrey
Le dim. 14 juil. 2019 à 19:52, Branko Čibej <br...@apache.org> a écrit :
>
> On 14.07.2019 09:47, Geoffrey Alary wrote:
> > Hi Daniel,
> >
> >>> CC: both of the most recent and biggest contributors to this file.
> >> In principle, same answer as in the other thread (ENOTIME unless it's a
> >> regression I signed off on); but…
> > Ok noted. Thank you for your replies.
> >
> >>> It implements a security feature: to hide the password when printing
> >>> the command line to screen.
> >> I suggest to add a warning to usage() that passing the password in
> >> a command-line argument may make it visible to other local OS users.
> > Do you mean that showing a warning message would be preferable to
> > actually fixing the problem? If yes, why would that be?
>
> On Unix, the 'ps' command can show the entire command line to other
> users, so this consideration is independent of what svn_load_dirs.pl is
> doing.
>
> -- Brane
Re: [PATCH] svn_load_dirs.pl: do not print password to screen
Posted by Branko Čibej <br...@apache.org>.
On 14.07.2019 09:47, Geoffrey Alary wrote:
> Hi Daniel,
>
>>> CC: both of the most recent and biggest contributors to this file.
>> In principle, same answer as in the other thread (ENOTIME unless it's a
>> regression I signed off on); but…
> Ok noted. Thank you for your replies.
>
>>> It implements a security feature: to hide the password when printing
>>> the command line to screen.
>> I suggest to add a warning to usage() that passing the password in
>> a command-line argument may make it visible to other local OS users.
> Do you mean that showing a warning message would be preferable to
> actually fixing the problem? If yes, why would that be?
On Unix, the 'ps' command can show the entire command line to other
users, so this consideration is independent of what svn_load_dirs.pl is
doing.
-- Brane
Re: [PATCH] svn_load_dirs.pl: do not print password to screen
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
> > > It implements a security feature: to hide the password when printing
> > > the command line to screen.
> >
> > I suggest to add a warning to usage() that passing the password in
> > a command-line argument may make it visible to other local OS users.
>
> Do you mean that showing a warning message would be preferable to
> actually fixing the problem?
No. I think the warning and the asterisking are independent changes;
I suppose we should make both of them.
> Note that being aware of the problem is not enough to prevent (for
> example) co-workers looking at your screen when you’re checking if the
> command has completed.
Re: [PATCH] svn_load_dirs.pl: do not print password to screen
Posted by Geoffrey Alary <ge...@gmail.com>.
Hi Daniel,
> > CC: both of the most recent and biggest contributors to this file.
>
> In principle, same answer as in the other thread (ENOTIME unless it's a
> regression I signed off on); but…
Ok noted. Thank you for your replies.
> > It implements a security feature: to hide the password when printing
> > the command line to screen.
>
> I suggest to add a warning to usage() that passing the password in
> a command-line argument may make it visible to other local OS users.
Do you mean that showing a warning message would be preferable to
actually fixing the problem? If yes, why would that be?
Note that being aware of the problem is not enough to prevent (for
example) co-workers looking at your screen when you’re checking if the
command has completed.
Best regards,
Geoffrey