I created a new profile for 57 (FWIW, old profile = 160 megs; new profile = 60 megs) and saw a file named key4.db. I always copy over my key3.db file, and decided to copy over the key4 file also, just in case.
Is this needed at all, to copy over passwords into a new profile? And if not, what is its purpose?
What does key4.db do?
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: What does key4.db do?
Old format
http://www.mankier.com/5/cert8.db
http://www.mankier.com/5/key3.db
New format
http://www.mankier.com/5/cert9.db
http://www.mankier.com/5/key4.db
NSS (Network Security Services) is a set of libraries designed and maintained by Mozilla to support cross-platform development of security-enabled client and server applications.
http://www.mankier.com/5/cert8.db
http://www.mankier.com/5/key3.db
New format
http://www.mankier.com/5/cert9.db
http://www.mankier.com/5/key4.db
NSS (Network Security Services) is a set of libraries designed and maintained by Mozilla to support cross-platform development of security-enabled client and server applications.
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: What does key4.db do?
those files are not new, they were introduced 2015, not only firefox, but i saw comments for linux and thunderbird.
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: What does key4.db do?
IMO, psaulm119 should keep both formats. The NSS developers are going to stop supporting the old format.
switch Mozilla to use the cert9+key4 (aka sql) database file format
http://bugzilla.mozilla.org/show_bug.cgi?id=783994
For reading only as Bugzilla is not a forum.
switch Mozilla to use the cert9+key4 (aka sql) database file format
http://bugzilla.mozilla.org/show_bug.cgi?id=783994
For reading only as Bugzilla is not a forum.
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: What does key4.db do?
That was with 57 or 58 where that happened?I created a new profile for 57 ... and saw a file named key4.db.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- psaulm119
- Posts: 646
- Joined: November 4th, 2007, 2:23 pm
Re: What does key4.db do?
I'm not saying that key4.db was created just now, when I made my new profile, only that I just noticed it, as I normally jsut transfer over places.sqlite, key3.db, and logins.json files. But noticing the key4, I wondered if it had replaced key3, that's all. No need to copy over an unnecessary file.
So for future new profiles, as far as passwords go, I only need key4 and logins.json, correct?
therube wrote:That was with 57 or 58 where that happened?I created a new profile for 57 ... and saw a file named key4.db.
So for future new profiles, as far as passwords go, I only need key4 and logins.json, correct?
Paul
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: What does key4.db do?
@therube
I tested...
Firefox Portable 57 Release has the key3.db file in a fresh profile.
Firefox Portable 58 Beta has the key4.db file in a fresh profile.
C:\FirefoxPortable\Data\profile\key3.db
C:\FirefoxPortableTest\Data\profile\key4.db
I tested...
Firefox Portable 57 Release has the key3.db file in a fresh profile.
Firefox Portable 58 Beta has the key4.db file in a fresh profile.
C:\FirefoxPortable\Data\profile\key3.db
C:\FirefoxPortableTest\Data\profile\key4.db
- mightyglydd
- Posts: 9813
- Joined: November 4th, 2006, 7:07 pm
- Location: Hollywood Ca.
- psaulm119
- Posts: 646
- Joined: November 4th, 2007, 2:23 pm
Re: What does key4.db do?
I installed 58b last night. That could be why I have key4. I usually don't worry about mixing beta and release profiles---I usually just keep the same profile for either version.
Paul
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: What does key4.db do?
it is present here since oct'19 - before beta
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: What does key4.db do?
My Fx57 profile only has key3.db, while my Nightly profile has key4.db. The bug report indicated "Fixed for Fx58".
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.