Closed
Bug 235360
Opened 21 years ago
Closed 21 years ago
Password Manager API changes to facilitate import/export
Categories
(SeaMonkey :: Passwords & Permissions, defect, P1)
SeaMonkey
Passwords & Permissions
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: bugs, Assigned: bugs)
References
Details
Attachments
(2 files, 2 obsolete files)
3.73 KB,
patch
|
Details | Diff | Splinter Review | |
3.41 KB,
patch
|
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
We need to be able to read in password entries from an arbitrary file to support
import/export in Firefox. This requires changes to nsIPasswordManagerInternal.
Assignee | ||
Comment 1•21 years ago
|
||
Assignee: dveditz+bmo → bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•21 years ago
|
||
taking, targeting, setting dependencies
Assignee | ||
Updated•21 years ago
|
Attachment #142083 -
Flags: superreview?(darin)
Attachment #142083 -
Flags: review?(dveditz+bmo)
Assignee | ||
Comment 3•21 years ago
|
||
Attachment #142083 -
Attachment is obsolete: true
Comment 4•21 years ago
|
||
Comment on attachment 142106 [details] [diff] [review]
this one actually compiles!
r=dveditz (or sr= if you need Darin's r= for the netwerk code)
Attachment #142106 -
Flags: review+
Updated•21 years ago
|
Attachment #142083 -
Flags: superreview?(darin)
Attachment #142083 -
Flags: review?(dveditz+bmo)
Comment 5•21 years ago
|
||
Comment on attachment 142106 [details] [diff] [review]
this one actually compiles!
so, do you need the WritePasswords function? i ask because you determined that
you don't need it for cookies.
also, i might rename |aHost| to something more accurate, like |aKey| since
aHost is not a simple hostname. it is a password entry key ;-)
i know, i know... all the singsign code refers to it as the host field. that's
just unfortunate.
Assignee | ||
Comment 6•21 years ago
|
||
Yeah, I didn't turn out to need writePasswords after all. I suppose symmetry
isn't so important. Also add a "encrypt vs. obscure" param at darin's
suggestion in case this is implemented for Single Signon
Assignee | ||
Updated•21 years ago
|
Attachment #142106 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #142106 -
Attachment is obsolete: false
Assignee | ||
Comment 7•21 years ago
|
||
This one doesn't clutter up the API for (what I can tell) no reason with
Seamonkey implementation details. Use "key" instead of "host" in terminology as
well.
Darin, you choose.
Attachment #142106 -
Attachment is obsolete: true
Comment 8•21 years ago
|
||
in the newer patch, is aPassword plaintext, obscured or encrypted? Can you
document that?
Assignee | ||
Updated•21 years ago
|
Attachment #142697 -
Flags: superreview?(darin)
Comment 9•21 years ago
|
||
Comment on attachment 142697 [details] [diff] [review]
a newer patch
>Index: netwerk/base/public/nsIPasswordManagerInternal.idl
>+ * @param aUser The username portion of the login
>+ * @param aPassword The password portion of the login
...
>+ void addUserFull(in AUTF8String aKey,
>+ in AString aUser,
>+ in AString aPassword,
yeah, i agree with mvl. please document the fact that the username and
password must be passed in plain text. it's not obvious in the context
of importing usernames and passwords.
>+ /**
>+ * Reads logins from a Mozilla Password Manager file, augmenting the current
>+ * in-memory set.
augmenting is a vague term. can you be more specific? like, perhaps
we want to mention what happens when a conflict occurs. e.g., suppose
we already have a password for a given key+username combo, but suppose
the new password is different. we should document this behavior.
sr=darin with those things documented.
Attachment #142697 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 10•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 11•20 years ago
|
||
Is there a bug for a UI to use this? Bug 256406 asks for the export
funtionality. Bug 250160 asks for import. They could serve this purpose.
pi
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•