Sign document error - keys not defined

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Sign document error - keys not defined

Post by arqwork »

Hello

I'm using PDF-Xviewer PRO version 2.0 (build 56.0)
We use smart cars to sign PDF files (Portuguese citizen card) but when I try to sing a document, any document, I get the following error
Image

which roughly translates has "...[System]: The keyset is not defined"

I only have a problem when using the smart card. Any other certificates are ok.

Any advice is welcome.

Fernando
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Sign document error - keys not defined

Post by Stefan - PDF-XChange »

Hello Fernando,

I will ask our developer dealing with digital signing and certificates to have a look at this topic.
In the mean time can you tell us what type of certificate that smart card is providing?

Best,
Stefan
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Thanks for the quick reply. Regarding the type of certificate, can you be more specific as to where in windows can I find that information and what exactly you need?

Thanks
Fernando
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Sign document error - keys not defined

Post by Stefan - PDF-XChange »

Hello Fernando,

I am not quite "in it" with digital certificates and the like, but I have heard that there are different types - thought you might know what the one on this card is.
As for the actual problem - the guy responsible is already checking and will post here shortly with the findings he has.

Best,
Stefan
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Hello

Any news on this issue?

Thanks

Fernando
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

Hi arqwork,

it looks like this was not yet attended to. I have made a note to the appropriate people and will follow this through to see that an answer is forthcoming.

regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Thanks Paul

In case it makes a difference, I'm using Windows 7 64 bits.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Sign document error - keys not defined

Post by Ivan - Tracker Software »

PDF-XChange viewer uses Windows Crypto API to work with certificates, and looks like it cannot get private key to sign the pdf.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Any way to fix that? I can use other software to sign PDF files with the same certificate so it seems to be a specific problem from X-change viewer

Edited-----

Just checked and your right. X-change viewer cannot access the private key in the card. Any solution for this?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Sign document error - keys not defined

Post by Ivan - Tracker Software »

Can you try to import your certificate from your card to system store ?
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

The certificate in question is in a card. When I insert the card it gets registered in the windows store. The private key is kept always in the card and it is not possible to copy or move it for security reasons.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Sign document error - keys not defined

Post by Ivan - Tracker Software »

Will investigate what I can do... maybe I have missed something in Crypto API
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

Hi Fernando,

we are continuing to investigate this. We have created a Support Request Ticket (internal only) for this item. RT#661: Sign document error - keys not defined and will post here the results of the investigation.

Sincerely
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

Hi arqwork

I have just received notification that the dev team are actively investigating your issue. We should have an update for you soon.

regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

HI arqwork,

Ivan has done quite a lot on this. Can you update to the current build and test please. If there are still issue then it looks like this will have to wait for V3.
http://www.docu-track.com/knowledgebase ... nt-version

regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Hello

Downloaded and installed build 190.0 but still not working.
Also when I sign the document with a different type of signature (not card based), the signature is not showing when I open the document.
after signing and before saving Image
after saving, close and open document Image

Could this two issues be related?
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

HI arqwork

if it is related that will be something that Ivan or another of the dev team will know. I've passed this on to them. This is going to be investigated for fixing in V3 now I suspect.

regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

Hi again arqwork,

after looking into this issue the team are requesting additional information:
Please, ask the user to send us a signed file where the signature isn't shown.
And also we need a screen shot as a confirmation that the signature isn't shown.
To attach this to the forum post you will need to put the files in aan archive - zip, rar, 7z - what ever format you choose then the forum software will allow the upload. Alternatively send it to support@pdf-xchange.com and refer to this thread.

thanks
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Hello Paul

I've made a small desktop video clip to show the problem. I'll send it by email as well as the pdf file.

Thank you for the attention to this issue.

Fernando
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Sign document error - keys not defined

Post by Stefan - PDF-XChange »

Thanks for the samples and the video Fernando.

All the info is included in the ticket, and we will keep monitoring it.

Cheers,
Stefan
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

Hi Fernando,

after spending some time on this the dev team have informed me that this fix will need to wait for V3.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Ok

Please keep me posted.

Fernando
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Sign document error - keys not defined

Post by Paul - PDF-XChange »

will do.

:-)
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
arqwork
User
Posts: 10
Joined: Fri Oct 15, 2010 7:09 am

Re: Sign document error - keys not defined

Post by arqwork »

Hello Paul

We've finally managed to fix the problem. We've installed a fresh copy of windows.

After that, none of the reported problems happened. It's working perfectly.

Thanks for the support.

Fernando
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Sign document error - keys not defined

Post by Stefan - PDF-XChange »

Thanks for the update and the good news Fernando!

Was pleasure to help! :)

Best,
Stefan