Re: Howto convert or export galeon site passwords for use with epiphany

Paul Jakma <[email protected]> Sun, 20 Jan 2008 13:37:59 +0000 (GMT)
Newsgroups gmane.comp.web.galeon.user
Message-ID <[email protected]>
On Sun, 20 Jan 2008, Paul Jakma wrote:

> I have one problem though: A long list of site passwords for which 
> there doesn't seem any obvious way to import into epiphany (galeon 
> uses mozilla's password storage method it seems, epiphany uses 
> solme GNOME method it seems).
>
> Galeon's password file, signons2.txt seems to contain two 
> encodings. Long-standing passwords are base64 encoded, then 
> prepended with ~. Newer passwords however seem to use some other 
> encoding.
>
> Any clues on how to get that into epiphany?

Ever noticed that posting a question to a mailing list is a 
prerequisite for finding the answer yourself? The answer is:

Epiphany uses the exact same password site mechanism as Galeon (at 
least for versions 2.20 and 2.0.3 respectively), i.e. a 
<prefix>/mozilla/<browser name>/signons2.txt file. This is, it seems, 
the same mechanism as Firefox, except that neither galeon nor 
epiphany make use of the master-key feature (which would be kept in 
key3.db in the same directory). So to migrate:

    cp ~/.galeon/mozilla/galeon/signons2.txt \
       ~/.gnome2/epiphany/mozilla/epiphany/

If you already have passwords stored in epiphany, which are not in 
galeon, you can merge the files manually quite easily. The file 
format is fairly obvious:

#2d
<list of 'dont remember password sites'>
.
<lists of 'details for a site' blocks>
.

I'd still be curious to know what the new encoding is though 
(epiphany has an option to display the decoded passwords, but if 
someone could save me from wading through the sources of epiphany 
and/or mozilla.. ;) ).

regards,
-- 
Paul Jakma	[email protected]	[email protected]	Key ID: 64A2FF6A
Fortune:
He thinks by infection, catching an opinion like a cold.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/