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

Import and export of OTP secrets (CSV or PSKC) #52

Open
jans23 opened this issue Jan 6, 2019 · 1 comment
Open

Import and export of OTP secrets (CSV or PSKC) #52

jans23 opened this issue Jan 6, 2019 · 1 comment
Labels
extension Functionality that is related to extensions, in one form or another

Comments

@jans23
Copy link

jans23 commented Jan 6, 2019

In order to allow better integration with 3rd party software such as PrivacyIdea and KeyIdentity the import and export of OTP secrets in an appropriate format is desired. Common formats are CSV and PSKC.

Do you see nitrocli as the right tool to support such?

Obviously export is only possible during generation of the secret (in the software) and it doesn't mean to export a secret already configured in the Nitrokey.

@d-e-s-o
Copy link
Owner

d-e-s-o commented Jan 6, 2019

That's an interesting question and a good proposal. I like the idea of nitrocli supporting such an export, but it appears to me that such functionality should reside inside an "extension" (discussions around which are happening in issue #50).
There are three reasons: we likely need additional dependencies to write those formats (which are not used in any other parts of the program), the list of supported formats may grow over time, and such an export seems to be rare enough a feature to not be required by the majority of users.

However, right now I can't really see how this functionality (as I understand it from your description) can be implemented sanely in such an extension, short of basically duplicating the entire otp set subcommand. Perhaps we should think about an extension design that can accommodate this case or see how it could fit in nicely.

@d-e-s-o d-e-s-o added the extension Functionality that is related to extensions, in one form or another label Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Functionality that is related to extensions, in one form or another
Projects
None yet
Development

No branches or pull requests

2 participants