Commit graph

110 commits

Author SHA1 Message Date
Tad
7ae8069c1b
Overhaul to use a bloom filter instead of a HashMap
Signed-off-by: Tad <tad@spotco.us>
2023-12-21 20:02:03 -05:00
Tad
3bd703d6b8
Add support for the MalwareBazaar database
Signed-off-by: Tad <tad@spotco.us>
2023-12-19 17:06:22 -05:00
Tad
d2c37470e0
Bump for release
Signed-off-by: Tad <tad@spotco.us>
2023-07-09 10:41:13 -04:00
Tad
1d8fdfb4cf
Bump
Signed-off-by: Tad <tad@spotco.us>
2023-05-27 00:07:41 -04:00
Tad
591205b332
Bump for release
Signed-off-by: Tad <tad@spotco.us>
2023-05-22 11:41:52 -04:00
Tad
22cc72ab87
Fix the downloader
With all databases enabled the ThreadPool queue is exceed (25>16).
This normally isn't an issue for other users of the pool as it will get pushed onto the main thread.
But Android prohibits network activity on the main thread, which the downloader runs from.

Increase it 32 which should be suitable for now.
Maybe consider adding a separate pool in future.

Fixes https://github.com/Divested-Mobile/Hypatia/issues/34
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/31

Signed-off-by: Tad <tad@spotco.us>
2023-05-15 23:54:59 -04:00
Tad
61bf212e17
Bump version for new translations
Closes https://github.com/Divested-Mobile/Hypatia/pull/18
Closes https://github.com/Divested-Mobile/Hypatia/pull/28
Closes https://github.com/Divested-Mobile/Hypatia/pull/35
Closes https://gitlab.com/divested-mobile/hypatia/-/merge_requests/10

Signed-off-by: Tad <tad@spotco.us>
2023-05-04 16:36:14 -04:00
Tad
b547d6cc82
Downgrade Apache Commons
To fix compatbility with ancient Android versions
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/30

Signed-off-by: Tad <tad@spotco.us>
2023-04-24 18:09:51 -04:00
Tad
944985e894
Bump for release
Signed-off-by: Tad <tad@spotco.us>
2023-04-19 15:12:17 -04:00
Tad
44d2d1c905
GPG signature verification for databases
TODO: inform user if verification fails or key is unavailable

Signed-off-by: Tad <tad@spotco.us>
2023-04-16 13:08:25 -04:00
Tad
76d06b504f
Add support for the Echap stalkerware database
Signed-off-by: Tad <tad@spotco.us>
2023-03-06 20:16:32 -05:00
Tad
d052fff807
Small tweaks
Signed-off-by: Tad <tad@spotco.us>
2023-02-07 11:58:17 -05:00
Tad
1fcaab82b8
Make the app smaller
Signed-off-by: Tad <tad@spotco.us>
2023-02-07 11:30:30 -05:00
Tad
1ab21d949a Small update
Import keys when gradle can't:
gpg --no-default-keyring --keyring ./verification-keyring.gpg --recv-keys

Signed-off-by: Tad <tad@spotco.us>
2023-01-31 22:34:51 -05:00
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
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
58e35b7488
Refine the Spanish translations, credit @senpai33
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/25

Also removes a unused string

Signed-off-by: Tad <tad@spotco.us>
2022-12-04 11:20:37 -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
6149166f6b
Themed app icon support
Signed-off-by: Tad <tad@spotco.us>
2022-10-17 21:01:24 -04: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
63811cc62b Update dependencies
Signed-off-by: Tad <tad@spotco.us>
2022-08-21 19:42:41 -04:00
Tad
2b878f2058 Bump version for translations
Signed-off-by: Tad <tad@spotco.us>
2022-07-14 00:27:51 -04:00
Tad
fa79f12082 Disable obfuscation
Signed-off-by: Tad <tad@spotco.us>
2022-04-28 04:07:16 -04:00
Tad
a4977e8457 Bump version
Signed-off-by: Tad <tad@spotco.us>
2022-04-25 23:30:12 -04:00
Tad
dfdf9a2312 Bump version
Signed-off-by: Tad <tad@spotco.us>
2022-04-11 13:55:43 -04:00
Tad
108dab063d Server override option
Signed-off-by: Tad <tad@spotco.us>
2022-04-03 21:19:10 -04:00
Tad
aebe653025 Bump for release
Signed-off-by: Tad <tad@spotco.us>
2022-03-17 22:59:34 -04:00
Tad
ec84870c60 Bump versions
Signed-off-by: Tad <tad@spotco.us>
2022-02-26 20:13:04 -05:00
Tad
7cad969dfe Start the CI
Signed-off-by: Tad <tad@spotco.us>
2021-09-20 16:37:50 -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
2d56574a1e Show scan speed too 2021-06-04 15:32:08 -04:00
Tad
15b49f0d5b Update gradle wrapper 2021-05-11 14:27:27 -04:00
Tad
659c0c6467 Bump to include fastlane 2021-05-11 14:21:18 -04:00
Tad
18a120c563 Bump version for release 2021-05-10 14:03:47 -04:00
Tad
f9228938a4 Enable the Russian translations, credit @q1011
Closes https://github.com/Divested-Mobile/Hypatia/pull/7
2021-05-04 08:30:33 -04:00
Tad
f220e107dc Fixup Orbot detection 2021-04-22 20:52:20 -04:00
Tad
0c621a91e8 Fix storage access on 11
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/11
Closes https://github.com/Divested-Mobile/Hypatia/issues/4
2021-04-14 02:45:05 -04:00
Tad
76314aa197 Add the Portuguese translations, credit @inkhorn
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/9
2021-03-24 21:17:58 -04:00
Tad
309bc32982 Bump version 2021-03-20 19:37:37 -04:00
Petra Mirelli
d93092f856 Add the Spanish translations
See https://github.com/Divested-Mobile/Hypatia/issues/3
2021-03-20 19:34:19 -04:00
Tad
18395cbb6e Code cleanup and version bump 2021-03-10 10:17:00 -05:00
Dante
cab4efb67d Add the initial Italian translations
Closes https://github.com/Divested-Mobile/Hypatia/pull/2
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/7
2021-03-09 16:02:27 -05: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
Tad
0f9b897c41 Bump version 2021-03-02 10:18:44 -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