----- Original Message ----- From: "Peter Williams" <[EMAIL PROTECTED]>
To: "MUSCLE" <[EMAIL PROTECTED]>; ""Peter Stamfest"" <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 9:50 AM
Subject: [Muscle] global platform - enabled shells



"Peter Stamfest" <[EMAIL PROTECTED]>

Im working on compiling your gpsh. For perl folks this is easy: for me its a learning curve, for yet another (#42) tool chain.

Thes following notes can be added to READMEs, as appropriate:

a) install perl-pscs, for windows

b) unzip, and untar http://oss.stamfest.net/Chipcard-GlobalPlatform/Chipcard-GlobalPlatform-0.03.tar.gz

c) key "ppm" to search online module repository

d) key 'search crypt', and identify handles to the descriptors for Crypt-DES_EDE3 and Crypt-ECB

e) key 'install x' where x is handle to the DES, seems to go fine

f) key ' install y' where y is handle to ECB mode support, which whines about installation

g)  goto directory .\Chipcard-GlobalPlatform-0.03, to build new PERL module

h) 'perl Makefile.PL' to generate a Makefile

i) edit the value constructor for the atr array to add your card's atr, in GlobalPlatform/ATR.pm. The mask element may be there to facilitate recognizing a class of ATR, removing instance-specific serial numers from the match (?). Similarly edit GlobalPlatform/AID.pm to recotnize your .cap and applet instance handles if not using std muscle build.

j) nmake to build the module

k) register you card reader with Windows, and insert musclecard

l) 'nmake test' - which may give instructions on where to add a PERL-specific ATR registration for your musclecard. If so, goto i.

m) 'nmake install' - copies gpsh.bat and other files somewhere into perl space

n) key 'gpsh' to bring up Peter's shell, assuming your windows path is the win32 default

o) typing help gives.

Possible precedence problem on bitwise & operator at C:/Perl/site/lib/Chipcard/GlobalPlatform.pm line 343.
Cannot find termcap: TERM not set at C:/Perl/lib/Term/ReadLine.pm line 338


Welcome to the GlobalPlatform shell.
The GlobalPlatform shell is (c) 2004 by Peter Stamfest ([EMAIL PROTECTED])
All rights reserved. Use 'about' to get more information
and 'help' to get help with commands.
Use of uninitialized value in concatenation (.) or string at gpsh line 735.
gpsh> help
Can't locate object method "add_history" via package "Term::ReadLine::Stub" at gpsh line 750, <FIN> line 1.



Looking pretty good. Not working yet, but thats enough for now. At least now it compiles, links and loads. Just cannot quite read the terminal yet, out of the box. _______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to