oudommeas / andiparos

Automatically exported from code.google.com/p/andiparos
1 stars 0 forks source link

OpenSC driver does not work #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have tried to use Spanish Electronic ID (it uses OpenSC drivers) but it fails 
with Andiparos

What steps will reproduce the problem?
1. Start AndiParos
2. Tools -> Options -> Certificate -> PKCS11
3. Browse C:\Windows\system32\opensc-pkcs11.dll and opensc.dll (I tried both) 
4. Name OpenSC
5. Slot [0|1|2] -> I have tested everyone
6. Select new PKCS11 entry, set PIN and Accept
7. Next pop-up appears: "Error Accessing Key Store. Maybe your password or 
driver is wrong"

The ID Reader led does not even blink before error appears.

I am using Andiparos 1.0 on Windows XP. I even have tried with 
/usr/lib/opensc.so on Mac OS X 10.6 and same error appears.

It should be great to audit webpages where Spanish Electronic ID is required.

Thanks,

Original issue reported on code.google.com by Lawwait@gmail.com on 29 Jun 2010 at 7:17

GoogleCodeExporter commented 8 years ago
Hi,

Smartcard slots are not limited to slot 0 - 2.

Have you also tried slots >= 2?

Regards,
Axel

Original comment by a.c.neumann on 29 Jun 2010 at 8:25

GoogleCodeExporter commented 8 years ago
Ok I will give it a try, but, could you tell me exactly what slot means? and 
which is the max number that could be set?

Regards,

Original comment by Lawwait@gmail.com on 29 Jun 2010 at 8:38

GoogleCodeExporter commented 8 years ago
In slot 3 and slot 4, led blinks and fails! at least we are moving ahead. Is 
there anyway to debug it by my own?

Original comment by Lawwait@gmail.com on 29 Jun 2010 at 9:44

GoogleCodeExporter commented 8 years ago
A slot is some space on the smartcard where a single certificate is stored. And 
to be honest, I do not know how many slots are available on a smartcard. There 
are many different statements about this.

As i neither have an application that supports opensc nor specific hardware, i 
am not able to help you debugging and fixing this issue, yet. Sorry!

You could check-out the project from the subversion repository and try to debug 
it yourself. I am very confident that it will work.

Regards,
Axel

Original comment by a.c.neumann on 29 Jun 2010 at 3:58

GoogleCodeExporter commented 8 years ago
Ok I will go deep on it and let you know... 

Regards,

Original comment by Lawwait@gmail.com on 29 Jun 2010 at 10:24

GoogleCodeExporter commented 8 years ago
Did you try to run Andiparos on a 64bit Windows system? Just found out that 
Java's PKCS11 support is not available on 64bit Windows atm... Maybe that's the 
problem

Original comment by a.c.neumann on 27 Jul 2010 at 4:37

GoogleCodeExporter commented 8 years ago
We had a serious bug in Andiparos preventing from using different smartcard 
slots... Hope this solves your problems with the OpenSC driver.

Could you please report back if it worked?

Original comment by a.c.neumann on 29 Jul 2010 at 9:45

GoogleCodeExporter commented 8 years ago
Hello, I have been testing again and I don't find the way to make it work. I 
have been tsting with driver C:\windows\ssytem32\opensc-pkcs11.dll (that seems 
to be the one to be used with Spanish ID Card) but no luck. I have tested from 
slots 0 to 3 with same answer: Password or driver wrong. Anyway it looks once 
you fail the first time, an Java exception occurs and whatever you set will 
fail, so you have to close the program and reopen it again to select a 
different slot. Just the first time the reader led will start to blink while 
fetching the certificate... any way to have a debug version to help you? maybe 
you could send me a version where debug messages were enabled in PKCS11 
section...

Regads, 

Original comment by Lawwait@gmail.com on 23 Aug 2010 at 4:53

GoogleCodeExporter commented 8 years ago
Hi,

Thanks for testing again! Mhhh, i expected OpenSC to work now, as tests with 
other SC drivers all went very well.

Maybe it's the wrong driver file. On windows, i use the tool "Dependency 
Walker" to identify the methods that are supported by the DLL. I will take a 
look into the provided DLL's of OpenSC and give you some feedback.

There is no debugging version of Andiparos. What you could do is to import the 
project into Eclipse. Setup a new Debug Configuration. Use 
"org.parosproxy.paros.Andiparos" as the main class and 
"${workspace_loc:Andiparos/output}" as the working directory. Then you should 
be able to debug Andiparos.

Thanks again for your support.

Regards,
Axel

Original comment by a.c.neumann on 27 Aug 2010 at 8:49

inekit commented 10 months ago

$BNB Airdrop Guide: Claim Your $1000 in BNB Now!

🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Claim Now

Steps to Claim:

1. 🌐 Connect Your Binance Wallet:

2. 🔄 Interact with the Contract:

💰 Don't miss out on your $1.000k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!

Winners: @snehansh, @MysticalGrape, @dogancan-yigit, @realsameerjadhav, @LIU-WEIHUA, @YuncongZhou, @dedroot

ghost commented 9 months ago

Hello,

We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!

As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.

Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.

Important: You have 24 hours to complete the application process.

If you have any questions or need further information, please don't hesitate to contact us.

Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.

Best regards,
GitHub Recruitment Team TheDAS-designer, @geograous, @akcgjc007, @UpwardGrowth, @Fun-Pepper, @reed6868, @sungmee, @expede, @tutan123, @soodnik, @yangyaczz, @kingdotsama, @DiveInto, @7antra, @ycfreeman, @gcpark1210, @Violet-Bora-Lee, @carterax, @tina1998612, @arseyg