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

Substituting AES-CBC for AES-GCM in Hybrid ABEenc #282

Open
PekeDevil opened this issue Mar 24, 2022 · 0 comments
Open

Substituting AES-CBC for AES-GCM in Hybrid ABEenc #282

PekeDevil opened this issue Mar 24, 2022 · 0 comments

Comments

@PekeDevil
Copy link

I'm currently implementing Charm for a project, and I have realized that abenc_adapt_hybrid.py calls to symcrypto.py underneath for symmetrically encrypting the original message.

I wondered which symmetric encryption algorithm is implemented, and I realized that it is AES-CBC. CBC mode seems a bit outdated, and I wonder if there is any way of implementing AES-GCM instead.

I've been trying to import a MODE-GCM from charm.core.crypto.cryptobase with no luck so far. I guess there are many dependencies I'm not considering and that changing from CBC to GCM is not as straightforward as it seems.

Is anyone working on this, or is there a plan to substitute AES-CBC for AES-GCM?

Of course, there is also the possibility of having misunderstood everything and AES-GCM having already been implemented 😄. In which case, some pointers would be lovely 😊

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

2 participants