[Muscle] Impossible to crypt using MuscleTool

Sylvain Ferey s.ferey at wanadoo.fr
Tue Mar 11 17:03:09 PDT 2008


At 23:55 11/03/2008 +0100, you wrote:
>>How can I generate a log with the APDUs?
>
>If you are under Linux run pcscd -f -d -a (The PC/SC Lite daemon). Shut 
>down pcscd before (The PC/SC Lite daemon).

indeed, it was trying to recompile muscletool, but running pcscd in 
console, debug mode will be fine.

>>What are the components of the keys?
>
>public key: exponent & modulus
>
>private key: exponent, the primes p,q (for the CRT version this is more 
>difficult, the exponent is dp and dq)

sorry but:
for SFM key: modulus (same as the one of public key) and private exponent.
for CRT key: p, q, dP, dQ & PQ
(dP & dQ could be named "reduced exponents" but it is the common rule)

<OOT>
if you only have p, q AND the public exponent e, one can compute
d = 1 / e mod (p - 1)(q - 1)  -- the private exponant
dP = d mod (p - 1)
dQ = d mod (q - 1)
PQ = 1 / q mod p
</OOT>

Sylvain.




More information about the Muscle mailing list