My thoughts on Slackware, life and everything

Tag: google (Page 1 of 16)

My LibreOffice packages stop using Google OAuth API keys

LibreOffice logo

Unfortunately, I had to make the decision to remove my personal Google OAuth API keys from the LibreOffice packages that I build and release for Slackware.

During compilation of the libreoffice package, I provide this API key in the build environment, and as a result you can directly read from and write to your Google Drive when editing documents. No local document copies required. This has been my way of building libreoffice for many years. It’s a free service from me to you, and because the volume of users of my package is low enough, I have never been charged money for using Google’s Storage API.

And then, Google made another move to push community initiatives to the margins. There were multiple warnings during the year that I had to provide more personal and consent details for my ‘LibreOffice for Slackware’ API project or else my key would be revoked. All of this to satisfy a Data Safety Program (your data must be safe from me, I get it). I responded that I am an unpaid volunteer who wants to provide the users of his distro packages with the best experience and that I did not have to time or inclination to record product videos to prove that I was not stealing and reselling my users’ data. This was their answer, provided verbatim, which made me decide to just delete the API keys from the Google Cloud Console.

Thank you for your response and for explaining your project’s integration with LibreOffice for the Slackware Linux community. We appreciate the context regarding your build script.

While we understand that your project compiles into a desktop binary package, the Google API Services User Data Policy requires us to verify how your application interacts with Google User Data and displays the OAuth consent screen. Because we cannot interactively test native desktop applications on our end, a demonstration video is a strict requirement for verification and cannot be waived.

Providing this video is straightforward for desktop applications: you simply need to use a screen recording tool to capture your computer screen while running the compiled LibreOffice binary.

Please record a comprehensive new demonstration video that satisfies the following criteria:

In-App Functionality: Demonstrate the full operational functionality of the requested Google Drive scope within the compiled LibreOffice application. (Note: You mentioned users save and read documents stored in “OneDrive” in your email, but we specifically need to see the integration with Google Drive). Source Account Impact: Show the changes triggered in the app reflected in the user’s Google account (e.g., show a document being successfully saved to, or opened from, the user’s Google Drive). Consent Screen: The OAuth consent flow and permission screen must be displayed with all requested scopes fully expanded and readable—if the scopes are obscured, click “Show all services.” Please ensure the URL bar showing your Client ID is visible in the browser when the consent screen pops up. Scope Matching: The scopes requested by your app must exactly match the scopes configured and submitted for verification in the Google Cloud Console. Critical Note For Live Apps: If your integration is already live to your users, do not deploy unverified scopes to production traffic. Instead, trigger new scopes only in a staging environment. If your app has reached its user cap, use a separate project to record the demo. The publishing status should remain “In Production.”

Once you have recorded the new demonstration video, please reply directly to this email with a publicly accessible link (such as YouTube, Vimeo, or a Google Drive link with permissions set to “Anyone with the link can view”) so we can continue the review.

Also, we need you to address the following items for us to continue your app’s verification:

Your privacy policy does not specify any data protection mechanisms for sensitive data. Please take the following action(s) to continue with your request ⤷ Update and resubmit your app in Cloud Console with the following:

A link to the updated privacy policy containing data protection disclosures (Learn more) Important! Once you have addressed the issues above, reply directly to this email to confirm. You must reply to this email after fixing the highlighted issues to continue with the app verification process.

Thank you,

The Third Party Data Safety Team

Future LibreOffice packages provided by me will therefore not have the ability any longer, to connect to Google Drive for document editing. Instead, I advise you to install rclone, which is a powerful tool that allows you to connect to a large amount of online storage facilities and protocols. The instructions to connect Rclone to your Google Drive are available on their website, like they do with all of their supported backend storage options. The result is a locally mounted directory in your Linux filesystem where you can interact with your online documents as if they were stored locally. Rclone does the business of downloading and uploading your document bytes completely transparently.

Apologies for any inconvenience. Gone are the days where Google’s mantra was “don’t be evil”. Eric

Chromium 152 - a pain to compile, so have patience (similar for LibreOffice)

Chromium 152 sources contain another major step for Google to unify their build infrastructure. Great for Google but for me it sucks.

Because unfortunately for me (and for you, the Chromium browser user) Google introduces new tools as part of their custom Rust toolchain that I am unable to compile locally as Slackware-native binaries. The "cc_bindings_from_rs" tool biting me in particular, part of the "crubit" project, also from Google.
Which means that (for now) I have to use the pre-built LLVM and Rust toolchain binaries that are embedded in the Chromium source tarball.
There's a big 'gotcha' to that now, something that was never an issue before. They have built "cc_bindings_from_rs"  on a system that is more modern than Slackware 15.0, so that this binary (and also several others as I found out) fail to run on Slackware 15.0, complaining "version `GLIBC_2.34' not found". As a result, the chromium.SlackBuild script fails to produce a package.

