All Projects → italia → cie-middleware-linux

italia / cie-middleware-linux

Licence: BSD-3-Clause license
Middleware della CIE (Carta di Identità Elettronica) per Linux

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to cie-middleware-linux

cie-middleware
Middleware della CIE (Carta di identità elettronica)
Stars: ✭ 57 (+83.87%)
Mutual labels:  smartcard, cie
Opensc
Open source smart card tools and middleware. PKCS#11/MiniDriver/Tokend
Stars: ✭ 1,792 (+5680.65%)
Mutual labels:  smartcard
simtrace2
Osmocom SIM card tracer, v2.0; mirror of https://gitea.osmocom.org/sim-card/simtrace2
Stars: ✭ 54 (+74.19%)
Mutual labels:  smartcard
javacard-gradle-plugin
🔑 Gradle plugin for JavaCard development
Stars: ✭ 24 (-22.58%)
Mutual labels:  smartcard
cie-cns-apache-docker
L'obiettivo di questo progetto è quello di fornire un template pronto all'uso che realizza un sistema di autenticazione tramite la Smart Card TS-CNS (o CNS) e la CIE (Carta d'Identità Elettronica) basato su Apache HTTP. Ognuno può poi modificare o specializzare questo progetto sulla base delle proprie esigenze Si tratta di un progetto docker per…
Stars: ✭ 48 (+54.84%)
Mutual labels:  smartcard
ccid-utils
A USB smartcard driver including GSM SIM and EMV credit/debit card development platforms
Stars: ✭ 37 (+19.35%)
Mutual labels:  smartcard
hsmwiz
HSMWiz is a frontend for OpenSC, pkcs11tool and pkcs15tool to ease handling of HSM smartcards
Stars: ✭ 27 (-12.9%)
Mutual labels:  smartcard
cie-ideaapp
App IDEA per Android che consente la lettura dati documento ICAO
Stars: ✭ 17 (-45.16%)
Mutual labels:  cie
Yubikey Agent
yubikey-agent is a seamless ssh-agent for YubiKeys.
Stars: ✭ 1,744 (+5525.81%)
Mutual labels:  smartcard
gpg-smartcard-automation
Tooling to make smartcard (e.g. yubikey) initialization easier
Stars: ✭ 23 (-25.81%)
Mutual labels:  smartcard
IsoApplet
A Java Card PKI Applet aiming to be ISO 7816 compliant
Stars: ✭ 119 (+283.87%)
Mutual labels:  smartcard
Pkcs11Interop.X509Store
Easy to use PKCS#11 based X.509 certificate store
Stars: ✭ 24 (-22.58%)
Mutual labels:  smartcard
JCAlgTest
Automated testing tool for algorithms from JavaCard API supported by particular smart card. Performance testing of almost all available methods. The results for more than 100+ cards.
Stars: ✭ 82 (+164.52%)
Mutual labels:  smartcard
jfreesteel
A native Java library, a Swing GUI application and an applet to read the Serbian eID card, built on javax.smartcardio
Stars: ✭ 48 (+54.84%)
Mutual labels:  smartcard
keycard-cli
A command line tool and shell to manage keycards
Stars: ✭ 42 (+35.48%)
Mutual labels:  smartcard
fortify
Fortify enables web applications to use smart cards, local certificate stores and do certificate enrollment. This is the desktop application repository.
Stars: ✭ 88 (+183.87%)
Mutual labels:  smartcard
tls-ca-manage
Multi-level Certificate Authority Management tool, front-end tool to OpenSSL, written in bash shell.
Stars: ✭ 19 (-38.71%)
Mutual labels:  smartcard
oseid
Microchip AVR based smartcard/token with ECC and RSA cryptography
Stars: ✭ 17 (-45.16%)
Mutual labels:  smartcard
python-emv
EMV Smartcard Protocol Tool and Library
Stars: ✭ 72 (+132.26%)
Mutual labels:  smartcard
Yubikey Guide
Guide to using YubiKey for GPG and SSH
Stars: ✭ 6,709 (+21541.94%)
Mutual labels:  smartcard

Join the #cie-middleware channel Get invited CIE on forum.italia.it Build Status

CIE (Carta di Identità Elettronica) Linux middleware

CIE 3.0 PKCS11 MIDDLEWARE Build status

Disclaimer

This product is beta software. Use it in production at your own judgment.

Requirements

  • running pcscd

  • cmake >=3.15

  • pcsclite library (for SC communication )

  • ssl library

On Debian and derivatives the lib requirements can be installed with the packages libpcsclite-dev libssl-dev. Library versions as of Ubuntu 18.04 are reported to work.

The official building approach is using Eclipse, for historical reasons. Versions from 4.18 onward are working, this is due to JDT version being tied to the IDE's one. For a more up-to-date approach using gradle check the user fork mentioned in the comments at 1.

Build

Build happens in three steps:

  1. build signing library cie_sign_sdk using cmake
  2. build C++ middleware project cie-pkcs11 using Eclipse
  3. compile Java application CIEID using Eclipse

cie_sign_sdk

This will build a static library and copy it into cie-pkcs11/Sign

cd cie_sign_sdk
cmake -B build/
cmake --build build/
cmake --install build/

cie-pkcs11

Open the repository root directory with Eclipse, its auto-discovery tool should find at least two projects:

  • cie-pkcs11, a C++ project
  • CIEID, a Java project

In Project Explorer view, select the project root, then select menu item Project > Build project. This should leave a libcie-pkcs11.so object in Debug (the default target).

CIEID

These steps can be performed with or without Eclipse.

If using Eclipse install the JDT plugin, switch to "Java" perspective, select CIEID in the Package Explorer view, add a Debug or Run configuration starting it.ipzs.cieid.MainApplication as main class.

Add -Djna.library.path=".:../Debug" to VM arguments.

When directly calling the JVM be sure to make the libcie-pkcs11.so available to JNA either using the jna.library.path property or installing the library in a path searched by default, e.g. /usr/local/lib.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].