Feature Description
// GetMasterKey returns the master key of the Firefox browser.
func (f *Firefox) GetMasterKey() ([]byte, error) {
return f.masterKey, nil
}
In fact, the master key used by Firefox for encryption and decryption is stored in the key4.db file. It can be initialized using the same method instead of initializing it when exporting passwords.
Why is this feature needed?
Enhance code consistency and readability.
Checklist
Screenshots/Videos
If applicable, add screenshots or videos to help explain your proposal.
Additional Context
Add any other context or screenshots about the feature request here.