Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EsempioPKCS11.cpp non funziona... #80

Closed
mistermongi opened this issue Jul 8, 2020 · 2 comments
Closed

EsempioPKCS11.cpp non funziona... #80

mistermongi opened this issue Jul 8, 2020 · 2 comments

Comments

@mistermongi
Copy link

mistermongi commented Jul 8, 2020

Salve,
l'esempio CPP presente non sembra funzionare.
Se eseguito fallisce sistematicamente la C_OpensSession con:
result = E1 (token not recognized)

I lettore utilizzato è specifico per CIE; fornitore bit4id.

Noto che nella CIEPKI.dll ci sono 4 funzioni in più delle solite pkcs11: vengono chiamate dal programma in c# (che invece funziona correttamente) e fanno uno scambio di chiavi diffie-hellman.

E' possibile per favore avere qualche indicazione?
Grazie

@arg7
Copy link

arg7 commented Jun 16, 2021

Ho avuto lo stesso problema, pero ho notato che se faccio build a 64bit del EsempioPKCS11.cpp allora funziona.
Strano.

@aantetomaso
Copy link
Collaborator

Il Software CIE è a 64 bit. Occorre compilare a 64 bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants