diff --git a/requirements.txt b/requirements.txt index 3466c25..04a3ce5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,5 @@ Flask==1.1.1 flask-mysqldb==0.2.0 bcrypt == 3.1.7 requests==2.22.0 +http-ece==1.1.0 +cryptography==2.7 diff --git a/setup.sql b/setup.sql index 4439309..7e159ef 100644 --- a/setup.sql +++ b/setup.sql @@ -18,6 +18,9 @@ CREATE TABLE IF NOT EXISTS `bots` ( `handle` VARCHAR(128) PRIMARY KEY, `user_id` INT NOT NULL, `credentials_id` INT NOT NULL, + `push_private_key` VARCHAR(256) NOT NULL, + `push_public_key` VARCHAR(256) NOT NULL, + `push_secret` VARCHAR(256), `enabled` BOOLEAN DEFAULT 1, `replies_enabled` BOOLEAN DEFAULT 1, `post_frequency` SMALLINT UNSIGNED DEFAULT 30,