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

Alternative encryption format(s) #1

Open
clach04 opened this issue Dec 30, 2023 · 1 comment
Open

Alternative encryption format(s) #1

clach04 opened this issue Dec 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@clach04
Copy link
Owner

clach04 commented Dec 30, 2023

Also see:

Want compatible for:

So whatever is picked would like/need implementations in:

  1. C/C++
  2. Java
  3. Python
  4. JS for web browser would be nice but not critical

NOTE file extension length issues, see #2 some areas of code have been identified that need updating, there may be other places. For example, .jenc files are 5 bytes including the dot ".".

Possible Options

Ideally have existing tools, for compatibility. Which would them define container and algorithm(s) and parameters.

No more than ~ 350 GB of input data should be encrypted with a given key. This is for ~ 16 KB messages – Actual figures vary according to message sizes.
> In addition, nonces are short, and repeated nonces would totally destroy the security of this scheme. Nonces should thus come from atomic counters, which can be difficult to set up in a distributed environment.
> Unless you absolutely need AES-GCM, use AEGIS-256 (crypto_aead_aegis256_*()) instead.
> ... There are no plans to support non-hardware-accelerated implementations of AES-GCM. If portability is a concern, use ChaCha20-Poly1305 instead.

Articles

Possible libraries

C

Java

For Android, also research Kotlin libraries.

Javascript/ Typescript - Stretch Goal

For possible end-to-end encryption in web browsers.

@clach04
Copy link
Owner Author

clach04 commented Nov 23, 2024

As well as cryptManager changes, browser code will need work. A little more complicated than #2 (comment)

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

1 participant