adeii

Android keymaster error

May 16th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. Add this code to switch in /system/keymaster/attestation_record.cpp ; keymaster_enforcement.cpp and keymaster_tags.cpp to solve problem
  2.  
  3. /* Ignored soter tags */
  4.         case KM_TAG_SOTER_IS_FROM_SOTER:
  5.         case KM_TAG_SOTER_IS_AUTO_SIGNED_WITH_ATTK_WHEN_GET_PUBLIC_KEY:
  6.         case KM_TAG_SOTER_IS_AUTO_SIGNED_WITH_COMMON_KEY_WHEN_GET_PUBLIC_KEY:
  7.         case KM_TAG_SOTER_AUTO_SIGNED_COMMON_KEY_WHEN_GET_PUBLIC_KEY:
  8.         case KM_TAG_SOTER_AUTO_ADD_COUNTER_WHEN_GET_PUBLIC_KEY:
  9.         case KM_TAG_SOTER_IS_SECMSG_FID_COUNTER_SIGNED_WHEN_SIGN:
  10.         case KM_TAG_SOTER_USE_NEXT_ATTK:
  11.         case KM_TAG_SOTER_UID:
  12.         case KM_TAG_SOTER_AUTO_SIGNED_COMMON_KEY_WHEN_GET_PUBLIC_KEY_BLOB:
  13.             break;
Advertisement
Add Comment
Please, Sign In to add comment