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: Support encryption #363

Open
huntzhan opened this issue May 31, 2019 · 4 comments
Open

Feature Request: Support encryption #363

huntzhan opened this issue May 31, 2019 · 4 comments

Comments

@huntzhan
Copy link

The more we know about your system and use case, the more easily and likely we can help.

Environment info

  • OS: N/A
  • App Version (Command/Ctrl + ,): N/A

Description of the problem / feature request / question:

AFAIK, the secret gist means not searchable instead of not accessible by the public. I think it would be great to support encryption on the client side to make it really a secret, as such user could have less concern to the content they post.

If possible, provide a sample gist or screenshot:

If possible, provide the log files

  • Mac: ~/Library/Application Support/Lepton/logs
  • Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
  • Linux: ~/.cached/Lepton/logs

The debug mode is recommended when producing the logs.
You can send your log file to cosmo.lepton@gmail.com if don't want to post it here.

@hackjutsu
Copy link
Owner

@huntzhan Hello, could you clarify "encryption on the client side"? Lepton doesn't store this data locally and use GitHub APIv3 for remote update.

@huntzhan
Copy link
Author

huntzhan commented Jun 7, 2019

Thanks for the reply.

For example, the user could add an AES credential(password) to the config file, and then Lepton could help encrypt the gist with the credential before uploading to Github. Since only the encrypted content got pushed to Github, anyone without the credential could not recover the original information. Afterward, Lepton could help decrypt the file with the same credential, which is only stored locally.

@hackjutsu
Copy link
Owner

hackjutsu commented Aug 24, 2019

This is an interesting idea, but it will become a headache of users when they switch to another gist clients.

@fugkco
Copy link

fugkco commented May 16, 2021

@hackjutsu this is true, however, this wouldn't Lepton's problem. As long as there's a way for a user decrypt the snippets, combine this with #264, and it should be easy for a user to migrate to another client. Outside that, the likelihood of a user using multiple clients (outside of github) is low.

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

3 participants