Comments (7)
https://github.com/Glamdring/epassport-reader.git
from polling-station-app.
After some fiddeling the clone from epassport-reader works.
What the connection with the passport needs to do:
- read public key
- signing transactions
from polling-station-app.
Copied most of the epassport-reader app to an activity in digital-voting-pass-app. The activity can now be loaded when phone detects an NFC chip and can read and display data from it.
from polling-station-app.
Can read 1806 bits from DG15, but haven't succeeded in isolating the public key from that.
My passport has a 256 bit brainpoolP256r1 curve, so public key must be 32 byte?
http://www.passport.go.kr/img/download/vol2.pdf might be interesting to read futher
from polling-station-app.
App reads the correct data from DG15,
for passports <2014 this is 226 bytes
for passports >2014 this is 377 bytes
from polling-station-app.
App can now sign 8 bytes of data with the passport.
The passport returns 192 bytes of signed data. (not sure if this is the intended behavior, will look into it later) SignedData is different each time the same string is signed, which is a sign (pun not intended) the passport does actually sign the data, since the signing algorithm is non-deterministic.
from polling-station-app.
Writing tests for the connection with the passport will be a lot of work, since the inputstreams and data from the datagroups in the passport need to be mocked. Not sure if this is worth it.
from polling-station-app.
Related Issues (20)
- Create nice readme and check licence HOT 3
- Slow travis build
- App opens mainactivity when a new block is generated or new connection
- Fix NFC in API23
- About page in app HOT 2
- Pixel polishing HOT 8
- Reject transaction if it does not appear in the next block HOT 1
- Create better traineddata
- Translate app to Dutch and review English strings
- Returning to mainactivity from OCR scanner by pressing back button is very slow HOT 1
- Create option to turn on flash in scanner HOT 2
- Test PassportTransactionFormatter
- Add tutorial about how to create assets on multichain in the readme
- Fix android code lint warnings
- Peers HOT 1
- Report HOT 1
- use ro.ttf font everywhere HOT 1
- Illegal derived key error in blockchain init HOT 3
- ePassportChain
- Presentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polling-station-app.