dufkan / jced25519 Goto Github PK
View Code? Open in Web Editor NEWJavaCard implementation of Ed25519 signature algorithm for smartcards that do not support EdDSA algorithm introduced in JavaCard API version 3.1.
License: MIT License
JavaCard implementation of Ed25519 signature algorithm for smartcards that do not support EdDSA algorithm introduced in JavaCard API version 3.1.
License: MIT License
Hello. As far as I can see there are no signature verification api in this applet. I'm exploring possibilities for using smartcard for multiparty authentication schemes and want to add public key authentication to some of the methods. I.e. smartcard will hold its own private key and separate trusted public key and there will be sign
method that will check that request is signed by stored public key.
I'm not a cryptography expert and I've looked to signature verification in other implementations and I'm not sure I can port them over there with enough confidence. Can you help me with this?
Hi @dufkan,
I am planning to integrate your implementation into our project for signing Cardano transactions as a proof-of-concept while we await the arrival of chips supporting Javacard 3.1 in the market.
To accomplish this, I intend to use deterministic nonce generation, based on the transaction hash (32 bytes) and the private key.
Question 1) Does the security "WARNING" mentioned in the README also apply to the deterministic nonce generation, or is it related solely to the random generation process?
Question 2) How long does it typically take to sign 32 bytes with offloading disabled? I attempted to run tests with J3R180 using two different card readers, but I encountered the error "No card terminal found".
Question 3) Which card reader do you recommend using?
Thank you for your excellent work on this project!
The applet compiles and run in the JCIDE simulator. Initialization works well but when key generation is requested, the error F101 is received.
The code returns a cryptographic exception on the function setW on a ECPublic key
I tried with different javacard runtime (3.04, 3.05...) but the error remains:
(ILLEGAL VALUE)
The profile SIMULATOR is used, I tried changing some settings but error remain.
When the applet is loaded on a P71D600, it returns the same error.
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.