chore(module): add co-author credit, verbose action output, point updates to fork

This commit is contained in:
Enginex0
2026-02-06 23:31:03 +01:00
parent 1ed3d9ad6e
commit 8c10cf71ce
2 changed files with 22 additions and 4 deletions
+20 -2
View File
@@ -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 "============================================"