Giter VIP home page Giter VIP logo

Comments (4)

replydev avatar replydev commented on May 29, 2024

Thanks for reporting. I will try to replicate and release a fix.
I do not receive notifications for new messages in closed issues. Please always open a new issue.

from cotp.

replydev avatar replydev commented on May 29, 2024

So, in #425 the feature removal from a single OTP Uri has been reverted. You can now add the OTP Uri as before.

Said that, the importing error that you faced has been made a bit more clear. The error was the format that you were trying to import. All the import files must be JSON files with a string predefined schema.
Please read: https://github.com/replydev/cotp?tab=readme-ov-file#migration-from-other-apps for futher information.

from cotp.

brian6932 avatar brian6932 commented on May 29, 2024

It should (also) just work with (cr)lf and/or whitespace in general separated list (Regex::new(r"(?m)\s+").split(string).collect()) (This is how https://github.com/bingzheung/authenticator exports & imports, easier to parse, and also most natural for a user making their own list, so it makes sense imo).

from cotp.

brian6932 avatar brian6932 commented on May 29, 2024

Basically, I would like to do things like

qrrs -r qrcode.png | cotp add -u

which would decode a QR code, and then pipes the text into add. Currently I'd have to do something like

qrrs -r qrcode.png | scb
cotp add -u
Password:

Insert the otp uri: <paste>

from cotp.

Related Issues (20)

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.