Coder Social home page Coder Social logo

otpauth-migration-decoder's Introduction

~/.about_me

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

Reach me on LinkedIn or Telegram

otpauth-migration-decoder's People

Contributors

digitalduke avatar slatinsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

otpauth-migration-decoder's Issues

Not working

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

Can't get this to work...

Helo, in the interest of brevity, I'll get right to the point:

  1. 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.

  2. 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.