8000 GitHub - ubavic/srb-id-pkcs11: Open source PKCS11 module for Serbian ID cards
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ubavic/srb-id-pkcs11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKCS11 module for Serbian ID

This is an attempt to provide open source PKCS11 v2.40 module for Serbian ID smart cards produced by Gemalto. Module should provide at least functionalities that would enable user to log into state portals (like eUprava ili ePorezi).

Status

The module is in the early development phase. All digest functions are implemented (except RIPEMD160), and the foundation for sign and verify functions is set up. Session and token management functions are generally implemented (except for login and logout). The biggest remaining task is the implementation of object management functions.

Functions for security officers are not planned for implementation (at least for now). These are not needed for end users, and the module is much simpler without them.

Compilation

First, download PKCS11 headers:

OASIS_URL="https://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/errata01/os/include/pkcs11-v2.40"
curl --output include/pkcs11.h $(OASIS_URL)/pkcs11.h
curl --output include/pkcs11f.h $(OASIS_URL)/pkcs11f.h
curl --output include/pkcs11t.h $(OASIS_URL)/pkcs11t.h

Then run zig build and you are good to go.

You will maybe need to configure PCSC lite path in build.zig.

Warranty

There is absolutely no warranty of any kind.

License

The code is released under the unlicense. You are free to do whatever you want with code.

About

Open source PKCS11 module for Serbian ID cards

Topics

Resources

License

Stars

Watchers

Forks

0