add a message when the database is broken
follows the discussion in #6
if row[1] == MAGIC1:
break
a11 = row[0] # CKA_VALUE
- assert row[1] == MAGIC1 # CKA_ID
+ assert (
+ row[1] == MAGIC1
+ ), "The Firefox database appears to be broken. Try to add a password to rebuild it." # CKA_ID
decodedA11, _ = der_decode(a11)
entrySalt = decodedA11[0][1][0].asOctets()
cipherT = decodedA11[1].asOctets()
setup(
name="ffpass",
- version="0.4.4",
+ version="0.4.5",
author="Louis Abraham",
license="MIT",
author_email="louis.abraham@yahoo.fr",