NSS needs a database tool that can dump the low level representation of the database.
Categories
(NSS :: Tools, enhancement)
Tracking
(Not tracked)
People
(Reporter: rrelyea, Assigned: rrelyea)
References
Details
Attachments
(1 file, 1 obsolete file)
When debugging the database, it would be helpful to know what is in the database is a nicely formated way. certutil dumps a high level view of the certs and keys, sqlite3 can dump the low level tables and raw entries. It would be useful to dump the database as softoken sees the database.
Since dbm is basically deprecated, this tool only needs to dump sqlite database.
Assignee | ||
Updated•3 years ago
|
Comment hidden (off-topic) |
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
When debugging the database, it would be helpful to know what is in the database is a nicely formated way. certutil dumps a high level view of the certs and keys, sqlite3 can dump the low level tables and raw entries. It would be useful to dump the database as softoken sees the database.
This code grabs a copy of the latest sdb.c from softoken and uses it to fetch the database entries, then parses them as necessary. It uses the pkcs11 table in libsec to format the result data into human readable strings.
Assignee | ||
Comment 3•2 years ago
|
||
When debugging the database, it would be helpful to know what is in the database is a nicely formated way. certutil dumps a high level view of the certs and keys, sqlite3 can dump the low level tables and raw entries. It would be useful to dump the database as softoken sees the database.
This code grabs a copy of the latest sdb.c from softoken and uses it to fetch the database entries, then parses them as necessary. It uses the pkcs11 table in libsec to format the result data into human readable strings.
Comment 4•2 years ago
|
||
Comment on attachment 9331075 [details]
WIP: Bug 1774659 NSS needs a database tool that can dump the low level representation of the database.
Revision D165221 was moved to bug 1774657. Setting attachment 9331075 [details] to obsolete.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Updated•1 year ago
|
Description
•