CLI version: Accept a domain by default, not a URL

Bug #324870 reported by Matt Giuca
2
Affects Status Importance Assigned to Milestone
PySGP
Won't Fix
Wishlist
Unassigned

Bug Description

The Command-Line version currently takes a URL as either an argument or a prompt, and strips out just the domain name for use in the SGP algorithm. To allow more general behaviour, it should take a "domain" (no mangling of the domain is done; it is directly passed to the SGP algorithm). That would let you use any arbitrary string as a "domain", such as "my shoe phone" (to generate the password for your shoe phone).

Use of a URL, which will be mangled by sgp.domain.url_to_domain, should be an optional feature (-u).

Matt Giuca (mgiuca)
Changed in pysgp:
assignee: nobody → mgiuca
importance: Undecided → Wishlist
Revision history for this message
Matt Giuca (mgiuca) wrote :

Is this change actually a good idea or not? In my usage of SGP, I tend to only use valid domain names anyway.

For example, I would use my-shoe-phone rather than "my shoe phone" just to be clear. If you are going to use a valid domain name, then the mangling won't matter. Therefore, there is no need to change the behaviour.

I would probably mark this as wont fix.

description: updated
Changed in pysgp:
status: New → Opinion
Revision history for this message
Matt Giuca (mgiuca) wrote :

Oops, turns out setting this to "Opinion" makes it not appear in the open bugs list.

Changed in pysgp:
status: Opinion → Incomplete
Revision history for this message
Matt Giuca (mgiuca) wrote :

Not a good idea.

Changed in pysgp:
assignee: Matt Giuca (mgiuca) → nobody
status: Incomplete → Won't Fix
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.