-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google set to limit Chromium usage of Google APIs #110245
Comments
Further discussion With actual "answer" edit looks like this was cross-posted across two lists... I was confused by the interface... the content was already in the previous link. Basically, unless Google backtracks, the API key will become unusable for a distro-level deployment. We could continue providing the derivation, with bring-your-own API keys. This would be expensive to build for end-users. I wonder if the keys are trivially replaceable in the resulting binary though. If they are, we could produce prebuilt unusable binaries, and let users "finish" the build with their own keys. edit: The archlinux devs state that environment variables can be used for those. Pinging @jonringer and @worldofpeace as we probably will have to apply the same resolution to 20.09. |
Some will poo-poo the thought because "not FLOSS" and similar ideologies, let's think about end-users first here. We're smaller than those distros, but if there's a common front to talk with Google about it, we should participate or approve of such a front.
This will end-up hurting a part of our end-users. |
Personally, I don't use chrome. Google does, what google wants. I don't think we have much of a choice, and will just provide what we can. I'm sure users will be aware that the limitation exists regardless of platform. |
Yes, we should be able to pass these API keys from the environment instead of baking them in. From https://www.chromium.org/developers/how-tos/api-keys
(This of course doesn't change anything about our API keys becoming unusable after March 15, 2021) |
Quoting a couple lines here from the email thread, since it was initially unclear to me exactly which keys we needed to remove:
and
So, we'll just need to remove |
Reason: Google is limiting access to their private Chrome APIs starting on March 15, 2021 [0]. Closes NixOS#110245. From the mailing list thread [1]: "The changes we announced affect the OAuth 2.0 client id and secret which are used for signing into Chrome, not the API key." "To avoid using that API, it's sufficient to either not set the OAuth 2.0 credentials, or disabling the Google signin integration" (e.g. by passing the flag --allow-browser-signin=false) [0]: https://blog.chromium.org/2021/01/limiting-private-api-availability-in.html [1]: https://groups.google.com/a/chromium.org/g/chromium-packagers/c/SG6jnsP4pWM/
I drafted a PR: #114977. Feedback is welcome (I lost track of this for a bit). |
Reason: Google is limiting access to their private Chrome APIs starting on March 15, 2021 [0]. Closes NixOS#110245. From the mailing list thread [1]: "The changes we announced affect the OAuth 2.0 client id and secret which are used for signing into Chrome, not the API key." "To avoid using that API, it's sufficient to either not set the OAuth 2.0 credentials, or disabling the Google signin integration" (e.g. by passing the flag --allow-browser-signin=false) [0]: https://blog.chromium.org/2021/01/limiting-private-api-availability-in.html [1]: https://groups.google.com/a/chromium.org/g/chromium-packagers/c/SG6jnsP4pWM/ (cherry picked from commit dc9f2c5)
In this blog post [1], Google states that after March 15, 2021, they will be limiting access to various Google APIs that they are now describing as "private" and "only intended for Google's use". The most notable of this apparently includes "Chrome sync" which allows syncing bookmarks / browser history / etc. across multiple browsers logged-in to a given Google account.
Additionally, emails [2] have been sent out to chromium maintainers from other Linux distros stating that users of their chromium-based browser will no longer be able to sign in to their Google accounts. They recommend these chromium-based browsers remove
google_default_client_id
andgoogle_default_client_secret
from the build configuration, or alternatively, set--allow-browser-signin=false
at startup.@edolstra Did we get a similar email as the one shown in [2]?
[1] https://blog.chromium.org/2021/01/limiting-private-api-availability-in.html
[2] https://groups.google.com/a/chromium.org/g/chromium-packagers/c/SG6jnsP4pWM/m/HdoGEO0qCwAJ
CC @primeos @thefloweringash @bendlas
The text was updated successfully, but these errors were encountered: