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

CLI client #55

Closed
cupcakearmy opened this issue Sep 5, 2022 · 6 comments · Fixed by #89
Closed

CLI client #55

cupcakearmy opened this issue Sep 5, 2022 · 6 comments · Fixed by #89
Labels
enhancement New feature or request
Milestone

Comments

@cupcakearmy
Copy link
Owner

cupcakearmy commented Sep 5, 2022

Some have asked about the possibility of using cryptgeon from the cli.
(#54 and https://discord.com/channels/252403122348097536/912714340157755482/1016073982757322863)

However while the app already uses Rest and using the endpoints is not an issue, encryption is handled by design in the front end, therefore the server is agnostic about the contents of the data, wether it's encrypted or not.

Goals:

  • have a CLI client that is compatible with macOS, Linux and maybe windows?
  • should be able to encrypt and decrypt from links
  • maybe start with text and then enable also file upload and download

Anyone interested: leave feedback and comments below so we can do something together here :)

@cupcakearmy cupcakearmy added the enhancement New feature or request label Sep 5, 2022
@cupcakearmy cupcakearmy added this to the 2.1 milestone Oct 26, 2022
@solick
Copy link

solick commented May 10, 2023

Hi @cupcakearmy thanks for this great peace of code! One question, do I understand you correctly that it is already possible to use the api? I was looking for this feature but did not found anything. An API which could be use for automated generation of messages would be interesting eg for delivering credentials etc. during automated server or user management etc.

@cupcakearmy
Copy link
Owner Author

Hey there. So the "API" works, but as the server is not aware of encryption, it does not help much. It's basically a glorified string key value store.
The challenge is that you need to encrypt the stuff beforehand, as a client. I'm working on a cli version of this though :)

@solick
Copy link

solick commented May 10, 2023

understood. But wouldn't it be worth spending the frontend an api? I would be not more than 2 endpoints, one for encryption, one for version?

@cupcakearmy
Copy link
Owner Author

You mean the german "spendieren"?
Not quite sure what you mean with the encryption endpoint. But the idea is that the server cannot decode anything, so content must arrive already encrypted.

@solick
Copy link

solick commented May 10, 2023

yes sorry. I mean because the frontend is taking care about the encryption etc. the functions are already there. What is needed is an api endpoint from the frontend which uses the functions of the frontend to generate the messages, and return the url for further usage.

@cupcakearmy
Copy link
Owner Author

Maybe lets chat on discord :) https://discord.com/invite/nuby6RnxZt

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

Successfully merging a pull request may close this issue.

2 participants