Git Product home page Git Product logo

mykad's Introduction

MyKad Reader

This code reads the MyKad identification card using a smart card reader. It selects the JPN (Jabatan Pendaftaran Negara, National Registration Department) application and reads data from various files, including the user's photograph.

Prerequisites

To use this code, you will need the following:

  • A smart card reader
  • The smartcard package for Python (which can be installed via pip)
  • A MyKad identification card

Usage

This program sends apdu commands to mykad to obtain data from mykad. Different apdu command is needed to read different jpn files. The info read is then stored in json files.

Steps

  1. Extract the zip file.
  2. Insert a MyKad into the smart card reader.
  3. Run mykad.exe in /dist/.

image

  1. The program is started and running in background (mykad.exe).
  2. The script will automatically detect the insertion of the card, select the JPN application, and read data from various files, including the user's photograph.
  3. After reading, data is stored in 2 json file.
  4. The user's photograph will be saved as a JPEG file named "photo.jpg" in the current directory.
  5. View data in index.php.
  6. If user wants to read another myKAD, remove the inserted card and insert another myKAD.

Future suggestion and improvement

Extract biometric template from MyKAD and use it for biometric verification (Decryption is needed).

Guidelines for Securing MyKAD Enhanced Biometric Access (EBA) Ecosystem

mykad's People

Contributors

cjul96 avatar josan88 avatar

Watchers

 avatar

mykad's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.