-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #66 Banlist is now encrypted, and decrypted into memory when creating a `Freqlog`/ `SQLiteBackend` object. Password is supplied through `password` arg in `Freqlog.__init__()` and `SQLiteBackend.__init__()` and by user through prompts in GUI and CLI. To make this easier the case-sensitivity code from all ban-related functions and `ban_lower` table from db were removed. Additional changes: - Fix bug where upgrade prompt is shown on first run - Populate upgrade function in `SQLiteBackend` to upgrade from lower versions - Add `is_backend_initialized` and `is_db_populated` functions to `Freqlog` and `SQLiteBackend`, respectively - Add `encrypt`, `decrypt`, `set_password`, `check_password` and `_fetch_config` functions to `SQLiteBackend` - Simplify GUI dialog generation code - Improve GUI error/confirm dialogs - Add cryptography dependency - Gitignore all `sqlite3` files to ease backups - Bump version to 0.5.0 --------- Signed-off-by: Raymond Li <[email protected]> Co-authored-by: Priyanshu Tripathi <[email protected]>
- Loading branch information
1 parent
862b668
commit c4972e7
Showing
13 changed files
with
643 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.idea/ | ||
log.txt | ||
nexus_freqlog_db.sqlite3 | ||
*.sqlite3 | ||
*.sqlite3-journal | ||
build/ | ||
dist/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ pyinstaller~=5.13 | |
setuptools~=68.1 | ||
PySide6~=6.5 | ||
pySerial~=3.5 | ||
cryptography~=41.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.