Fix crash Handling empty adb key list (#558)

This commit is contained in:
Donncha Ó Cearbhaill
2024-10-23 11:50:08 +02:00
committed by GitHub
parent 3afe218c7c
commit 863de4f543

View File

@@ -120,7 +120,7 @@ class DumpsysADBArtifact(AndroidArtifact):
# Calculate key fingerprints for better readability
key_info = []
for user_key in parsed.get("user_keys"):
for user_key in parsed.get("user_keys", []):
user_info = self.calculate_key_info(user_key)
key_info.append(user_info)