Commit graph

94 commits

Author SHA1 Message Date
Tad
4c65d96a81
Increase hash length due to false positive repots
Signed-off-by: Tad <tad@spotco.us>
2023-01-31 14:48:09 -05:00
Tad
833eae3841 Don't trim hashes as much
Collisions

Signed-off-by: Tad <tad@spotco.us>
2022-12-15 06:39:03 -05:00
Tad
745d70ced5
Various optimizations
- Trim hashes to 8 characters instead of 12. Saves ~10MB by default.
- Optimized databases. Saves ~8MB by default.
- Deduplicated strings. Saves ~12MB by default.

idle usage on arm64
- With defaults: ~165MB, previously ~195MB
- With all databases: ~350MB, previously ~650MB

Signed-off-by: Tad <tad@spotco.us>
2022-12-15 06:29:35 -05:00
Tad
7d774092c6
Add support for the Amnesty International Investgations database
Signed-off-by: Tad <tad@spotco.us>
2022-12-06 12:53:48 -05:00
Tad
0940066459
Fixup inability to fully scan on Android 11 and higher
Signed-off-by: Tad <tad@spotco.us>
2022-12-03 16:09:15 -05:00
Tad
3c0307c1fc Crash fix
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/23
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/20

Signed-off-by: Tad <tad@spotco.us>
2022-08-21 20:48:09 -04:00
Tad
108dab063d Server override option
Signed-off-by: Tad <tad@spotco.us>
2022-04-03 21:19:10 -04:00
Tad
ca4f26fd7d Many changes
- Bump version
- Don't find files recursively on main thread
- Reduce number of threadpools
- Ensure there are always enough threads available
- Cap the queue limit on thread pools
- Do work on main thread if queues are full, thereby blocking
- Use more thread safe objects
- Replace some runnables with lambas
- Code cleanup
- Typo fixes

Closes https://gitlab.com/divested-mobile/hypatia/-/issues/6
Closes https://github.com/Divested-Mobile/Hypatia/issues/13
Closes https://github.com/Divested-Mobile/Hypatia/issues/1

Signed-off-by: Tad <tad@spotco.us>
2021-09-20 13:47:24 -04:00
Tad
fe49d06902 Invert the fileHashes* HashMaps
This fixes scan detection of multiple files with the same hashes.

Signed-off-by: Tad <tad@spotco.us>
2021-09-10 07:09:30 -04:00
Tad
de868c458f Bump versions
+ fix small quirk when too few sigs
2021-07-21 15:47:10 -04:00
Tad
2e8994ee7a Improve database descriptions and add a new database source 2021-07-21 15:31:07 -04:00
Tad
2d56574a1e Show scan speed too 2021-06-04 15:32:08 -04:00
Tad
22f86dc0e4 Add a comphrensive credits menu 2021-03-03 16:00:32 -05:00
Tad
0218f04e79 Bump version
https://gitlab.com/divested-mobile/hypatia/-/merge_requests/4
2021-03-03 15:38:01 -05:00
Petra Mirelli
21a62fd804 Adding 'versionName' from 'app/gradle.build' to UI 2021-03-03 20:09:49 +00:00
Tad
0f9b897c41 Bump version 2021-03-02 10:18:44 -05:00
Petra Mirelli
87d94b451f Added 'realtime scanner stopped' UI notification strings for de, en, fr 2021-03-02 10:16:16 -05:00
Tad
d5b176ff61 Legal goodies 2021-03-01 21:33:47 -05:00
Tad
28f710d5ad More small improvements
- Don't try to load the database multiple times at once
- Add the signature count to the notification
- Format numbers for the locale
- Improve check for when no databases are available
2021-02-22 23:28:07 -05:00
Tad
ebdfc0c737 More small fixes 2021-02-22 18:30:54 -05:00
Tad
eccaaadd5d Many small improvements
- Fix an exception with the notification counter
- Ensure the database is really loaded before a scan
- Inform the user when a scan is cancelled
- Allow quicker cancelling of scan (when in the middle of hashing)
- Don't block main thread when updating databases
- Change the fab color depending on the scan state
- Add a simple textual progress bar to scans
- Make text output selectable
- Add a test signature
- Small sanity checks

Partially fixes https://github.com/Divested-Mobile/hypatia/issues/1#issuecomment-707734221
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/3
2021-02-22 14:26:23 -05:00
Tad
6ba974c078 Fixup last commit 2021-02-13 16:49:01 -05:00
Tad
c6e3ab1dde More German string translations, credit Petra Mirelli
https://gitlab.com/divested-mobile/hypatia/-/issues/1#note_508460677
2021-02-13 16:31:01 -05:00
Tad
98b2e039a8 Fix typo
https://gitlab.com/divested-mobile/hypatia/-/issues/1#note_508225199
2021-02-12 16:31:55 -05:00
Tad
538aac8140 Add the German string translations, credit Petra Mirelli
https://gitlab.com/divested-mobile/hypatia/-/issues/1
2021-02-02 09:49:33 -05:00
Tad
070e34e69d Remove some bashisms 2020-12-12 12:12:11 -05:00
Tad
06046d385c License headers 2020-11-17 10:31:08 -05:00
Tad
b5d9a62835 Improve log output 2020-11-14 05:46:58 -05:00
Tad
af17aba5fc Add ESET's database
https://github.com/eset/malware-ioc
2020-07-25 09:19:18 -04:00
Tad
522e05459d Drop old databases 2020-05-25 01:20:52 -04:00
Tad
6dd75f59fc Night mode support 2019-09-22 21:54:33 -04:00
Tad
b6a58f9771 AndroidX migration 2019-09-22 21:17:21 -04:00
Tad
e5d05951c8 Going the distance... [pt2] 2019-06-18 13:30:41 -04:00
Tad
716b58bd16 Reformat code and bump version 2018-10-21 16:07:32 -04:00
Tad
521ae4891d Trim signature varaint number off for memory savings 2018-10-21 15:40:54 -04:00
Tad
272a51304c Use gzip databases instead for download and storage savings 2018-10-21 15:36:36 -04:00
Tad
6d01c4934d Remove NetCipher 2018-09-21 00:51:48 -04:00
Tad
27146b19c5 Minor fixes 2018-07-25 21:08:35 -04:00
Tad
6d1a0d95ab Going the distance... 2018-06-03 13:49:37 -04:00
Tad
ceae4ae010 Add support for downloading databases over Tor 2018-04-16 01:06:57 -04:00
Tad
3088cc2855 Licensing 2018-04-12 22:28:47 -04:00
Tad
04c01d0e8e Show over lock screen 2018-04-05 22:33:59 -04:00
Tad
23e76dd8cf Really fix notifications on Oreo 2018-04-05 21:46:24 -04:00
Tad
0eb386f8ce "Fix" notification and foreground service on Oreo 2018-04-05 21:08:52 -04:00
Tad
fa9e4c0b15 Many changes
- Drop Trove, minimal benefit with Strings
- Finalize renaming
- Commonize server base URL
- IntelliJ Inspect Code
- Formatting
- Bump version
2018-01-20 01:50:37 -05:00
Tad
6eab4ebe18 Drop minSdk from 21 to 16 2017-12-27 17:19:50 -05:00
Tad
0720ccbec1 Truncate all hashes to 16 characters to save memory 2017-12-27 17:15:38 -05:00
Tad
ed4d031d1f Start service on app launch too 2017-12-27 16:14:33 -05:00
Tad
04b3043f89 Don't spam logcat with selinux denials 2017-12-27 16:10:06 -05:00
Tad
73be65ec2c Move each FileObserver onto its own thread 2017-12-27 16:02:37 -05:00