Dutch 'idealist' bank ASN blocks non-Google Android, including GrapheneOS
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
https://play.google.com/store/apps/details?id=nl.devolksbank.asn.bankieren
SQ3A.220705.003.A1.2022071100
Ontill this moment, i did not find anything that did not worked. It seems that the app works like on stock OS
直到目前为止,我还没有发现任何无法运行的东西。该应用程序似乎和在原生系统上一样运行。
Also works on Pixel 6 Pro without Google Play and Google Play Services installed.
它也可以在没有安装 Google Play 和 Google Play 服务的 Pixel 6 Pro 上运行。
Tried with one of my customers but you cannot log in to the app without Google Play Services @aerique Please correct this @akc3n
我尝试过一位客户的情况,但在没有 Google Play 服务的情况下无法登录该应用程序 @aerique。请更正这一点 @akc3n。
Tried with one of my customers but you cannot log in to the app without Google Play Services @aerique Please correct this @akc3n
我尝试过一位客户的情况,但在没有 Google Play 服务的情况下无法登录该应用程序 @aerique。请更正这一点 @akc3n。
No, do not correct anything yet. Lets first figure out which app we’re talking about.
不,先不要更正任何东西。让我们先弄清楚我们讨论的是哪个应用程序。
I’m using the top app which is the generic banking app. It’s updated, I can login, I can scan QR codes and pay. I use it almost every day, sometimes multiple times. I also do not have Google apps installed, not even in GrapheneOS’ sandbox.
我使用的是最上面的那个通用银行应用程序。它已更新,我可以登录、扫描二维码并进行支付。我几乎每天都在使用它,有时一天多次。我也没有安装 Google 应用程序,甚至在 GrapheneOS 的沙盒中也没有。
I’ve also used this app (until a few weeks ago) on SailfishOS on its Android emulation which also does not have Google Play Services.
(直到几周前)我也曾在 SailfishOS 的 Android 模拟环境下使用过此应用程序,该环境同样没有 Google Play 服务。
I can also confirm that the second app “mobiel betalen” does not work for me. This app is for wireless payments.
我也可以确认第二个名为“mobiel betalen”的应用程序对我来说无法运行。该应用程序用于无线支付。
That’s very interesting, we only got to see an error message saying that the internet connectivity doesn’t work, I recognize this from other apps that won’t work without GMS.
这非常有趣,我们只看到一条错误消息,提示互联网连接无法工作,我从其他在没有 GMS 的情况下无法运行的应用程序中见过这种情况。
Yeah mobile payments definitely won’t work but that’s not what I am talking about either.
是的,移动支付肯定无法工作,但这也不是我所指的内容。
If anyone is still experiencing compatibility issues with this banking app, please read new pinned issue post #170
如果还有人遇到此银行应用程序的兼容性问题,请阅读新的置顶议题帖 #170。
Or https://akc3n.page/banking-issues
或者访问 https://akc3n.page/banking-issues
@DohnJoe1 The link to app you provided is from a search result, listing several apps. Could you please correct your initial report to specifically include the exact app you were referring to.
@DohnJoe1 你提供的应用程序链接来自搜索结果,其中列出了多个应用程序。你能否更正你的初步报告,明确指出你所指的具体应用程序?
I.E., The link to app you provided is incorrect: https://play.google.com/store/search?q=asn%20bank&c=apps&hl=nl&gl=US
例如,你提供的应用程序链接是不正确的: https://play.google.com/store/search?q=asn%20bank&c=apps&hl=nl&gl=US
For example, the correct url would look like this: https://play.google.com/store/apps/details?id=nl.devolksbank.asn.bankieren
例如,正确的网址应该是这样的: https://play.google.com/store/apps/details?id=nl.devolksbank.asn.bankieren
Sorry but none of this was relevant @akc3n. One needs GMS to log in to the account. After you could use it without. During the log in process the app seemed to be using a dependency to check for Internet connectivity. Without GMS you cannot continue.
抱歉,这些都无关紧要 @akc3n。 登录账户需要 GMS。登录后可以在没有 GMS 的情况下使用。在登录过程中,该应用程序似乎使用了一个依赖项来检查互联网连接。没有 GMS 就无法继续。
I’ll go factory reset my spare GrapheneOS phone and see if @ph00lt0 is correct, because this was never the case in the past. (But now I’m afraid to wipe it from my main phone and not being able to install it ;-) )
我会去把我的备用 GrapheneOS 手机恢复出厂设置,看看 @ph00lt0 是否正确,因为过去从来没有出现过这种情况。(但现在我不敢在主手机上清除它,怕到时候装不上 ;-) )
Uhm, isn’t this supposed to be software that enables EU tech sovereignty, not work actively at achieving US vendor lock-in?
嗯,这难道不应该是旨在实现欧盟技术主权的软件吗,而不是积极致力于实现美国供应商锁定?
I would certainly hope so! Odd thing is, in the interview with the WERO CEO in RTL. (Sorry Dutch):
我当然希望如此!奇怪的是,在 RTL 对 WERO 首席执行官的采访中。(抱歉是荷兰语):
Soeverein zijn als Europa
Op geopolitiek gebied moet Wero ook een factor worden als het aan Weimert ligt. Ze doelt onder meer op de afhankelijkheid van grote Amerikaanse betaalbedrijven Visa en Mastercard. Het continent is volgens haar kwetsbaar als het betalingsverkeer met bijbehorende data vooral verloopt via partijen van buiten Europa.
作为欧洲实现主权 如果由 Weimert 决定,Wero 在地缘政治领域也必须成为一个重要因素。她特别提到了对美国大型支付公司 Visa 和 Mastercard 的依赖。她认为,如果支付交易及其相关数据主要通过欧洲以外的各方进行,那么欧洲大陆将变得脆弱。
Only a disgusting and despicable government or organization want to force people to depend on proprietary (closed-source) software that cannot be audited or verified! Since that software is not transparent as it’s hidden from the eyes for everyone, it cannot be trusted and neither the institutions and people who force you to use such software.
只有令人作呕和卑鄙的政府或组织才会强迫人们依赖无法审计或验证的专有(闭源)软件! 由于该软件不透明,对所有人隐藏,因此它不可信,强迫你使用此类软件的机构和个人也不可信。
The only software that can be trusted more or less is the FLOSS (Free / Libre and Open Source Software) ant only if the executable builds have been built in a reproducible way!
唯一可以或多或少信任的软件是 FLOSS(自由/开源软件),而且前提是可执行构建必须以可重现的方式构建!
Part of a new reply by EPI:
Second, on why Google Play Integrity is required rather than Android hardware key attestation alone: Android hardware key attestation verifies that a cryptographic key pair was generated inside a hardware-isolated environment, such as a TEE or StrongBox, and that the key has not left that boundary. What it does not verify is the integrity of the calling application and the runtime operating system.
EPI 新回复的一部分: 其次,关于为什么需要 Google Play Integrity 而不仅仅是 Android 硬件密钥认证:Android 硬件密钥认证验证了加密密钥对是在硬件隔离环境(如 TEE 或 StrongBox)中生成的,并且密钥没有离开该边界。它无法验证的是调用应用程序和运行时操作系统的完整性。
Since you seem to have a working line of communication with them, please point out that this is wrong:
既然你似乎与他们有有效的沟通渠道,请指出这是错误的:
The standard hardware attestation API can be used to verify the authenticity/integrity of the hardware, firmware, OS and the app running on it. It provides a verified boot key fingerprint for the OS for permitting secure aftermarket operating systems. The app ID, signing key fingerprint(s) and version code of the app enabling hardware attestation are included in the signed public key certificate for the generated key. This enables the app’s service to make sure the app is genuine and unmodified along with chaining trust through the OS to the app which can sign messages with the attested hardware keystore key to prove they come from their app running on top of a verified OS, firmware and hardware.
标准的硬件认证 API 可用于验证硬件、固件、操作系统及其上运行的应用程序的真实性/完整性。它为操作系统提供了一个已验证的启动密钥指纹,以允许安全的第三方操作系统。启用硬件认证的应用程序的应用程序 ID、签名密钥指纹和版本代码包含在生成的密钥的签名公钥证书中。这使得应用程序的服务能够确保应用程序是真实且未被修改的,同时通过操作系统将信任链传递给应用程序,应用程序可以使用经过认证的硬件密钥库密钥对消息进行签名,以证明它们来自运行在已验证的操作系统、固件和硬件之上的应用程序。
https://grapheneos.org/articles/attestation-compatibility-guide
Worth reading the linked GitHub issue to the end: yesterday someone asked EPI (the Wero operator) directly, and the reply says hardware key attestation “proves a key was generated in a TEE or StrongBox but not app or OS integrity”, which is why they want Play Integrity. That claim is wrong, and the gap matters for this whole thread.
值得读完链接的 GitHub 议题:昨天有人直接询问了 EPI(Wero 的运营商),回复称硬件密钥认证“证明了密钥是在 TEE 或 StrongBox 中生成的,但不能证明应用程序或操作系统的完整性”,这就是他们想要 Play Integrity 的原因。这种说法是错误的,而这种认知差距对整个讨论串至关重要。
I’m on the other side of this as a developer: a small Android app where I need some assurance that a capture came from an unmodified device, so I run both Play Integrity and the Keystore key attestation API.
作为开发者,我站在这一问题的另一面:我有一个小型 Android 应用程序,需要确保捕获的数据来自未修改的设备,所以我同时运行了 Play Integrity 和 Keystore 密钥认证 API。
What the attestation certificate actually carries, per the Android spec: the challenge you supplied, the security level (software / TEE / StrongBox), a RootOfTrust extension with verifiedBootState, the verifiedBootKey hash and deviceLocked, and an attestationApplicationId with the package name and signing certificate digest of the app that created the key. That is OS integrity (verified boot, locked bootloader) and app identity, signed by the chip, chained to Google’s published roots. GrapheneOS publishes its verified boot key hashes as a signed JSON and documents how to accept the
根据 Android 规范,认证证书实际携带的内容包括:你提供的挑战码、安全级别(软件/TEE/StrongBox)、带有 verifiedBootState 的 RootOfTrust 扩展、verifiedBootKey 哈希和 deviceLocked 状态,以及包含创建密钥的应用程序包名和签名证书摘要的 attestationApplicationId。这就是操作系统完整性(验证启动、锁定引导加载程序)和应用程序身份,由芯片签名,并链接到 Google 发布的根证书。GrapheneOS 将其验证启动密钥哈希作为已签名的 JSON 发布,并记录了如何接受这些哈希。