Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getcloudpassword.py does not handle passwords with hyphens #136

Open
rileyyy opened this issue Jan 27, 2025 · 0 comments
Open

getcloudpassword.py does not handle passwords with hyphens #136

rileyyy opened this issue Jan 27, 2025 · 0 comments

Comments

@rileyyy
Copy link

rileyyy commented Jan 27, 2025

Attempting to use the following:
python3 getcloudpassword.py <redacted_email> "$sA_v-5TxgqcGXE"

results in:

usage: getcloudpassword.py [-h] [-m] [login ...] getcloudpassword.py: error: unrecognized arguments: -5TxgqcGXE

This seems to be due to a known issue in using argparse, which I assume will likely not be fixed as it seems to go back for quite a while. It might be helpful to instead have the syntax support -u and -p options so that the following valid command, using an equals sign, could be used instead:

python3 getcloudpassword.py -u="<redacted_email>" -p="$sA_v-5TxgqcGXE"

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

No branches or pull requests

1 participant