Skip to content

EncryptionProvider throws PHP warning #4

@jaredbiehler

Description

@jaredbiehler

PHP Warning: openssl_decrypt(): IV passed is 21 bytes long which is longer than the 16 expected by selected cipher, truncating in ... /vendor/npr/npr-one-backend-proxy/src/One/Providers/EncryptionProvider.php on line 88

Looks like this can be fixed by switching over to PHP's multibyte string functions mentioned here: osTicket/osTicket#475 (comment)

I have a fix for this but not the time to address it and I want to ensure this isn't forgotten.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions