Closed HiS3 closed 7 months ago
@HiS3 You're probably right that the binary data is the root cause. There are two options how to deal with this:
GenericInterface::Invoker::Ticket::Generic::PrepareRequest::OmittedFields
needs to be configured for this.GenericInterface::Invoker::Ticket::Generic::PrepareRequest::Base64EncodedFields
is the required configuration setting.Both settings affect all requesters.
Hey @rkaldung thanks for the quick help. I had initially tested the Base64Encoded
variant. But this resulted in the next error -e Wide Character ...
.
However, the OmittedFields
variant worked all the better :). With this config, only the SMIME certificates are removed from the Json.
Many thanks again. With this I close the bug.
Environment
Expected behaviour
Actual behaviour
This is also the case if the customer does not have a SMIME certificate.
But if the Customer does have a SMIME certificate it runs in trouble. We use for our Customer a LDAP incl. SMIME-Certificate (integreated via Kenerl/Config.pm) in binaire-Form. It is also suitable for SMIME e-mail communication. as long as the customer isn´t in our LDAP incl. SMIME-Certificate
But when the json file for the webhook is first sent to Mattermost, the binary is not converted or ignored, resulting in the following error message.
The event handler crashes and neither the webhook is sent nor the GernercAgents are executed!
Current solution --> Webhooks deactivated :-1:
How to reproduce
Steps to reproduce the behavior:
Additional information
Screenshots
Example of the SMIME-Format in the Json-File under![UserSMIMECertificate](https://github.com/znuny/Znuny/assets/59806940/6faa8c71-61f0-476f-850a-a9416c7330a0)
CustomerUser