Skip to content

Use getpass for password prompt in examples - #284

Open
GlintsCraft wants to merge 1 commit into
malmeloo:mainfrom
GlintsCraft:getpass-example
Open

GlintsCraft wants to merge 1 commit into
malmeloo:mainfrom
GlintsCraft:getpass-example

Conversation

@GlintsCraft

Copy link
Copy Markdown

Quick suggestion -

The login examples read the Apple Account password with input(), which echoes it to the terminal. Since people tend to copy these examples into their own scripts, I suggest switching both prompts (sync and async) in examples/_login.py to getpass.getpass().

(No library code is changed)

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant