Am Montag 30 November 2009 10:21:57 schrieb Viktor TARASOV: > Viktor TARASOV wrote: > > Is it possible to buy somewhere 2-3 cards CardOS, that will be > > accepted by OpenSC (formatted, initialized, ...)? > > I've bought on CryptoShop the CardOS cards in a manufacturer state . > It seems that cardos-tool do not accept these cards for formatting . > > Can I format this card with OpenSC, please?
there are no packages installed, so you should be able to format the card with opensc. (packages are lost if you format the card, and you can't install them - they packages are copyright by siemens and the encrypted APDU commands to install them thus are copyrighted too - so we can't make that information public...) but: > > System keys: PackageLoadKey (version 0x00, retries 10) > > System keys: StartKey (version 0x00, retries 10) so you need to change the startkey from 0x00 (secret manufacturing startkey) to some other value first. the normal thing to do is to change it to "version 0xff" with 16 bytes 0xff as value. the startkey itself is secret, only the encrypted APDU command to change it to 0xff is known (but I can't post it here, siemens might claim a copyright violation). then you can run opensc-tool to format the card (i.e. change from manufacturing mode to admin mode by creating a main folder). Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel