OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: [Muscle] rsa signature

From: vladimir lenin (chip_daleusyahoo.com)
Date: Thu May 13 2004 - 23:47:48 CDT


Mr. Williams,
Thank you for your response. I have a cyberflex e-gate
32k smart card. I used mozilla to download a class 1
digital certificate, rsa private crt key, rsa public
key onto the musclecard. When I try to sign using the
APDU's you gave me
0xb0 0x36 0x01 0x01 0x05 0x01 0x01 0x01 0x00 0x00
the response is 9C 05
for
0xb0 0x36 0x01 0x03 0x08 0x01 0x00 0x05 0x70 0x65
0x74 0x65 0x72
the response is 6F 00
I do not know what the problem is
thank you

--- Peter Williams <home_pwmsn.com> wrote:
> There is no conformance standards for javacard
> crypto: a card provider can
> choose almost any variety of suported algs and key
> lengths. One card I know
> doesnt support MD5, and thus fails to generate
> RSAMD5 signature, but
> succeeds to generate RSAwithSHA1 signatures because
> it does support SHA1.
>
> some APDUs:
>
> // Sign.init key 1
> 0xb0 0x36 0x01 0x01 0x05 0x01 0x01 0x01 0x00 0x00;
> // 90 00
>
> // Sign.finalize key
> 0xb0 0x36 0x01 0x03 0x08 0x01 0x00 0x05 0x70 0x65
> 0x74 0x65 0x72;
> // 90 00
>
>
> >From: vladimir lenin <chip_daleusyahoo.com>
> >Reply-To: MUSCLE <musclelists.musclecard.com>
> >To: musclelists.musclecard.com
> >Subject: [Muscle] rsa signature
> >Date: Thu, 13 May 2004 10:26:46 -0700 (PDT)
> >
> >Hello
> >I am trying to sign a hash value using the private
> key
> >on the musclecard. But I am always getting some or
> >other problem like "incorrect algorithm", "software
> >operation not allowed" etc. Do you know whether RSA
> >CRT Private key can be used to sign data and if so
> >what is the input data format. Please provide me
> the
> >APDUs . The api is not helping
> >Thank you
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Movies - Buy advance tickets for 'Shrek 2'
>
>http://movies.yahoo.com/showtimes/movie?mid=1808405861
> >_______________________________________________
> >Muscle mailing list
> >Musclelists.musclecard.com
> >http://lists.drizzle.com/mailman/listinfo/muscle
>
>
> _______________________________________________
> Muscle mailing list
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle

        
                
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle