adamnoakes / javacard-simulator Goto Github PK
View Code? Open in Web Editor NEWJava Card Simulator
Java Card Simulator
The ability to use static fields has not been implemented, applets that use static fields will not run correctly as the space is not allocated in memory on applet installation and the accessor instructions have not been implemented.
Windows 10, haven't tested on Ubuntu although I imagine it works there.
D:\javacard-simulator [master ≡]> npm install
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> [email protected] install D:\javacard-simulator\node_modules\bignum
> node-gyp configure build
D:\javacard-simulator\node_modules\bignum>if not defined npm_config_node_gyp (node "C:\Users\jose\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build ) else (node "C:\Users\jose\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bignum.cc
win_delay_load_hook.cc
..\bignum.cc(143): error C2061: syntax error: identifier 'BN_is_zero' [D:\javacard-simulator\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(145): error C2061: syntax error: identifier 'BN_is_one' [D:\javacard-simulator\node_modules\bignum\build\bignu
m.vcxproj]
..\bignum.cc(183): error C2079: 'BigNum::bignum_' uses undefined struct 'bignum_st' [D:\javacard-simulator\node_modules\big
num\build\bignum.vcxproj]
..\bignum.cc(296): error C3861: 'BN_init': identifier not found [D:\javacard-simulator\node_modules\bignum\build\bignum.vcx
proj]
..\bignum.cc(297): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BI
GNUM *' [D:\javacard-simulator\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(297): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-s
tyle cast
..\bignum.cc(299): error C2440: 'initializing': cannot convert from 'int *' to 'BIGNUM *' [D:\javacard-simulator\node_modul
es\bignum\build\bignum.vcxproj]
..\bignum.cc(299): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-s
tyle cast
..\bignum.cc(304): error C3861: 'BN_init': identifier not found [D:\javacard-simulator\node_modules\bignum\build\bignum.vcx
proj]
..\bignum.cc(307): error C2664: 'int BN_set_bit(BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\ja
vacard-simulator\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(307): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-s
tyle cast
Returned on invalid APDU command.
Original code does not implement these functions and therefore will result in errors for signed values
when a APDU command results in output from the smart card, the APDU response code is not returned, instead the expected APDU length is returned.
What license is this project under?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.