chore(module): add co-author credit, verbose action output, point updates to fork
This commit is contained in:
+20
-2
@@ -2,10 +2,28 @@
|
||||
MODDIR=${0%/*}
|
||||
CONFIG_DIR=/data/adb/tricky_store
|
||||
|
||||
echo "============================================"
|
||||
echo " TEESimulator — Key Storage Maintenance"
|
||||
echo "============================================"
|
||||
echo ""
|
||||
|
||||
if [ -d "$CONFIG_DIR/persistent_keys" ]; then
|
||||
KEY_COUNT=$(find "$CONFIG_DIR/persistent_keys" -name "*.bin" 2>/dev/null | wc -l)
|
||||
STORAGE_SIZE=$(du -sh "$CONFIG_DIR/persistent_keys" 2>/dev/null | cut -f1)
|
||||
|
||||
echo " Cached keys found : $KEY_COUNT"
|
||||
echo " Storage used : $STORAGE_SIZE"
|
||||
echo ""
|
||||
|
||||
rm -rf "$CONFIG_DIR/persistent_keys"
|
||||
mkdir -p "$CONFIG_DIR/persistent_keys"
|
||||
echo "Persistent key storage cleared"
|
||||
|
||||
echo " [OK] All cached attestation keys purged"
|
||||
echo " [OK] Fresh keys will generate on next request"
|
||||
else
|
||||
echo "No persistent key storage found"
|
||||
echo " No persistent key storage found"
|
||||
echo " Nothing to clear"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "============================================"
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ id=tricky_store
|
||||
name=TEESimulator
|
||||
version=${REPLACEMEVER}
|
||||
versionCode=${REPLACEMEVERCODE}
|
||||
author=JingMatrix
|
||||
author=JingMatrix, Enginex0
|
||||
description=Software simulation for Android hardware-backed key pairs with key attestation
|
||||
updateJson=https://raw.githubusercontent.com/JingMatrix/TEESimulator/main/module/update.json
|
||||
updateJson=https://raw.githubusercontent.com/Enginex0/TEESimulator/main/module/update.json
|
||||
|
||||
Reference in New Issue
Block a user