SafetyNet API [1] 是由Google Play服务提供的用于安全敏感应用程序(例如数字版权管理)的应用程序接口 。SafetyNet API其实是由多个应用程序接口组成。

SafetyNet API中有一个名为SafetyNet Attestation API [2]应用程序接口,它可以用来验证设备的完整性是否受到破坏[3][3][4][5],因此诸如LineageOS之类的非官方操作系统无法通过认证,这样的话用户无法在没有Google Play服务的纯净AndroidAOSP )下使用那些用到SafetyNet Attestation API的银行类应用程序[6]

不过后来SafetyNet Attestation API被[7]Play Integrity API取代。 [8]  ]与SafetyNet API 一样,Play Integrity API同样由Google Play服务提供,因此在AOSP中无法运行那些用到Play Integrity API 的应用程序。

参考文献 编辑

  1. ^ SafetyNet Overview. Android Developers. [2023-03-20]. (原始内容存档于2023-06-11) (美国英语). 
  2. ^ SafetyNet Attestation API. Android Developers. [2023-03-20]. (原始内容存档于2023-05-25) (美国英语). 
  3. ^ 3.0 3.1 Hoffman, Chris. SafetyNet Explained: Why Android Pay and Other Apps Don't Work on Rooted Devices. How-To Geek. [2021-09-11]. (原始内容存档于2023-04-01) (美国英语). 
  4. ^ Google's dreaded SafetyNet hardware check has been spotted in the wild. Android Police. 2020-06-29 [2021-09-11]. (原始内容存档于2023-03-20) (美国英语). 
  5. ^ Ibrahim, Muhammad; Imran, Abdullah; Bianchi, Antonio. SafetyNOT: on the usage of the SafetyNet attestation API in Android. Proceedings of the 19th Annual International Conference on Mobile Systems, Applications, and Services (Virtual Event Wisconsin: ACM). 2021-06-24: 150–162. ISBN 978-1-4503-8443-8. doi:10.1145/3458864.3466627  (英语). 
  6. ^ Schwab, Andreas; Echeverria, Pablo Arias. Time to restore fairness and contestability in digital markets. www.euractiv.com. 24 March 2022 [2023-03-20]. (原始内容存档于2023-03-20). 
  7. ^ SafetyNet Deprecation Timeline. Android Developers (美国英语). 
  8. ^ Migrating from the SafetyNet Attestation API | Google Play. Android Developers. [2023-03-20]. (原始内容存档于2023-05-20) (英语).