Invalid MAC - file may have been tampered!

I keep getting this error after uploading my p12/pfx file for signing purposes with typing the correct password

Something went wrong

class com.groupdocs.signature.exception.GroupDocsSignatureException: Invalid MAC - file may have been tampered!

I am seeking guidance on how to resolve this error. The code I am using is from a sample obtained from https://github.com/groupdocs-signature/GroupDocs.Signature-for-Java-Spring

@trunkey2003

Could you please share the sample/problematic file?

1 Like

Here is the link to the pfx files and their passwords https://drive.google.com/drive/folders/1vBzH8nsPWPw1fkhNartCPc6prfjRCKw5

1 Like

@trunkey2003

We are investigating this issue. Your investigation ticket ID is SIGNATUREJAVA-2614.

How is the pfx signing files issue, could you tell me does signing with pfx files work on your side?

@trunkey2003

Please take a look at the supported file formats and this eSign document with digital signature article.
You cannot sign a PFX file but you can digitally sign any supported document with PFX certificate.

Thanks atir.tahir, I mean signing a pdf file with the PFX file (certificate).

@trunkey2003

We are already investigating this issue.

1 Like

@trunkey2003

We’ve updated the GitHub project. Please try the web app again and let us know if issue persists.

1 Like