Henrique Jotha wrote:
> Hi!
> 
> It is predefined that the PIN with number 0 is the SO PIN.
> The Linux version of the MSCInitTokenParams structure has four PIN
> fields:
> 
> MSCUChar8 transportKey[MAX_BUFFER_SIZE]; // Default Factory SO PIN ?
> MSCUChar8 newTransportKey[MAX_BUFFER_SIZE]; // New SO PIN ?
> MSCUChar8 defaultCHV[MAX_BUFFER_SIZE]; // New user PIN ?
> MSCUChar8 defaultCHVUnblock[MAX_BUFFER_SIZE]; // New user PUK ?
> 
> are these comments right? or newTransportKey != SO PIN ?
> 
> The Windows version adds two more fields:
> 
> MSCUChar8 adminCHV[MAX_BUFFER_SIZE]; // The admin PIN
> MSCUChar8 adminCHVUnblock[MAX_BUFFER_SIZE]; // The admin PUK


This are extension in my version (Which is not only a Windows version,
it should work under all supported OS.). This are not contained in the
usual libmusclecard. I believe I have removed the newTransportKey field.
I also changed the meaning of the transportkey:

Transport Key

The semantic of the term "transport key" changed. It is only a key to
protect the card between installation and setup time, which may be used
to protect the card while it is shipped. It is not the same like the
admin PIN. The transport key must have a length of 8 bytes.


quoted from:
http://web.inf.tu-dresden.de/~ko189283/MuscleCard/MCardAppletChanges.html

See also:

http://web.inf.tu-dresden.de/~ko189283/MuscleCard/libmusclecardChanges.html

And the sources (This is in development.):

http://web.inf.tu-dresden.de/~ko189283/MuscleCard/

> 
> So what should I consider the SO PIN? the adminCHV or newTransportKey ?

In old version newTransportKey in mine adminCHV.

> and once the card was initialized and newTransportKey was defined.
> If I need to re-initialize it, I should use again the default
> transportKey
> value (Muscle00) or the new one?

If you use the usual CardEdge applet it will not be possible to format
the token again. The memory is allocated and without Garbage Collection
it is now possible to reinitialize the card memory.

Karsten

> 
> any help will be gladly appreciated,
> 
> Henrique Jotha
> 
> PUK = Unblock code
> SO = Security Officer
> 
> _________________________________________________________________
> On the road to retirement? Check out MSN Life Events for advice on how
> to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to