Comments (4)
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.
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.
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.
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)
- Error editing entry HOT 4
- Use color-eyre crate for error handling
- Configure Cache in CI/CD
- Use once_cell crate for lazy initialization
- Export to widely know format HOT 3
- Migrate to ratatui as tui-rs is unmainteined
- [Feature request] Is it possible to add URI string format support for both import and export HOT 13
- [Feature request] Is it possible to support some kind(s) portable mode? HOT 11
- [Feature request] Is it possible to add a Page Up/Down page navigation feature for the UI HOT 1
- Consider using the xdg specification HOT 6
- Chromium 117 freezes for several seconds when attempting to paste the token
- Minor typo s/chages/changes HOT 1
- convert export.cotp HOT 7
- The automated release is failing 🚨
- How can I use Cotp with Microsoft Teams? HOT 1
- Should downstream packaging include importers? HOT 4
- Feature Request: A way to share HOTP/TOTP URI outside of QR encoding HOT 2
- `cotp import --otp-uri --path [file]` doesn't seem to work HOT 2
- Feature request: add subcomannd `list` to list entries HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cotp.