Skip to content

Commit

Permalink
## 4.5.1.9
Browse files Browse the repository at this point in the history
* Bug Fixes
  * Allow for both trusted and untrusted transparent keys for plugins (fix for when shared libraries are omitted).
  • Loading branch information
takdeveloper committed Oct 18, 2024
2 parents f654b5f + a6f8dc3 commit 7d42a1c
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 17 deletions.
5 changes: 5 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Version History

## 4.5.1.9

* Bug Fixes
* Allow for both trusted and untrusted transparent keys for plugins (fix for when shared libraries are omitted).

## 4.5.1.8

* Feature Additions
Expand Down
2 changes: 1 addition & 1 deletion atak/ATAK/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ buildscript {
apply from: '../../gradle/versions.gradle', to: project

ext.ATAK_VERSION = "4.5.1"
ext.ATAK_VERSION_SUBMINOR = ".8"
ext.ATAK_VERSION_SUBMINOR = ".9"

ext.isDevKitEnabled = { ->
return getProperty('takRepoMavenUrl', null) != null &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,25 @@ public static boolean checkAppTransparencySignature(final Context context, Strin
path.replace("base/dex/", "")
.replace("base/lib/", "lib/"));
InputStream inputStream = null;
String classesdexSha256;
String classesdexSha256 = null;
boolean missing = false;
try {
inputStream = zipFile.getInputStream(dex);
classesdexSha256 = HashingUtils.sha256sum(inputStream);
// if dex is null, the file was not included in the app bundle
// download from the store. Since it is missing, there is no
// reason to check the validity.
if (dex != null) {
inputStream = zipFile.getInputStream(dex);
classesdexSha256 = HashingUtils.sha256sum(inputStream);
} else {
Log.e(TAG, "missing: " + path);
missing = true;
}
} finally {
if (inputStream != null)
inputStream.close();
}

if (!sha256.equals(classesdexSha256)) {
if (!missing && !sha256.equals(classesdexSha256)) {
Log.d(TAG, "valid signature but invalid hashes for: " + pkgname + "@" + path +
" took: " + (SystemClock.elapsedRealtime() - start) + "ms");
persistValidityRecord(pkgname, apkHash, INVALID, "");
Expand Down
4 changes: 2 additions & 2 deletions depends/LASzip-3.4.3-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/assimp-4.0.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/gdal-2.4.4-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/libLAS-1.8.2-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltf-2.4.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltfloader-0.9.5-mod.tar.gz
Git LFS file not shown
Binary file modified pluginsdk.zip
Binary file not shown.

0 comments on commit 7d42a1c

Please sign in to comment.