There should be a command-line script to generate LoginTokens

Bug #277796 reported by Graham Binns
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

For the purposes of testing things like remote bug trackers, which use LoginTokens to authenticate with Launchpad, we could do with a way of generating them on the fly, such as a script, e.g.:

 $ generate-tokens.py --number=5 --type=BUGTRACKER

Graham Binns (gmb)
Changed in malone:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 277796] [NEW] There should be a command-line script to generate LoginTokens

On Fri, Oct 03, 2008 at 08:26:04PM -0000, Graham Binns wrote:
> Public bug reported:
>
> For the purposes of testing things like remote bug trackers, which use
> LoginTokens to authenticate with Launchpad, we could do with a way of
> generating them on the fly, such as a script, e.g.:
>
> $ generate-tokens.py --number=5 --type=BUGTRACKER

Isn't generating arbitrary tokens quite complex? I'd suggest limiting
this to bug tracker tokens, which is much easier. So far, I've been
calling the XML-RPC method when I needed to generate them.

Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 277796] [NEW] There should be a command-line script to generate LoginTokens

> Isn't generating arbitrary tokens quite complex? I'd suggest limiting
> this to bug tracker tokens, which is much easier.

It's not all that complex, but making the script capable of generating
> 1 type of token does make the implementation more fiddly, so
sticking with generating bug tracker tokens only makes sense.

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.