Skip to content

passwords being logged and shown in the clear #192

@krcb197

Description

@krcb197

It is possible to run the module by passing in a user name and password, for example:

svn_report = svn.remote.RemoteClient(svn_item, username=user_name, password=mypassword_as_a_string )
svn_report.export(target_dir)

Even if you have followed all the good practices for handling passwords within your code, the svn package has two issues:

  • in the CommonBase the full svn command is sent to the debug log
  • In the event of failure full command is sent to the exception, which then shows in many places

The password should be obscured before the errors or logs are made

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions