> But it turns out that what I really want is the format of
> the signed.db file, not cert7.db. signed.db appears not
> to be in dbm format. Any idea what it could be?
The extension .db indicates that it's also a DB file.
Netscape have to be crazy to use the same extension even for
different contents. Notice that its Berkely-DB 1.8x format and
not standard Unix (N)DBM, of course. I think this signed.db
is also a DB file, but perhaps has different binary headers on
the stored values.
signed.db is definitely not a DB 1.85 hashed file. It doesn't appear
to be in any of the other DB 1.85 formats (recno or btree) either.
I've been able to figure out a few things about its format by
inspecting it, and it seems like an ad hoc kludge of some type. For
example, most of the strings in it seem to be prefixed by a one-byte
field giving the string's length, with A=1, B=2, etc. and going up
through non-alphabetic characters.
Yes, it's crazy, but if Netscape weren't already doing crazy
things, I wouldn't have the need to understand this file. :(
I notice that Netscape for Linux doesn't use signed.db; signed.db
is only in windoze 95, as far as I've seen (I don't know about NT).
The current builds of Mozilla use a totally different, XML-based
format to store this info. Maybe the contents are otherwise similar
and I can figure out a mapping between them today. I spent most
of yesterday staring at the file and trying to chase down info,
with very little success.
Any further thoughts are appreciated.
Regards
Paul
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]