linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

[MU] SMIMECheckSignature integration tests and evolution #5228

Closed chibenwa closed 1 month ago

chibenwa commented 1 month ago

What

Write integration tests for SMIMECheckSignature within server/mailet/integration-testing/src/test/java/org/apache/james/mailets/crypto

Also I would like to get for each email processed the signature status as a header:

X-SMIME-Status: Good signature
X-SMIME-Status: Bad signature
X-SMIME-Status: Not signed

Adding the X-SMIME-Status would likely require code modifications within SMIMECheckSignature.

Why

MU governement asks for signature display in the webmail.

chibenwa commented 1 month ago

CF https://github.com/linagora/tmail-flutter/issues/3023

chibenwa commented 1 month ago

CF https://ci.linagora.com/linagora/lgs/twp/mail-gov-mauritius/-/issues/30

chibenwa commented 1 month ago

Dont forget to push a draft PR before the weekend nheee

hungphan227 commented 1 month ago

draft pr https://github.com/apache/james-project/pull/2366