Giter Site home page Giter Site logo

authy-cli's Introduction

Hello!

I'm John Hobbs. I work on a wide array of odds and ends, most of which you can find here on GitHub.

authy-cli's People

Contributors

jmhobbs 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

Watchers

 avatar  avatar  avatar

authy-cli's Issues

Registration fails

Hi, thanks for creating that tool, I am hoping this will work as soon Desktop app will be deprecated

The registration fails for me, how can I help with debugging it ? I anomized my data.

$ authy-cli register XX ZZZZZZZZZ
2024/03/14 13:04:54 Checking status of account XX-ZZZZZZZZZ
2024/03/14 13:04:55 Account ID is 0
2024/03/14 13:04:55 Device registration request sent to other devices via 
2024/03/14 13:04:55 Please accept this request.
2024/03/14 13:04:55 error: json: cannot unmarshal string into Go struct field RegistrationStatus.message of type struct { RequestStatus string "json:\"request_status\"" }
2024/03/14 13:04:55 Writing all HTTP requests to 2024-03-14T13:04:54.har
2024/03/14 13:04:55 !!! THIS HAR MAY CONTAIN SENSITIVE INFORMATION !!!

I am not sure what to share but this is what I got from .har

$ cat 2024-03-14T13\:04\:54.har |jq |grep statusText
          "statusText": "406 Not Acceptable",
          "statusText": "404 Not Found",
          "statusText": "406 Not Acceptable",

Fails for UK country code

Hi,

Thanks for this example.

For some reason it fails with a UK country code.

authy_cli register 44 xxxxxxxx

2023/05/18 13:34:45 Checking status of account 44-xxxxxxxx
2023/05/18 13:34:46 Account ID is 0
2023/05/18 13:34:46 Device registration request sent to other devices via 
2023/05/18 13:34:46 Please accept this request.
2023/05/18 13:34:46 error: invalid character 'R' looking for beginning of value

Any ideas why?

Interface conversion error

Hi, I love this project cause it saved me from having to make my own! Now I'll never need to deal with that awful desktop application again.

Just FYI there's a problem related to interface conversion that shows up when you try to view a token.

panic: interface conversion: interface {} is float64, not int

I'm not hugely familiar with Go but the fix is simple, I just changed line 40 of model/token.go from

iterations =t.KeyDerivationIterations.(int)

to

iterations = int(t.KeyDerivationIterations.(float64))

I didn't want to submit a PR for such a small change so I figured I'd just open an issue first. Cheers :)

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.