feat: enhance firefox 144+ master key retrieval and improve padding validation (#499)

* feat: enhance firefox 144+ master key retrieval and improve padding validation

* fix: correct SQL query casing in nssPrivate test

* fix: reorder import statements in firefox.go for consistency
This commit is contained in:
Aquilao Official
2026-03-03 11:56:44 +08:00
committed by GitHub
parent 1ae127efb1
commit 3a89cb63ce
3 changed files with 131 additions and 8 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func TestQueryNssPrivate(t *testing.T) {
rows := sqlmock.NewRows([]string{"a11", "a102"}).
AddRow([]byte("nssA11"), []byte("nssA102"))
mock.ExpectQuery("SELECT a11, a102 from nssPrivate").WillReturnRows(rows)
mock.ExpectQuery("SELECT a11, a102 FROM nssPrivate").WillReturnRows(rows)
nssA11, nssA102, err := queryNssPrivate(db)
assert.NoError(t, err)