eric6/Utilities/crypto/__init__.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8176
31965986ecd1
child 8235
78e6d29eb773
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
70 70
71 pw, ok = QInputDialog.getText( 71 pw, ok = QInputDialog.getText(
72 None, 72 None,
73 QCoreApplication.translate("Crypto", "Master Password"), 73 QCoreApplication.translate("Crypto", "Master Password"),
74 QCoreApplication.translate("Crypto", "Enter the master password:"), 74 QCoreApplication.translate("Crypto", "Enter the master password:"),
75 QLineEdit.Password) 75 QLineEdit.EchoMode.Password)
76 if ok: 76 if ok:
77 from .py3PBKDF2 import verifyPassword 77 from .py3PBKDF2 import verifyPassword
78 masterPassword = Preferences.getUser("MasterPassword") 78 masterPassword = Preferences.getUser("MasterPassword")
79 try: 79 try:
80 if masterPassword: 80 if masterPassword:

eric ide

mercurial