Compare commits
6
Commits
v6.0.0-156
...
v6.0.0-162
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5267c9dd00 | ||
|
|
dfc8aac920 | ||
|
|
bdb460411a | ||
|
|
ea792c7b78 | ||
|
|
18724cf40d | ||
|
|
1b7800345d |
@@ -149,3 +149,21 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VER: ${{ steps.ver.outputs.version }}
|
VER: ${{ steps.ver.outputs.version }}
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Bump update.json
|
||||||
|
run: |
|
||||||
|
COUNT=$(git rev-list HEAD --count)
|
||||||
|
RELEASE_NAME=$(basename zips/*Release*.zip)
|
||||||
|
ZIP_URL="https://github.com/${{ github.repository }}/releases/download/${VER}/${RELEASE_NAME}"
|
||||||
|
jq ".versionCode = $COUNT | .zipUrl = \"$ZIP_URL\"" module/update.json > /tmp/update.json
|
||||||
|
mv /tmp/update.json module/update.json
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add module/update.json
|
||||||
|
git diff --cached --quiet || {
|
||||||
|
git commit -m "chore(release): bump update.json to $VER [skip ci]"
|
||||||
|
git push origin HEAD:main
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
VER: ${{ steps.ver.outputs.version }}
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import android.os.IBinder
|
|||||||
import android.os.ServiceManager
|
import android.os.ServiceManager
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.util.concurrent.ConcurrentHashMap
|
import java.util.concurrent.ConcurrentHashMap
|
||||||
|
import org.matrix.TEESimulator.attestation.DeviceAttestationService
|
||||||
import org.matrix.TEESimulator.logging.SystemLogger
|
import org.matrix.TEESimulator.logging.SystemLogger
|
||||||
import org.matrix.TEESimulator.pki.KeyBoxManager
|
import org.matrix.TEESimulator.pki.KeyBoxManager
|
||||||
|
|
||||||
@@ -102,7 +103,7 @@ object ConfigurationManager {
|
|||||||
when (packageModes[pkg]) {
|
when (packageModes[pkg]) {
|
||||||
Mode.GENERATE -> return Mode.GENERATE
|
Mode.GENERATE -> return Mode.GENERATE
|
||||||
Mode.PATCH -> return Mode.PATCH
|
Mode.PATCH -> return Mode.PATCH
|
||||||
Mode.AUTO -> return Mode.AUTO
|
Mode.AUTO -> return if (DeviceAttestationService.isTeeFunctional) Mode.PATCH else Mode.GENERATE
|
||||||
null -> continue
|
null -> continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -165,7 +166,7 @@ object ConfigurationManager {
|
|||||||
newKeyboxes[pkg] = currentKeybox
|
newKeyboxes[pkg] = currentKeybox
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
newModes[trimmedLine] = Mode.GENERATE
|
newModes[trimmedLine] = Mode.AUTO
|
||||||
newKeyboxes[trimmedLine] = currentKeybox
|
newKeyboxes[trimmedLine] = currentKeybox
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ Repository consolidation release. All tee-rebuild work merged as the new main br
|
|||||||
- Oversized transactions routed to software gen instead of crashing
|
- Oversized transactions routed to software gen instead of crashing
|
||||||
- Operation-time params (BLOCK_MODE, PADDING, DIGEST) passed through to CipherPrimitive
|
- Operation-time params (BLOCK_MODE, PADDING, DIGEST) passed through to CipherPrimitive
|
||||||
|
|
||||||
|
### Banking App Compatibility
|
||||||
|
- Bare `target.txt` entries now default to AUTO mode, resolved at config level to PATCH (working TEE) or GENERATE (broken TEE)
|
||||||
|
- Fixes BHIM and similar banking apps that require TEE-backed attestation keys
|
||||||
|
- Restores v5.0 behavior where AUTO was resolved before the interceptor dispatch, avoiding the non-deterministic `raceTeePatch` path
|
||||||
|
|
||||||
### Infrastructure
|
### Infrastructure
|
||||||
- Version scheme changed to semver (v6.0.0)
|
- Version scheme changed to semver (v6.0.0)
|
||||||
- Repository moved to TEESimulator-RS as canonical source
|
- Repository moved to TEESimulator-RS as canonical source
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "v6.0.0",
|
"version": "v6.0.0",
|
||||||
"versionCode": 155,
|
"versionCode": 160,
|
||||||
"zipUrl": "https://github.com/Enginex0/TEESimulator-RS/releases/latest/download/TEESimulator-RS-Release.zip",
|
"zipUrl": "https://github.com/Enginex0/TEESimulator-RS/releases/latest/download/TEESimulator-RS-Release.zip",
|
||||||
"changelog": "https://raw.githubusercontent.com/Enginex0/TEESimulator-RS/main/module/changelog.md"
|
"changelog": "https://raw.githubusercontent.com/Enginex0/TEESimulator-RS/main/module/changelog.md"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user