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

Make some ciphers optional #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Oct 17, 2020

No description provided.

@hpk42
Copy link
Contributor

hpk42 commented Oct 17, 2020

any particular reason for this change?

@link2xt
Copy link
Contributor Author

link2xt commented Oct 17, 2020

I want to remove support for DES and Cast5 and blowfish from Delta Chat. Maybe also twofish. These packages add unnecessary dependencies and 3DES is insecure.

@wiktor-k
Copy link
Contributor

One thing if you don't mind...

Why not leave enum unchanged even if the algo is not supported and only return "unsupported" errors when trying to use the algo that has been unselected?

This way the errors could be more descriptive (like unsupported algorithm cast5) instead of errors during parsing (unsupported algorithm constant 5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants