lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
39 stars 12 forks source link

Remove proxy passwords from verbose output #15

Closed lueschem closed 6 years ago

lueschem commented 7 years ago

Issue Type

Environment detail

+ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
+ python3 --version
Python 3.5.2
+ ansible-playbook --version
ansible-playbook 2.1.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
+ lxc --version
2.0.10
+ + grep \(lxd\|ansible\)
dpkg -l
ii  ansible                                    2.1.1.0-1~ubuntu16.04.1                      all          Configuration management, deployment, and task execution system
ii  lxd                                        2.0.10-0ubuntu1~16.04.1                      amd64        Container hypervisor based on LXC - daemon
ii  lxd-client                                 2.0.10-0ubuntu1~16.04.1                      amd64        Container hypervisor based on LXC - client

Desired Behaviour

edi shall not reveal passwords encoded into the proxy url when building a container using 'edi -v ...'

Actual Behaviour (Bug report only)

edi shows passwords encoded into the proxy url within verbose output. This is especially undesired behavior when edi is run on a build server and logs are available for a big audience.

lueschem commented 7 years ago

Hints: