This hides the PIN while it is entered using getpass().
I have only tested this with a Linux terminal, Windows Powershell and Windows cmd.exe. It works there. I don't know what else people use to run this though.
An alternative could be https://github.com/asweigart/pwinput. That is also closer to the way the Trade Republic app hides the PIN but it requires using an extra package.
This hides the PIN while it is entered using
getpass()
.I have only tested this with a Linux terminal, Windows Powershell and Windows cmd.exe. It works there. I don't know what else people use to run this though.
An alternative could be https://github.com/asweigart/pwinput. That is also closer to the way the Trade Republic app hides the PIN but it requires using an extra package.