For the time being, I refuse to ditch support for Slackware 15.0 and I will keep trying to find a way to compile Chromium 152. This is galling, because I would like to spend my precious time on actually useful stuff instead of fighting Google at their own game. Still, the amount of CVE's that is addressed by Chromium 152 is huge and I cannot ignore that.

Then LibreOffice is adding insult to injury. You might have seen in my repository's ChangeLog.txt that I only released LibreOffice 26.8.0 as 64bit Slackware packages (15.0 and -current). I can not make the 32bit compile work here. An issue (looks like a compiler trap) which is unrelated to the Chromium problem, but it shows a troubling trend: the disregard that developers have for users of older 32bit hardware and older Operating Systems. The build of this new release simply was never properly quality-tested on 32bit.

To be continued.

Update 20260830:
For 32bit Chromium I found a solution which I documented in a separate blog article.
For 32bit LibreOffice I also found a fix, which boils down to "make sure that clang does not run out of address space on a 32bit host". I disabled debug symbols, reduced code compilation optimizations, cranked up the stack limit and reduced the parallelism from "use all your cores" to "just four, no more". All of this combined has indeed helped clang avoid traps and segfaults. Takes a lot longer to complete but that's the compromise.

Multiple Chromium updates in rapid succession

You may have noticed that after my release of the Slackware package for Chromium (and its Un-Googled sibling) version 146.0.7680.71 there was a really short interval until I released an update in the form of the 146.0.7680.75 version.

Chromium 146.0.7680.71 is the latest major version upgrade and it addressed a crazy amount of CVE's. I am not even going to lookup and configure the URLs, here's the list:

CVE-2026-3913 CVE-2026-3914 CVE-2026-3915 CVE-2026-3916 CVE-2026-3917 CVE-2026-3918 CVE-2026-3919 CVE-2026-3920 CVE-2026-3921 CVE-2026-3922 CVE-2026-3923 CVE-2026-3924 CVE-2026-3925 CVE-2026-3926 CVE-2026-3927 CVE-2026-3928 CVE-2026-3929 CVE-2026-3930 CVE-2026-3931 CVE-2026-3932 CVE-2026-3934 CVE-2026-3935 CVE-2026-3936 CVE-2026-3937 CVE-2026-3938 CVE-2026-3939 CVE-2026-3940 CVE-2026-3941 CVE-2026-3942

And then the next update to 146.0.7680.75 only two days later included 2 zero-day security fixes that the developers missed somehow: both for CVE-2026-3909 and CVE-2026-3910 an exploit exists in the wild.

And then already the next day, a new update emerged which I am currently compiling: Chromium 146.0.7680.80 sources were released to address yet another zero-day exploit, this time CVE-2026-3909.

Those new packages (chromium and chromium-ungoogled 64bit binaries) will become available tomorrow, Sunday if the compilation does not fail. The 32bit package for chromium-ungoogled will follow a day later. The last two attempts to build a 32bit package had to be aborted when I discovered that there was a new release. I have only one computer that is capable of compiling Chromium, and building packages in parallel is not an option.

Enjoy the weekend and be careful accessing shady web sites :-)

Eric

Chromium source tarball availability

Someone asked how I am creating Chromium (also -ungoogled) packages these days? When you download my SlackBuild script and attempt to build the package yourself, the script will error out because it cannot download the sources.

For weeks now, the Google automation is broken with regards to creating Chromium source tarballs. Apparently some bug prevents their CI/CD pipelines from succeeding. This is reportedly fixed for the Chromium 132.x releases (currently their Beta versions) but Chromium 130 and now also 131 releases are announced without their accompanying source tarballs.
I have therefore created a script which fetches the needed stuff from git and packs that into a "chromium-$VERSION.tar.xz" tarball. You will find it in the "build" directory and it's called "fetch-chromium-release.sh". You run that script with a Chromium official version number, wait a long long time, and you end up with the 6+ GB source tarball which you can then move into your local "build" directory.

Hope that clarifies things and helps you compile chromium or chromium-ungoogled yourself.
Have fun! Eric

July update for Chromium 126

The latest release of the Chromium source code (version 126.0.6478.182 was made available on July 16th) addresses several vulnerabilities as usual, some of which are rated as 'High' but none 'Critical' and also no new 0-days are reported.

You can fetch my Slackware 15.0 and -current packages both for chromium and (hopefully soon, because its source has not been released yet) also chromium-ungoogled . You may prefer one of the mirror servers (like my own US server and in a short while, the UK mirror) in case my primary slackware.nl server is not responding or too slow.

I am slowly transitioning back from being a caregiver for my mother (which absorbed me completely for 10 months) to a life where I have time and energy in the evenings to hack on Slackware again. You will soon find the next installment in the Slackware Cloud Server series here on the blog - an article dedicated to building a Docker stack as cloud storage backend for the open source Ente Auth 2-factor authentication app.

Cheers, Eric

« Older posts

© 2026 Alien Pastures · Entries feed

Theme based on Hemingway by Anders Norén — Up ↑