Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Data portability - import / export of Lockwise passwords

more options

How can I import passwords from another manager into Lockwise? I know that some third-party services exist, since Lockwise does not have the native function, but I don't know which ones are reliable. Need help.

That said, how does Mozilla feel about data portability while disobeying the General Data Protection Regulation?

How can I import passwords from another manager into Lockwise? I know that some third-party services exist, since Lockwise does not have the native function, but I don't know which ones are reliable. Need help. That said, how does Mozilla feel about data portability while disobeying the General Data Protection Regulation?

All Replies (2)

more options

It is possible to use the Browser Console to import logins in JSON format, so if your password manager support this format then it is not that difficult. Otherwise you first need to convert your exported password file to JSON.

logins: array of comma separated logins in JSON format:

  • logins = [{"username":"xxx","password":"xxx","hostname":"https://xxx","origin":"https://xxx"},{}];

/* export/import logins as JSON */
var logins = prompt("Logins",JSON.stringify(Services.logins.getAllLogins()));
if (logins = prompt("Array of Logins in JSON format: [{},{}]",logins||"?")){
try {
logins = JSON.parse(logins);
ChromeUtils.import("resource://gre/modules/LoginHelper.jsm");
try {/*[60+]*/
 var i,lg;
 for (i=0; lg=logins[i]; i++){if (!lg.origin){lg.origin = lg.hostname}}
 LoginHelper.maybeImportLogins(logins);
} catch(e) {console.log(e);}
} catch(e){console.log(e);}
}

See also:

Modified by cor-el

more options

Edson Neto said

That said, how does Mozilla feel about data portability while disobeying the General Data Protection Regulation?

Does GDPR require that locally installed software be able to export data you've stored in it? I don't remember that being a requirement.