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:
moonD4rk
2026-06-13 21:13:07 +08:00
parent 2b1283af18
commit 64836e9b3c
30 changed files with 82 additions and 92 deletions
-2
View File
@@ -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 {