[ADDED] More debugging for the release key

This commit is contained in:
Hossain Khan
2025-06-28 08:50:33 -04:00
parent 323fc71295
commit 7956f718c8
+22
View File
@@ -68,6 +68,28 @@ jobs:
exit 1
fi
- name: Dump Keystore Information
if: always() # Run even if previous steps failed
run: |
echo "Dumping keystore information (with sensitive data redacted)..."
# List all entries without showing certificates
echo "All keystore entries:"
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" | grep -v "Certificate fingerprint"
# Try to extract aliases
echo "Attempting to extract aliases:"
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" | grep -E ',[^,]+, PrivateKeyEntry' | sed 's/,.*//' || echo "No aliases could be extracted"
# Check if the configured alias exists
echo "Checking if configured alias exists:"
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" -alias "${{ secrets.KEY_ALIAS }}" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "✅ Alias '${{ secrets.KEY_ALIAS }}' exists in keystore"
else
echo "❌ Alias '${{ secrets.KEY_ALIAS }}' NOT found in keystore"
fi
- name: Test Keystore with Password
run: |
echo "Testing keystore with provided password..."