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: Aegis encrypted export #17

Closed
jonas-w opened this issue Jan 16, 2022 · 4 comments
Closed

Feature Request: Aegis encrypted export #17

jonas-w opened this issue Jan 16, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@jonas-w
Copy link

jonas-w commented Jan 16, 2022

Hey thank you for this neat little tool.
When i first tried to import my aegis json file it spit out a huge error. Then i realized it's because of the encryption used when exporting aegis.

Yes, I'm aware that i can export from aegis without encryption! But it would be convenient if it would take encrypted json files :)

EDIT:
Probably this function for decryption

@replydev
Copy link
Owner

Hi thank you, this feature is very neat.

I found some time to implement it. I will surely refactor the code, and i will release it in the next version. If you are impatient you can compile the crypto branch by yourself.

Regards

@jonas-w
Copy link
Author

jonas-w commented Jan 28, 2022

Hey thank you, i just found the time to compile it myself. Works like a charm!

  1. I think the -k flag is a bit weird for aegis encrypted

  2. Isn't the --path flag redundant?

    Wouldn't something like cotp import -k /path/to/db work too? Or has this something to do with how you parse the arguments?

@replydev
Copy link
Owner

As far i know the path arg is required. What flag would you choose instead of -k?

@jonas-w
Copy link
Author

jonas-w commented Feb 5, 2022

Sorry for leaving you hanging! No worries with the path argument just thought it was redundant.

Maybe as a feature enhancement (just thought about it, because of the -k flag):

  • Use for both encrypted and decrypted the -a argument
  • but parsing the json and search if it's encrypted or not
  • when decrypted just import and if encrypted ask for password

@replydev replydev added the enhancement New feature or request label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants