From e92044ec1b051b3c5d2e9525cefe0664960422e1 Mon Sep 17 00:00:00 2001 From: StNicolay <103897650+StNicolay@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:02:11 +0300 Subject: [PATCH] Added function headers in database.add --- src/database/add.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/database/add.py diff --git a/src/database/add.py b/src/database/add.py new file mode 100644 index 0000000..d9ab7f7 --- /dev/null +++ b/src/database/add.py @@ -0,0 +1,16 @@ +import mariadb + + +def add_master_pass(hashed_passwd: bytes, salt: bytes, con: mariadb.Connection) -> bool: + ... + + +def add_account( + id: int, + salt: bytes, + acc_name: str, + enc_login: bytes, + enc_passwd: bytes, + con: mariadb.Connection, +) -> bool: + ...