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

Request to replace AES128 with AES256 and SHA256 with SHA384 or SHA512 in fernet. #26

Open
evil-user opened this issue Jun 25, 2022 · 2 comments

Comments

@evil-user
Copy link

evil-user commented Jun 25, 2022

@kennyp @kr @hgmnz @ferd @tmaher
Due to quantum computing threats multiple cybersecurity agencies like french ANSSI recommend using AES256 for encryption and atleast SHA384 for hashing purpose. I guess just replacing the algorithms might benefit the entire cryptographic community.

@evil-user evil-user changed the title Request to replace AES128 with AES256 and SHA256 with SHA384 or SHA512. Request to replace AES128 with AES256 and SHA256 with SHA384 or SHA512 in fernet. Jun 25, 2022
@BartAgterbosch
Copy link

BartAgterbosch commented Aug 10, 2022

Agreed, while 128 bit is technically still within the recommended range of 120bit minimum, it's hanging on by a thread, some already consider it theoretically broken, and if not today, then it will be in the not so distant future.
AES128 should be phased out imo, and AES256 would be a sweet spot in most cases.
Once quantum computers will scale 128 bit will no longer cut it, 256 probably still would tho

@ferd
Copy link

ferd commented Aug 10, 2022

Even years ago, we had ended up making a fernet-like library that instead used AES-GCM and called it hairnet. I don't think fernet itself has any active ownership anymore.

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

No branches or pull requests

3 participants