Commit Graph

32 Commits

Author SHA1 Message Date
0463388829 Massive code cleanup 2022-11-30 16:05:33 +03:00
b4c6e17ce2 Decreased size of enc_login and enc_pass to 256 bytes 2022-11-25 21:21:18 +03:00
21bd01c3ed Changed and added comments in the database files 2022-11-10 18:45:10 +03:00
a1bed9014d Changed the way the master password hashing works
Switched from Bcrypt to Scrypt for master password hashing
Changed models to use new sizes for hashes and salts, doubled the size of enc_login and enc_passwd for accounts
Created new function to check master password validity
Increased salt sizes for accounts and master passwords
Removed bcrypt from requirements
2022-11-07 16:30:45 +03:00
570f15001e switched mariadb connector to pymysql 2022-11-04 02:17:17 +03:00
37a81ed22d Changed change_master_pass to be more readable 2022-11-02 18:34:02 +03:00
373623b0b4 Removed type_ from sqlmodel.Column, because it isn't needed 2022-11-02 14:42:26 +03:00
afc03a6c1f Removed comment which broke code, when uncommented 2022-11-02 14:42:26 +03:00
ae2b214904 Fixed an error of getting wrong account
I'm now quite shure how it worked before
2022-10-31 21:09:12 +03:00
b7120f2627 Fixed an error of deleting all passwords, instead of 1 with command delete_account 2022-10-30 23:03:26 +03:00
99c24d9917 Added commit statement 2022-10-30 22:57:26 +03:00
fae04547c8 added commits to delete funcs 2022-10-29 22:04:04 +00:00
267e54bb29 Added ability to delete account of a user 2022-10-14 20:01:05 +03:00
b1017082a9 Fixed reset of master password 2022-10-14 19:53:05 +03:00
822061ae49 Removed prints 2022-10-14 19:35:16 +03:00
7fe7b23a63 Filled delete.py and created change.py 2022-10-14 17:48:32 +03:00
85129d8b7a Changes to db: fixed error in __init__, looking for more precise errors 2022-10-14 17:12:24 +03:00
29b7125a4d Added comments 2022-10-14 15:41:55 +03:00
3ebe4240bf Changed database scripts 2022-10-14 15:38:03 +03:00
e744cba7c8 database.prepare now accepts connection 2022-10-05 15:10:10 +03:00
44ae963f69 Added other files to database.__init__ 2022-10-05 15:05:28 +03:00
d61cd11a20 Sorted imports 2022-10-05 15:04:39 +03:00
4753d91ba4 Created delete.py 2022-10-05 15:01:34 +03:00
289532fd95 No longer recreating indexes 2022-10-05 14:56:03 +03:00
91518559b0 Added exception handling 2022-10-05 14:52:23 +03:00
6546fc0401 Completed add_account function 2022-10-05 14:47:34 +03:00
7cfb97199f Completed add_master pass function 2022-10-05 14:44:03 +03:00
449056d2d2 made passwrd lowercase 2022-10-05 14:38:00 +03:00
e92044ec1b Added function headers in database.add 2022-09-29 16:02:11 +03:00
c8410a877c Created get.py 2022-09-29 15:58:56 +03:00
44bab0fb48 Created database/prepare.py 2022-09-26 22:44:48 +03:00
6cd1016249 Created file structure 2022-09-26 20:34:02 +03:00