Remove password characters that are hard to distinguish between
Move password changing code into its own function
Undo password change on failure of qr code generation or upload
Move password generation code into its own function
Repeat password generation 3 times to work around password restrictions
ZXing's qr code generator is unavailable, change to goqr.me