Hello,
my name is George (polish: Jerzy). I am engineer and manager.
- ๐ก interested in software architecture and production
- ๐ enjoy working with Pythons and humans
- โ coffee and green tea lover
Convert otpauth-migration to plain link
Helo, in the interest of brevity, I'll get right to the point:
I have a valid otpauth-migration://offline?data= string that I generated from my personal Google Authenticator app using the Google zxing library for Java to convert the QR image into its string format.
Here is the text from a terminal of my results trying to parse it with this script:
~/Google $git clone https://github.com/digitalduke/otpauth-migration-decoder
Cloning into 'otpauth-migration-decoder'...
remote: Enumerating objects: 108, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 108 (delta 51), reused 93 (delta 37), pack-reused 0
Receiving objects: 100% (108/108), 33.21 KiB | 1.04 MiB/s, done.
Resolving deltas: 100% (51/51), done.
~/Google $cd otpauth-migration-decoder/
~/Google/otpauth-migration-decoder $pip install protobuf
Collecting protobuf
Downloading protobuf-3.19.1-cp310-cp310-macosx_10_9_universal2.whl (1.0 MB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 1.0 MB 4.4 MB/s
Installing collected packages: protobuf
Successfully installed protobuf-3.19.1
~/Google/otpauth-migration-decoder $cd src
~/Google/otpauth-migration-decoder/src $python decoder.py "otpauth-migration://offline?data=<deleted for security>"
Traceback (most recent call last):
File "/Users/michael/Google/otpauth-migration-decoder/src/decoder.py", line 20, in <module>
import click
ModuleNotFoundError: No module named 'click'
~/Google/otpauth-migration-decoder/src $
What am I doing wrong?
python decoder.py --convert "otpauth-migration://offline?data=CjEKCkhlbGxvId6tvu8SGEV4YW1wbGU6YWxpY2VAZ29vZ2xlLmNvbRoHRXhhbXBsZTAC"
Traceback (most recent call last):
File "decoder.py", line 22, in <module>
from otpauth_enums import (
File "/Users/ksatyamurthy/github_projects/otpauth-migration-decoder/src/otpauth_enums.py", line 4, in <module>
Algorithm: Mapping[int, str] = {
TypeError: 'ABCMeta' object is not subscriptable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.