blank passwords aren't allowed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
Low
|
Unassigned |
Bug Description
In text-only mode, current Launchpadlib insists on setting a password for your keyring:
% ./utilities/ec2 land https:/
The authorization page:
(https:/
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...
Please set a password for your new keyring
Password:
Password (again):
Error: blank passwords aren't allowed.
Password:
Password (again):
Please input your password for the keyring
Password:
This seems kind of pointlessly officious; people might very well want to have an unencrypted token held on a server.
Underneath the covers the specific code that does this is in the python keyring module, but it looks like by instantiating different keyrings we could turn that on or off.
I don't know if it should just be up to the user whether they want to encrypt things, or the client application, or what.
I'm trying to deploy a launchpadlib script as a cron job running on a server. This behaviour is making that impossible.