Sign pdf : error 2148532330 Access was denied because of a security violation.

1,307 views
Skip to first unread message

Patrick Tellier

unread,
Jul 6, 2020, 8:24:40 AM7/6/20
to eID Middleware Dev
Bonjour, 

Nous développons un logiciel qui permet de signer les pdfs. 
Nous utilisons Aspose.PDF comme toolkit pour signer.
Signer avec l'eID (avec le certificat de signature) produit une erreur microsoft : 2148532330 Access was denied because of a security violation. 
En effectuant une recherche sur internet, je suis tombé sur cette page sur le site d'adobe qui fait référence au FEDICT: https://community.adobe.com/t5/acrobat/security-violation-error-error-code-2148532330-in-acrobat-pro-xi-with-windows-8/m-p/5112939?page=1
Signer le pdf avec le certificat d'Authentification ne pose pas de problème.
Signer avec le certificat de signature dans Adobe Reader ne pose pas non plus de problème.

Auriez-vous une solution ? 
Merci 

Frederik Vernelen

unread,
Jul 6, 2020, 8:26:58 AM7/6/20
to Patrick Tellier, eID Middleware Dev
Hello Patrick,

The problem that you might be facing in your software is that the eID applet 1.7 (current eID cards) requires a validate PIN instruction just before signing with the key of the non-repudiation certificate.
So if e.g. you do a 'select algorithm' instruction in between the 'verifyPIN' and the 'compute digital signature', the signing will fail with a security error (as you needed to validate the PIN just before trying to sign).
For testing purposes: When using the authentication certificate, this restriction is not active, and thus should work if it is the above error you are facing.

Wkr,
 Frederik

--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eid-middleware-dev/b4018f37-5b8f-4f25-b347-e738bab43552o%40googlegroups.com.

Patrick Tellier

unread,
Jul 6, 2020, 8:40:45 AM7/6/20
to Frederik Vernelen, eID Middleware Dev
Hello Frederik,

Ok so I need to check with Aspose lib because I didn't develop it myself using the middleware.
Thanks for the tip.

Patrick
Reply all
Reply to author
Forward
0 new messages