fix: update database url and signing key

This commit is contained in:
Aliberk Sandıkçı 2025-01-27 02:10:17 +03:00 committed by GitHub
parent 8c53d09029
commit 0410db538c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -132,6 +132,7 @@ class Database {
signaturesMD5Extended = null;
domains = null;
File publicKey = new File(databasePath + "/gpg.key");
GPGDetachedSignatureVerifier verifier = new GPGDetachedSignatureVerifier(Utils.getSigningKey(context));
for (SignatureDatabase database : signatureDatabases) {
File databaseLocation = new File(databasePath + "/" + database.getName());

View file

@ -44,9 +44,9 @@ class Utils {
private static Context context = null;
public final static int MAX_SCAN_SIZE = (1000 * 1000) * 500; //500MB
public final static int MAX_SCAN_SIZE_REALTIME = (1000 * 1000) * 250; //250MB
public final static String DATABASE_URL_DEFAULT = "https://divested.dev/MalwareScannerSignatures/";
public final static String DATABASE_URL_DEFAULT = "https://raw.githubusercontent.com/MaintainTeam/HypatiaDatabases/refs/heads/main/";
public final static String DATABASE_URL_CLOUDFLARE = "https://eeyo.re/MalwareScannerSignatures/";
public final static String SIGNING_KEY_DEFAULT = "BADFCABDDBF5B694";
public final static String SIGNING_KEY_DEFAULT = "5298C0C0C3E73288";
public static final AtomicInteger FILES_SCANNED = new AtomicInteger();
public final static ConcurrentHashMap<String, Long> MATCHED_FILES_TIME = new ConcurrentHashMap<>();