blank passwords aren't allowed

Bug #789296 reported by Martin Pool
18
This bug affects 4 people
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://code.launchpad.net/~chrisjohnston/launchpad/483373
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=xnLtFvXhZBH94503wgg2&allow_permission=DESKTOP_INTEGRATION)
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.

Revision history for this message
markpitchless (markpitchless) wrote :

I'm trying to deploy a launchpadlib script as a cron job running on a server. This behaviour is making that impossible.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.