Skip to content

Instantly share code, notes, and snippets.

View Drakulix's full-sized avatar
🏳️‍⚧️
Writing rust for work 🦀

Victoria Brekenfeld Drakulix

🏳️‍⚧️
Writing rust for work 🦀
View GitHub Profile
@DavidBuchanan314
DavidBuchanan314 / widevine_fixup.py
Last active March 20, 2024 11:56
Patch aarch64 widevine blobs from ChromeOS to work on non-ChromeOS linux, including platforms with 16K page size like Apple Silicon / Asahi Linux
"""
MIT License
Copyright (c) 2023 David Buchanan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@rithvikvibhu
rithvikvibhu / README.md
Last active April 12, 2024 15:32
GHLocalApi Update

GHLocalApi Update

The Gist

Until recently, the Google Home app used to communicate with the device over port 8008 (HTTP) and did not require any authentication. Everything in the unofficial documentation worked as expected.

A few days (weeks) ago, Google pushed a new update to all GH devices and all endpoints (except /setup/eureka_info) started returning 403 (forbidden) errors. The app had switched over to port 8443 and HTTPS.

#![feature(os, core)]
extern crate cef;
extern crate glium;
extern crate glutin;
extern crate image;
use std::cell::RefCell;
use std::default::Default;