Large purge of Onionshare code that is no longer used, as well as some cleanup in files that started from Onionshare.
All code was also re-formatted using black now, a future commit should add a pre-commit hook for black, and whenever CI/CD is worked out black -check will be included.
Some bandit lint notes were addressed as well to ensure the utmost in security. Namely all random operations were moved to use the secrets package for its cryptographic number generation.
No logic changes were made, and the app performs identically to how it did before, only with many unused code paths eliminated.
This partially addresses #12 which is an ongoing issue. Remaining items include changing icons, license files, and other meta-level vestige code to make the whole project bifurcated from Onionshare.
Checklist
[x] If code changes were made then they have been tested.
[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)
Summary
Large purge of Onionshare code that is no longer used, as well as some cleanup in files that started from Onionshare.
All code was also re-formatted using black now, a future commit should add a pre-commit hook for black, and whenever CI/CD is worked out black -check will be included.
Some bandit lint notes were addressed as well to ensure the utmost in security. Namely all random operations were moved to use the secrets package for its cryptographic number generation.
No logic changes were made, and the app performs identically to how it did before, only with many unused code paths eliminated.
This partially addresses #12 which is an ongoing issue. Remaining items include changing icons, license files, and other meta-level vestige code to make the whole project bifurcated from Onionshare.
Checklist