Skip to content

getcloudpassword.py does not handle passwords with hyphens #136

@rileyyy

Description

@rileyyy

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"

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