tiamo / phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard.
42 stars 41 forks source link

FIX bad MIC compare #18

Closed homer8173 closed 3 years ago

homer8173 commented 3 years ago

The Message Integrity Code (MIC) does not match the sent AS2 message (required: D1l7ktpEpRMq18zd3WT+f4PNWLkvaTboUxG7MTchkps=, sha256, returned: D1l7ktpEpRMq18zd3WT+f4PNWLkvaTboUxG7MTchkps=,sha256)"

it was only a space between the MIC, i suggest to add trim()