Skip to content

AES/GCM/PKCS7 doesn't include authentication tag #238

Description

@MatthewLM

When using AES/GCM/PKCS7 the authentication tag is not included in the encrypted output. This is because PaddedBlockCipherImpl does not call doFinal of GCMBlockCipher.

This means AES/GCM/PKCS7 is not authenticated and presents a severe security vulnerability.

Activity

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