mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
docs: drop RFC citations and what-comments, fix stale refs
Apply the no-internal-citation and WHY-not-WHAT rules to source comments; correct stale identifiers (NewBrowser, PBKDF2Key) and RFC facts (Yandex ciphertext, Firefox PBKDF2 password).
This commit is contained in:
@@ -50,13 +50,11 @@ func readKey4DB(path string) (*key4DB, error) {
|
||||
|
||||
var record key4DB
|
||||
|
||||
// Read metaData table
|
||||
const metaQuery = `SELECT item1, item2 FROM metaData WHERE id = 'password'`
|
||||
if err := db.QueryRow(metaQuery).Scan(&record.globalSalt, &record.passwordCheck); err != nil {
|
||||
return nil, fmt.Errorf("query metaData: %w", err)
|
||||
}
|
||||
|
||||
// Read nssPrivate table
|
||||
const nssQuery = `SELECT a11, a102 FROM nssPrivate`
|
||||
rows, err := db.Query(nssQuery)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user