Skip to content

Instantly share code, notes, and snippets.

View AirstarsAsia's full-sized avatar
🎯
Focusing

PeterM AirstarsAsia

🎯
Focusing
View GitHub Profile
@AirstarsAsia
AirstarsAsia / AuthyToOtherAuthenticator.md
Created December 9, 2023 23:33 — forked from gboudreau/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the

@AirstarsAsia
AirstarsAsia / cme_api_csv.py
Created May 16, 2020 02:03
Quick script to read in a json file and export to CSV using Pandas.
from pandas import json_normalize
from pathlib import Path
import json
# place the .json file in the same dir as this script
p = Path(r'products.json')
# read json
with p.open('r', encoding='utf-8') as f:
data = json.loads(f.read())