Commit Graph

  • 4ef018ccfc Added checks for master password unstable StNicolay 2023-01-11 18:51:21 +0300
  • aa36f2eb82 Renamed fucntion for verifying master password StNicolay 2023-01-11 17:53:57 +0300
  • 931e93fbde Increased amount of iterations of key derivation function in accounts.py StNicolay 2023-01-11 17:50:39 +0300
  • 972c5577f4 Added validation to the database models main 1.4 StNicolay 2023-01-10 21:00:03 +0300
  • 671286dc39 Removed backend because it wasn't used in encryption.accounts StNicolay 2023-01-10 20:28:34 +0300
  • 5dbf93013a Added requesting a master password for deleting accounts, deleting all, reseting master password StNicolay 2023-01-10 20:10:48 +0300
  • c051c14f1f Switched to the ChaCha20Poly1305 encryption algorithm for better security StNicolay 2023-01-10 20:00:58 +0300
  • 3686195396 Added a message about exceptions for a user StNicolay 2023-01-06 17:32:44 +0300
  • d79b57b1f0 Added return statement after sending a message about that there is no active message StNicolay 2023-01-05 14:52:45 +0300
  • 157c2c4aa2 _import3 no longer blocks event loop during decryption StNicolay 2023-01-05 13:48:23 +0300
  • f4a5f51b23 Made more verbose exception handler for the bot for easier debugging StNicolay 2023-01-05 13:47:31 +0300
  • 6bc8eb1413 db.add changes StNicolay 2023-01-05 13:16:04 +0300
  • 9f64305050 Moved sorting back to the get_accounts StNicolay 2023-01-05 13:03:44 +0300
  • 4954f39a91 Added indentation into exported json files StNicolay 2023-01-05 13:02:50 +0300
  • 3edeb86b6c Disabled autoincrement in master_passwords table StNicolay 2023-01-05 13:01:28 +0300
  • c7675c231f Fixed sending a final message in /import 1.3.1 StNicolay 2023-01-03 21:07:37 +0300
  • ae88fccf13 Updated type hint of the handler in the register_state function StNicolay 2023-01-03 12:34:54 +0300
  • e29eefe40b Changes in helper_functions.delete_message Removed checking if sleep_time is 0 Moved sleeping outside of try block StNicolay 2023-01-03 12:29:08 +0300
  • fdbed91512 Now account name is copyable 1.3 StNicolay 2023-01-03 12:12:40 +0300
  • f9d163361a Renamed functions in db.get get_accounts -> get_account_names get_all_accounts -> get_accounts StNicolay 2023-01-03 12:08:06 +0300
  • 9ec66a3521 Renamed src/database into src/db StNicolay 2023-01-03 11:59:06 +0300
  • 70e9afe21d Small reformating in bot.message_handler StNicolay 2023-01-03 11:48:25 +0300
  • 5d59adb7d2 Renamed encryption/other_accounts into encryption/accounts StNicolay 2023-01-01 00:21:53 +0300
  • 281c4a262b _export2 no longer blocks event loop during decryption Removed sorting in get_all_accounts Removed decrypt_multiple function because it is no longer used Now running decrytion of accounts in ProcessPoolExecutor StNicolay 2023-01-01 00:18:57 +0300
  • 74844da4ae Added backslash to the forbidden chars StNicolay 2022-12-30 13:54:03 +0300
  • 77be64ed4b sorted imports StNicolay 2022-12-29 18:22:37 +0300
  • 5bec51beb2 Added keyboard markup to /delete_account StNicolay 2022-12-29 15:42:27 +0300
  • d5d87a8f3b Quality of life changes Changed default action of /cancel to be handled at message_handler Added keyboard markup to get_account for easier account selection StNicolay 2022-12-29 15:38:38 +0300
  • d4c50432d7 Added ability to send message, which can be deleted by pressing a button StNicolay 2022-12-29 15:25:20 +0300
  • 0026e3321a Made handlers asynchrounos Switched from TeleBot class to AsyncTeleBot StNicolay 2022-12-28 20:36:25 +0300
  • 8858aa09a7 Added conformation before deleting an account. No longer raising an exception if message deletion fails StNicolay 2022-12-25 21:32:21 +0300
  • e165020111 Added blank lines in encryption.other_accounts for better readability StNicolay 2022-12-25 21:03:08 +0300
  • 50eb3057d5 Renamed classes.py into decrypted_accounts.py. Removed unnessesary elements from that file StNicolay 2022-12-25 21:01:18 +0300
  • 3f744723a9 Major refactor of the code A lot of function are now using classes instead of parameters or tuples isort was added to the dev requirements Comments were adjusted StNicolay 2022-12-25 18:01:12 +0300
  • bbc9650357 Changed database.get file. Added fetchall method calls to close session sooner StNicolay 2022-12-25 17:59:26 +0300
  • f299173e56 Changes to database.get_accounts Function is only fetching account names from db and not whole accounts now Made sorting in that function optional StNicolay 2022-12-25 17:33:36 +0300
  • 5991041b35 Added timeout to the deletion of the message in _send_tmp_message StNicolay 2022-12-16 06:25:00 +0000
  • c2eca49933 Switched to building an image localy instead of using one from docker hub Added database folder Created Dockerfile and config for mariadb image Moved data folder tp database/data/ StNicolay 2022-12-15 15:13:39 +0000
  • a9417058ee Updated tables, changed primary keys Removed id fields from tables Set user_id to be primary key of master_passwords Set user_id and name to be primary keys of accounts StNicolay 2022-12-10 23:46:00 +0300
  • 9690db982e Added info about total amount of accounts for get_acccounts command StNicolay 2022-12-06 14:28:29 +0300
  • 025ea868a6 Addedd ensure_ascii=False to exporting Accounst StNicolay 2022-12-06 14:21:36 +0300
  • d82d152fef Added ordering by name for accounts StNicolay 2022-12-06 14:16:03 +0300
  • b0599c1484 Added pool_recycle every hour StNicolay 2022-12-05 20:10:20 +0300
  • eab94e1c01 Added flake8 config to dockerignore StNicolay 2022-11-30 20:26:32 +0300
  • b42cbb57a4 Renamed cryptogra[hy folder into encryption to not overshadow cryptography module StNicolay 2022-11-30 20:24:46 +0300
  • 138ec55ae5 Added flake8 to requirements-dev.txt, added flake8 config file StNicolay 2022-11-30 20:06:04 +0300
  • 6cd8091fde More code cleanup with a few bug fixes StNicolay 2022-11-30 19:41:57 +0300
  • 0d3965d5d2 Renamed columns in tables MasterPass passwd -> password_hash Account enc_pass -> enc_password 1.2 StNicolay 2022-11-30 17:05:04 +0300
  • 04bb306751 Added _base_handler call to the cancel function in handlers StNicolay 2022-11-30 16:53:59 +0300
  • 2a5b594f3f Renamed gen_password.py into generate_password.py, fixed gen_password command StNicolay 2022-11-30 16:50:42 +0300
  • 2d2ed017f1 Removed utils.py, added decrypt_multiple function in other_accounts.py StNicolay 2022-11-30 16:41:19 +0300
  • e9eaa085a2 Moved utils into src directory, moved most of the functions from it into separate files StNicolay 2022-11-30 16:28:37 +0300
  • 0463388829 Massive code cleanup StNicolay 2022-11-30 15:56:25 +0300
  • 944f23a146 Added new lines in requirements StNicolay 2022-11-26 19:45:29 +0300
  • b4c6e17ce2 Decreased size of enc_login and enc_pass to 256 bytes StNicolay 2022-11-25 21:21:18 +0300
  • 2ea3096fb0 encoding and decoding result of fernet to store data better StNicolay 2022-11-25 21:02:21 +0300
  • 63de9010de Switched .venv to venv in .dockerignore StNicolay 2022-11-22 08:08:12 +0000
  • e49f2e00eb Made pip upgrade before copying requirements.txt in Dockerfile 1.1.1 StNicolay 2022-11-18 16:38:25 +0000
  • fd002e3718 Added command to update pip setuptools and install wheel in Dockerfile StNicolay 2022-11-18 11:34:04 +0000
  • d68a7bb6e8 Moved check of generated password into separate function StNicolay 2022-11-15 15:39:38 +0300
  • d5f3708c50 Refactored utils.py Created constants FORBIDDEN_CHARS, PUNCTUATION, PASSWORD_CHARS Removed pipe from forbidden chars Moved Message type alias to the top of the file Optimized _base_check and made its parameter positional only Changed gen_password to use said constants StNicolay 2022-11-15 15:08:27 +0300
  • cc13b35282 Made class Account private in utils.py StNicolay 2022-11-14 16:40:16 +0300
  • 3802943225 Changed telebot.types.Message to Message in handlers for old functions StNicolay 2022-11-14 16:39:20 +0300
  • 309fb2108b Removed unnessesary import from src.__init__ StNicolay 2022-11-14 16:38:16 +0300
  • 9d5c52bebe optimized password generation function StNicolay 2022-11-14 16:54:31 +0300
  • a61deca6fa Removed unnecessary comments and type hints in src.__init__ StNicolay 2022-11-13 19:49:21 +0300
  • 18abdecb74 Increased time untill deletion for /gen_password to 15 secs 1.1 StNicolay 2022-11-13 18:53:11 +0300
  • 46a1fe59b2 Documented /gen_password command StNicolay 2022-11-13 18:51:23 +0300
  • 9ee51dc19f Added /gen_password command StNicolay 2022-11-13 18:49:57 +0300
  • 2c07b3bed2 Added function for password generation is utils.py StNicolay 2022-11-13 18:49:14 +0300
  • b8113dc47b Sorted imports in utils.py StNicolay 2022-11-13 18:16:03 +0300
  • 21bd01c3ed Changed and added comments in the database files StNicolay 2022-11-10 18:45:10 +0300
  • c2280e8bc2 Changed functions for encryption and decryption of accounts to use str of master_pass instead of bytes StNicolay 2022-11-09 19:02:58 +0300
  • f7f954ecd3 Sorted imports StNicolay 2022-11-09 18:52:59 +0300
  • 559ee8f6d8 Renamed _memory_use in cryptography into MEMORY_USAGE StNicolay 2022-11-07 21:02:13 +0300
  • a1bed9014d Changed the way the master password hashing works 1.0 StNicolay 2022-11-04 00:34:01 +0300
  • 66ab13b45d Changed handlers.get_accounts to use a guard clause, added comment to clarify, why we are putting account in backticks StNicolay 2022-11-05 00:25:23 +0300
  • da42d7ad1d Changed comments in cryptograpy.other_accounts to be more precise StNicolay 2022-11-05 00:22:37 +0300
  • 570f15001e switched mariadb connector to pymysql StNicolay 2022-11-04 02:15:16 +0300
  • b4bf9fbf41 Changed mariadb.Connection to Engine in __init__ of bot StNicolay 2022-11-04 02:16:47 +0300
  • 042ca9312e Cleaned up code in handlers StNicolay 2022-11-04 01:15:28 +0300
  • b10b1fe2b3 changed to the newer version of mariadb StNicolay 2022-11-03 16:27:52 +0000
  • 03646b6156 Added checks to /import StNicolay 2022-11-03 10:49:00 +0300
  • b56ebd0b61 Added account name and account credential checking StNicolay 2022-11-02 23:11:29 +0300
  • adf9865fbe Added ability to copy account name from /get_accounts That also fixed an issue of having wrong behaviour, if using any special chars in account name StNicolay 2022-11-02 23:02:20 +0300
  • 4122e15308 Added data directory to .dockerignore StNicolay 2022-11-02 18:29:54 +0000
  • 37a81ed22d Changed change_master_pass to be more readable StNicolay 2022-11-02 18:34:02 +0300
  • fb850e3737 Added ability to import accounts StNicolay 2022-11-01 10:32:42 +0300
  • dbf27d401e Added ability to export accounts to json StNicolay 2022-11-01 09:46:09 +0300
  • 373623b0b4 Removed type_ from sqlmodel.Column, because it isn't needed StNicolay 2022-11-02 14:41:56 +0300
  • afc03a6c1f Removed comment which broke code, when uncommented StNicolay 2022-11-02 14:41:07 +0300
  • 4ee7f0a609 Added installation of g++ to Dockerfile StNicolay 2022-11-01 09:26:13 +0000
  • ae2b214904 Fixed an error of getting wrong account I'm now quite shure how it worked before StNicolay 2022-10-31 21:09:12 +0300
  • 01ab461d28 Added message of failure to add account StNicolay 2022-10-31 20:40:53 +0300
  • 9c095779a5 Fixed a typo in README and changed one of the phrase to be more correct Beta StNicolay 2022-10-30 20:39:00 +0000
  • 9f1790b58d Changed message for reseting master password StNicolay 2022-10-30 23:22:01 +0300
  • 3c5d309b9a Removed mension of missing conformation for deleting all StNicolay 2022-10-30 23:20:38 +0300
  • 3e570dbaff Changed order of operations in the Dockerfile StNicolay 2022-10-30 23:08:24 +0300
  • b7120f2627 Fixed an error of deleting all passwords, instead of 1 with command delete_account StNicolay 2022-10-30 23:03:26 +0300
  • 99c24d9917 Added commit statement StNicolay 2022-10-30 22:57:26 +0300