Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Export from CLI #187

Closed
Spectre5 opened this issue Oct 19, 2020 · 7 comments
Closed

Feature Request: Export from CLI #187

Spectre5 opened this issue Oct 19, 2020 · 7 comments

Comments

@Spectre5
Copy link

Would it be possible to add a export feature that can be called from the CLI? I'd like to make automatic backups of my OTP codes to an encrypted directory as part of a broader backup script I use for myself. Ideally I could make an otpclient backup integrated so that I don't have to manually export the file. I'd like to run the command in a bash script and then be prompted from my password before exporting (to Aegis JSON, for my use case).

@paolostivanin
Copy link
Owner

Good idea, I'll add it to the list :)

@paolostivanin paolostivanin added this to To Do in Release 3.0.0 Oct 19, 2020
@Spectre5
Copy link
Author

I'm sure this isn't really high priority, but any idea when this might be implemented (so when version 3.0.0 would release)?

@paolostivanin
Copy link
Owner

Hello!
This should be rather easy to implement, so I'm gonna release a v2.4.0 with just this one fixed 👍
Theoretically, I should have some free time this week, so it's very likely I'll be able to release it in the next 7/10 days!
About v3.0: https://github.com/paolostivanin/OTPClient/wiki/Roadmap

@Spectre5
Copy link
Author

That would be awesome - I'll keep my eye out for 2.4.0, thanks!

paolostivanin added a commit that referenced this issue Dec 30, 2020
It's now possible to export the data directly from the CLI.
As it is for the GUI, data can be export to andotp (only encrypted), freeotpplus and aegis format.

This fixes #187
paolostivanin added a commit that referenced this issue Dec 30, 2020
It's now possible to export the data directly from the CLI.
As it is for the GUI, data can be exported in andotp, freeotpplus and aegis format.

This fixes #187
paolostivanin added a commit that referenced this issue Dec 30, 2020
It's now possible to export the data directly from the CLI.
As it is for the GUI, data can be exported in the andotp, freeotpplus and aegis format.
For andotp, both encrypted and plain json formats can be chosen.

This fixes #187
@paolostivanin
Copy link
Owner

If you want, you can test branch fix-187 :)
If you do, please let me know how it goes for you!

@Spectre5
Copy link
Author

That branch doesn't exist :) But I see a 2.4.0 tag plus it is in master. I tested it out and it seems to work, so that's great. But I have another request for this, which I'll open as a new issue!

@paolostivanin
Copy link
Owner

Cool, thanks for double checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants