Skip to content

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

Open

Description

@evil-user

@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.

Activity

  1. 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.[/+] on Jun 25, 2022
  2. BartAgterbosch commented on Aug 10, 2022

    @BartAgterbosch

    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

  3. ferd commented on Aug 10, 2022

    @ferd

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions