netscape 2 certification authorities
The new betas of Netscape store CA trust stuff in a NDBM database. Does anyone have good tools for looking at NDBM stuff? Adam -- "It is seldom that liberty of any kind is lost all at once." -Hume
-----BEGIN PGP SIGNED MESSAGE-----
"Adam" == Adam Shostack <adam@homeport.org> writes:
Adam> The new betas of Netscape store CA trust stuff in a Adam> NDBM database. Does anyone have good tools for looking at Adam> NDBM stuff? In Perl a NDBM database looks like an associative array. Andreas -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAgUBMH59b0yjTSyISdw9AQFiEwP/RxshjTL9vHuGrsHmq4yVdda7M9oQttX8 ms0Mkla1VP+aTh9cSu/B9bzPaX5DmVZ1KDKv/NoHlqcXTQl9BlokiwDtOPKGDCq2 bt08ubgnUF1H5r9aTgaU+qp4qhOo4aUHOwPSV/DC1SLVWk23UYASm+LXAwtwPf0X sMkEI8GIYy8= =zGky -----END PGP SIGNATURE-----
Adam Shostack <adam@lighthouse.homeport.org> writes: The new betas of Netscape store CA trust stuff in a NDBM database. Does anyone have good tools for looking at NDBM stuff?
Perl's my favorite. Here's a code fragment that might help. All you need to do is open the ndbm file (foo.pag/foo.dir in this case) and aim it at an associative array, then have your way with it. Jim Gillogly Sterday, 22 Winterfilth S.R. 1995, 00:14 ---------------------------------------------------------------------------- #!/usr/bin/perl dbmopen(%baz, "foo", 0600); # At this point just access %count the way you would any other assoc array # For example, to list it all: while (($key, $value) = each %baz) { printf "Key $key, value $value\n"; } dbmclose(baz); ----------------------------------------------------------------------------
Adam Shostack writes:
The new betas of Netscape store CA trust stuff in a NDBM database. Does anyone have good tools for looking at NDBM stuff?
Perl treats NDBM files as if they are internal arrays if you ask it to -- I often examine strange NDBM files this way. Its pretty convenient for the task. Perry
participants (4)
-
Adam Shostack -
Andreas Bogk -
Jim Gillogly -
Perry E. Metzger