Comment 1 for bug 277796

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.