Skip to content

Instantly share code, notes, and snippets.

View kavishdevar's full-sized avatar
💭
I may be slow to respond.

Kavish Devar kavishdevar

💭
I may be slow to respond.
View GitHub Profile
@kavishdevar
kavishdevar / proximity_keys.py
Last active September 3, 2025 18:55
Retrieve IRK and encyrption key from AirPods on Linux and Windows
#!/usr/bin/env python3
# Needs https://github.com/google/bumble on Windows
# See https://github.com/google/bumble/blob/main/docs/mkdocs/src/platforms/windows.md for usage.
# You need to associate WinUSB with your Bluetooth interface. Once done, you can roll back to the original driver from Device Manager.
import sys
import asyncio
import argparse
import logging