There should be a command-line script to generate LoginTokens
Bug #277796 reported by
Graham Binns
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
Changed in malone: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
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.