Skip to content

Duplicate ObjectIdentifiers in SMIMEEnvelopedUtil #2218

Description

@scre116

The current implementation of SMIMEEnvelopedUtil includes the same algorithm ID three times in the list:

        authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
        authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
        authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);

Instead, it should be:

        authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
        authOIDs.add(NISTObjectIdentifiers.id_aes192_GCM);
        authOIDs.add(NISTObjectIdentifiers.id_aes256_GCM);

Compare the comment with the original contribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions