├── .github
├── dependabot.yml
└── workflows
│ ├── main.yml
│ └── release.yml
├── .gitignore
├── .shellcheckrc
├── LICENSE
├── README.en.md
├── README.md
├── cie-java
├── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── src
│ ├── app
│ └── m0rf30
│ │ ├── carousel
│ │ ├── Cie.java
│ │ ├── CieCard.java
│ │ └── carousel.java
│ │ └── cieid
│ │ ├── AESFast.java
│ │ ├── Firma
│ │ ├── FileDrop.java
│ │ ├── MoveablePicture.java
│ │ ├── PdfPreview.java
│ │ └── VerifyTable.java
│ │ ├── IntroFrame.java
│ │ ├── Logger.java
│ │ ├── MainApplication.java
│ │ ├── MainFrame.java
│ │ ├── Middleware.java
│ │ ├── MiniWebView.java
│ │ ├── PINNoticeDialog.java
│ │ ├── ProxyInfoManager.java
│ │ └── util
│ │ └── Utils.java
│ ├── com
│ └── ugos
│ │ ├── crypt
│ │ └── hash
│ │ │ └── SHA1.java
│ │ └── util
│ │ └── Runner.java
│ └── main
│ └── resources
│ └── app
│ └── m0rf30
│ └── cieid
│ └── res
│ ├── Allura-Regular.ttf
│ ├── Firma
│ ├── 1x
│ │ ├── Coppia file certificato.png
│ │ ├── Coppia file firma.png
│ │ ├── firma.png
│ │ ├── firma_gray @1x.png
│ │ ├── generica.png
│ │ ├── p7m.png
│ │ ├── pdf.png
│ │ └── upload.png
│ ├── 2x
│ │ ├── Coppia file certificato@2x.png
│ │ ├── Coppia file firma@2x.png
│ │ ├── firma@2x.png
│ │ ├── generica@2x.png
│ │ ├── p7m@2x.png
│ │ ├── p7m@2x_gray.png
│ │ ├── pdf@2x.png
│ │ ├── pdf@2x_gray.png
│ │ └── upload@2x.png
│ ├── 3x
│ │ ├── Coppia file certificato@3x.png
│ │ ├── Coppia file firma@3x.png
│ │ ├── firma@3x.png
│ │ ├── generica@3x.png
│ │ ├── p7m@3x.png
│ │ ├── pdf@3x.png
│ │ └── upload@3x.png
│ ├── 4x
│ │ ├── Coppia file certificato@4x.png
│ │ ├── Coppia file firma@4x.png
│ │ ├── firma@4x.png
│ │ ├── generica@4x.png
│ │ ├── p7m@4x.png
│ │ ├── pdf@4x.png
│ │ └── upload@4x.png
│ ├── Coppia file certificato.png
│ ├── Coppia file firma.png
│ ├── calendar.png
│ ├── check.png
│ ├── cross.png
│ ├── firma@4x.png
│ ├── firma_gray.png
│ ├── generica.png
│ ├── green_checkbox.png
│ ├── medal.png
│ ├── orange_checkbox.png
│ ├── p7m.png
│ ├── p7m_grey.png
│ ├── pdd_gray.png
│ ├── pdf.png
│ ├── upload.png
│ └── user.png
│ ├── Logo_Cie_ID_Windowed@2x.png
│ ├── Risorsa 14.png
│ ├── Risorsa 14@2x.png
│ ├── Risorsa 15.png
│ ├── Risorsa 15@2x.png
│ ├── Risorsa 16.png
│ ├── Risorsa 16@2x.png
│ ├── Risorsa 17.png
│ ├── Risorsa 17@2x.png
│ ├── Risorsa 18.png
│ ├── Risorsa 18@2x.png
│ ├── Risorsa 19.png
│ ├── Risorsa 19@2x.png
│ ├── Risorsa 20.png
│ ├── Risorsa 20@2x.png
│ ├── Risorsa 21.png
│ ├── Risorsa 21@2x.png
│ ├── Risorsa 22.png
│ ├── Risorsa 22@2x.png
│ ├── Risorsa 23.png
│ ├── Risorsa 23@2x.png
│ ├── Risorsa 24.png
│ ├── Risorsa 24@2x.png
│ ├── Risorsa 25.png
│ ├── Risorsa 25@2x.png
│ ├── back@2x.png
│ ├── check.png
│ ├── cie.jpg
│ ├── cross.png
│ ├── down@2x.png
│ ├── flusso_intro_01.png
│ ├── flusso_intro_02.png
│ ├── forward@2x.png
│ ├── html
│ ├── icona_aiuto@2x.png
│ ├── icona_assistenza.png
│ ├── icona_assistenza@2x.png
│ ├── icona_lettore_card_white.png
│ ├── icona_lettore_card_white@2x.png
│ ├── icona_lettore_card_white_small.png
│ ├── icona_sblocco_carta.png
│ ├── logo-cie@2x copia.png
│ ├── logoIPZS.png
│ ├── logo_MinisteroInterno.png
│ ├── logo_circle.png
│ ├── settings_icon.png
│ └── up@2x.png
├── data
├── app.m0rf30.cieid.desktop
├── app.m0rf30.cieid.metainfo.xml
├── app.m0rf30.cieid.svg
├── cieid.sh
└── libcie-pkcs11.module
├── docs
├── aiuto.html
├── aiuto.md
├── images
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── 4.png
│ ├── 5.png
│ └── 6.png
├── privacy.html
├── privacy.md
├── style.css
├── tutorial.html
└── tutorial.md
├── libs
├── .clang-format
├── meson.build
├── pkcs11
│ └── src
│ │ ├── CSP
│ │ ├── AbilitaCIE.cpp
│ │ ├── AbilitaCIE.h
│ │ ├── FirmaConCIE.cpp
│ │ ├── FirmaConCIE.h
│ │ ├── IAS.cpp
│ │ ├── PINManager.cpp
│ │ ├── PINManager.h
│ │ ├── VerificaConCIE.cpp
│ │ └── VerificaConCIE.h
│ │ ├── LOGGER
│ │ └── Logger.cpp
│ │ ├── PKCS11
│ │ ├── CIEP11Template.cpp
│ │ ├── CIEP11Template.h
│ │ ├── CardContext.cpp
│ │ ├── CardContext.h
│ │ ├── CardTemplate.cpp
│ │ ├── CardTemplate.h
│ │ ├── Mechanism.cpp
│ │ ├── Mechanism.h
│ │ ├── P11Object.cpp
│ │ ├── P11Object.h
│ │ ├── PKCS11Functions.cpp
│ │ ├── PKCS11Functions.h
│ │ ├── Slot.cpp
│ │ ├── Slot.h
│ │ ├── pkcs11.h
│ │ ├── pkcs11f.h
│ │ ├── session.cpp
│ │ └── session.h
│ │ ├── Sign
│ │ ├── CIESign.cpp
│ │ ├── CIESign.h
│ │ ├── CIEVerify.cpp
│ │ └── CIEVerify.h
│ │ ├── Util
│ │ ├── UtilException.cpp
│ │ └── util.cpp
│ │ └── keys.h
├── shared
│ └── src
│ │ ├── CSP
│ │ ├── ATR.cpp
│ │ ├── ATR.h
│ │ ├── ExtAuthKey.cpp
│ │ └── IAS.h
│ │ ├── Crypto
│ │ ├── AES.cpp
│ │ ├── AES.h
│ │ ├── ASNParser.cpp
│ │ ├── ASNParser.h
│ │ ├── Base64.cpp
│ │ ├── Base64.h
│ │ ├── CryptoUtil.h
│ │ ├── DES3.cpp
│ │ ├── DES3.h
│ │ ├── MAC.cpp
│ │ ├── MAC.h
│ │ ├── MD5.cpp
│ │ ├── MD5.h
│ │ ├── RSA.cpp
│ │ ├── RSA.h
│ │ ├── SHA1.cpp
│ │ ├── SHA1.h
│ │ ├── SHA256.cpp
│ │ ├── SHA512.cpp
│ │ ├── sha256.h
│ │ └── sha512.h
│ │ ├── LOGGER
│ │ └── Logger.h
│ │ ├── PCSC
│ │ ├── APDU.cpp
│ │ ├── APDU.h
│ │ ├── CardLocker.cpp
│ │ ├── CardLocker.h
│ │ ├── PCSC.cpp
│ │ ├── PCSC.h
│ │ ├── Token.cpp
│ │ └── Token.h
│ │ ├── PKCS11
│ │ ├── cryptoki.h
│ │ ├── pkcs11.h
│ │ ├── pkcs11f.h
│ │ └── pkcs11t.h
│ │ ├── Sign
│ │ ├── CIEEngine.h
│ │ ├── definitions.h
│ │ └── disigonsdk.h
│ │ └── Util
│ │ ├── Array.cpp
│ │ ├── Array.h
│ │ ├── CacheLib.cpp
│ │ ├── CacheLib.h
│ │ ├── CryptoppUtils.cpp
│ │ ├── CryptoppUtils.h
│ │ ├── IniSettings.cpp
│ │ ├── IniSettings.h
│ │ ├── ModuleInfo.cpp
│ │ ├── ModuleInfo.h
│ │ ├── SyncroEvent.cpp
│ │ ├── SyncroEvent.h
│ │ ├── SyncroMutex.cpp
│ │ ├── SyncroMutex.h
│ │ ├── TLV.cpp
│ │ ├── TLV.h
│ │ ├── UUCByteArray.cpp
│ │ ├── UUCByteArray.h
│ │ ├── UUCHashtable.hpp
│ │ ├── UUCProperties.cpp
│ │ ├── UUCProperties.h
│ │ ├── UUCStringTable.cpp
│ │ ├── UUCStringTable.h
│ │ ├── UUCTextFileReader.cpp
│ │ ├── UUCTextFileReader.h
│ │ ├── UtilException.h
│ │ ├── defines.h
│ │ ├── funccallinfo.cpp
│ │ ├── funccallinfo.h
│ │ ├── log.cpp
│ │ ├── log.h
│ │ └── util.h
└── sign-sdk
│ ├── include
│ ├── Base64.h
│ ├── BaseSigner.h
│ ├── BigInteger.h
│ ├── BigIntegerAlgorithms.h
│ ├── BigIntegerLibrary.h
│ ├── BigIntegerUtils.h
│ ├── BigUnsigned.h
│ ├── BigUnsignedInABase.h
│ ├── CIEEngineHelper.h
│ ├── CIESigner.h
│ ├── CardMod.h
│ ├── CertStore.h
│ ├── CounterSignatureGenerator.h
│ ├── LdapCrl.h
│ ├── M7MParser.h
│ ├── NumberlikeArray.h
│ ├── PdfSignatureGenerator.h
│ ├── PdfVerifier.h
│ ├── SignatureGenerator.h
│ ├── SignedDataGeneratorEx.h
│ ├── SignedDocument.h
│ ├── SignerInfoGenerator.h
│ ├── TSAClient.h
│ ├── UUCHashtable.h
│ ├── UUCLogger.h
│ ├── UUCProperties.h
│ ├── UUCStringTable.h
│ ├── UUCTextFileReader.h
│ ├── UUCTextFileWriter.h
│ ├── XAdESGenerator.h
│ ├── XAdESVerifier.h
│ ├── base64-std.h
│ └── keys.h
│ └── src
│ ├── ASN1
│ ├── ASN1BitString.cpp
│ ├── ASN1BitString.h
│ ├── ASN1Boolean.cpp
│ ├── ASN1Boolean.h
│ ├── ASN1Exception.h
│ ├── ASN1GenericSequence.cpp
│ ├── ASN1GenericSequence.h
│ ├── ASN1Integer.cpp
│ ├── ASN1Integer.h
│ ├── ASN1Null.cpp
│ ├── ASN1Null.h
│ ├── ASN1Object.cpp
│ ├── ASN1Object.h
│ ├── ASN1ObjectIdentifier.cpp
│ ├── ASN1ObjectIdentifier.h
│ ├── ASN1Octetstring.cpp
│ ├── ASN1Octetstring.h
│ ├── ASN1OptionalField.cpp
│ ├── ASN1OptionalField.h
│ ├── ASN1Sequence.cpp
│ ├── ASN1Sequence.h
│ ├── ASN1Setof.cpp
│ ├── ASN1Setof.h
│ ├── ASN1UTCTime.cpp
│ ├── ASN1UTCTime.h
│ ├── AlgorithmIdentifier.cpp
│ ├── AlgorithmIdentifier.h
│ ├── Certificate.cpp
│ ├── Certificate.h
│ ├── CertificateInfo.cpp
│ ├── CertificateInfo.h
│ ├── ContentInfo.cpp
│ ├── ContentInfo.h
│ ├── ContentType.cpp
│ ├── ContentType.h
│ ├── Crl.cpp
│ ├── Crl.h
│ ├── DigestInfo.cpp
│ ├── DigestInfo.h
│ ├── IssuerAndSerialNumber.cpp
│ ├── IssuerAndSerialNumber.h
│ ├── Name.cpp
│ ├── Name.h
│ ├── OCSPRequest.cpp
│ ├── OCSPRequest.h
│ ├── PKIStatusInfo.cpp
│ ├── PKIStatusInfo.h
│ ├── RSAPrivateKey.cpp
│ ├── RSAPrivateKey.h
│ ├── RSAPublicKey.cpp
│ ├── RSAPublicKey.h
│ ├── RelativeDistinguishedName.cpp
│ ├── RelativeDistinguishedName.h
│ ├── SignedData.cpp
│ ├── SignedData.h
│ ├── SignerInfo.cpp
│ ├── SignerInfo.h
│ ├── SubjectPublicKeyInfo.cpp
│ ├── SubjectPublicKeyInfo.h
│ ├── TSTInfo.cpp
│ ├── TSTInfo.h
│ ├── TimeStampData.cpp
│ ├── TimeStampData.h
│ ├── TimeStampRequest.cpp
│ ├── TimeStampRequest.h
│ ├── TimeStampResponse.cpp
│ ├── TimeStampResponse.h
│ ├── TimeStampToken.cpp
│ ├── TimeStampToken.h
│ ├── UUCBufferedReader.cpp
│ └── UUCBufferedReader.h
│ ├── Base64.cpp
│ ├── BigInteger.cpp
│ ├── BigIntegerAlgorithms.cpp
│ ├── BigIntegerUtils.cpp
│ ├── BigUnsigned.cpp
│ ├── BigUnsignedInABase.cpp
│ ├── CIEEngine.c
│ ├── CIEEngineHelper.c
│ ├── CIESigner.cpp
│ ├── CSP
│ └── IAS.cpp
│ ├── CertStore.cpp
│ ├── CounterSignatureGenerator.cpp
│ ├── M7MParser.cpp
│ ├── PCSC.cpp
│ ├── PdfSignatureGenerator.cpp
│ ├── PdfVerifier.cpp
│ ├── SignatureGenerator.cpp
│ ├── SignedDataGeneratorEx.cpp
│ ├── SignedDocument.cpp
│ ├── SignerInfoGenerator.cpp
│ ├── TSAClient.cpp
│ ├── Token.cpp
│ ├── UUCLogger.cpp
│ ├── UUCProperties.cpp
│ ├── UUCStringTable.cpp
│ ├── UUCTextFileReader.cpp
│ ├── UUCTextFileWriter.cpp
│ ├── Util
│ ├── UtilException.cpp
│ └── util.cpp
│ ├── XAdESGenerator.cpp
│ ├── XAdESVerifier.cpp
│ ├── definitions.cpp
│ └── disigonsdk.cpp
└── packages
├── cie-middleware
└── PKGBUILD
├── flatpak
└── app.m0rf30.cieid.yml
└── yap.json
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | # Basic set up for three package managers
2 |
3 | version: 2
4 | updates:
5 |
6 | # Maintain dependencies for GitHub Actions
7 | - package-ecosystem: "github-actions"
8 | directory: "/"
9 | schedule:
10 | interval: "weekly"
11 |
12 | # Maintain dependencies for gradle
13 | - package-ecosystem: "gradle"
14 | directory: "/cie-java"
15 | schedule:
16 | interval: "weekly"
17 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | # This is a basic workflow to help you get started with Actions
2 |
3 | name: CI
4 |
5 | # Controls when the workflow will run
6 | on:
7 | # Triggers the workflow on push or pull request events but only for the main branch
8 | push:
9 | pull_request:
10 |
11 | # Allows you to run this workflow manually from the Actions tab
12 | workflow_dispatch:
13 |
14 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15 | jobs:
16 | # This workflow contains a single job called "build"
17 | gradle:
18 | runs-on: ubuntu-latest
19 | steps:
20 | - uses: actions/checkout@v4
21 | - uses: actions/setup-java@v4
22 | with:
23 | distribution: temurin
24 | java-version: 17
25 |
26 | - name: Execute Gradle build
27 | run: |
28 | cie-java/gradlew -b cie-java/build.gradle standalone
29 |
30 | - name: Install Dependencies
31 | run: >
32 | sudo apt update;
33 | sudo apt install -y g++ libcrypto++-dev
34 | libcrypto++8 libcurl4-openssl-dev libfontconfig1-dev
35 | libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev libpodofo-dev
36 | libssl-dev libssl3 libxml2 libxml2-dev
37 | pcscd pkg-config python3-pip unzip
38 |
39 | - uses: actions/setup-python@v5
40 | with:
41 | python-version: "3.x"
42 | - run: pip install meson ninja
43 | env:
44 | CC: gcc
45 | - run: meson setup builddir libs
46 | - run: meson configure -Dprefix=/usr builddir
47 | - run: meson compile -C builddir
48 |
49 | - uses: actions/upload-artifact@v4
50 | if: failure()
51 | with:
52 | name: Linux_Meson_Testlog
53 | path: builddir/meson-logs/testlog.txt
54 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release
2 |
3 | # Controls when the workflow will run
4 | on:
5 | push:
6 | tags:
7 | - "*"
8 | # Allows you to run this workflow manually from the Actions tab
9 | workflow_dispatch:
10 |
11 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12 | jobs:
13 | # This workflow contains a single job called "build"
14 | build:
15 | # The type of runner that the job will run on
16 | runs-on: ubuntu-latest
17 |
18 | # Steps represent a sequence of tasks that will be executed as part of the job
19 | steps:
20 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21 | - uses: actions/checkout@v4
22 |
23 | # Runs a set of commands using the runners shell
24 | - name: Detect version
25 | run: echo "::set-output name=version::$(cat packages/cie-middleware/PKGBUILD | grep pkgver | cut -d\" -f2)"
26 | id: version
27 |
28 | - name: Build
29 | run: |
30 | docker run --entrypoint=bash -v $(pwd):/project m0rf30/yap-ubuntu-jammy:1.40 -c "cd /project; \
31 | yap prepare ubuntu-jammy; \
32 | yap build ubuntu-jammy /project/packages"
33 | docker run --entrypoint=bash -v $(pwd):/project m0rf30/yap-rocky-9:1.40 -c "cd /project; \
34 | yap prepare rocky-9; \
35 | yap build rocky-9 /project/packages"
36 |
37 | for i in $(ls artifacts/*.deb); do sha256sum $i >> SHA256SUMS; done
38 | for i in $(ls artifacts/*.rpm); do sha256sum $i >> SHA256SUMS; done
39 |
40 | - name: Archive production artifacts
41 | uses: actions/upload-artifact@v4
42 | with:
43 | name: "cie-middleware-${{ steps.version.outputs.version }}"
44 | path: |
45 | artifacts/*.deb
46 | artifacts/*.rpm
47 | SHA256SUMS
48 |
49 | - uses: "marvinpinto/action-automatic-releases@latest"
50 | with:
51 | repo_token: "${{ secrets.GITHUB_TOKEN }}"
52 | prerelease: false
53 | title: "cie-middleware-${{ steps.version.outputs.version }}"
54 | files: |
55 | artifacts/*.deb
56 | artifacts/*.rpm
57 | SHA256SUMS
58 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.VC.db
2 | *.VC.opendb
3 | *.a
4 | *.d
5 | *.log
6 | *.o
7 | *.orig
8 | *.so
9 | .cache/
10 | .flatpak-builder/
11 | .idea/
12 | .trunk
13 | .vscode
14 | .vscode-ctags
15 | /cie-java/.gradle
16 | /cie-java/bin
17 | CMakeCache.txt
18 | CMakeFiles/
19 | Makefile
20 | build/
21 | builddir/
22 | cmake_install.cmake
23 | meson-info/
24 | meson-logs/
25 | meson-private/
26 | CIEID-standalone.jar
27 |
--------------------------------------------------------------------------------
/.shellcheckrc:
--------------------------------------------------------------------------------
1 | enable=all
2 | source-path=SCRIPTDIR
3 | disable=SC2154
4 |
5 | # If you're having issues with shellcheck following source, disable the errors via:
6 | # disable=SC1090
7 | # disable=SC1091
8 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | BSD 3-Clause License
2 |
3 | Copyright (c) 2017, Developers Italia
4 | Copyright (c) 2017, Istituto Poligrafico e Zecca dello Stato
5 | All rights reserved.
6 |
7 | Redistribution and use in source and binary forms, with or without
8 | modification, are permitted provided that the following conditions are met:
9 |
10 | * Redistributions of source code must retain the above copyright notice, this
11 | list of conditions and the following disclaimer.
12 |
13 | * Redistributions in binary form must reproduce the above copyright notice,
14 | this list of conditions and the following disclaimer in the documentation
15 | and/or other materials provided with the distribution.
16 |
17 | * Neither the name of the copyright holder nor the names of its
18 | contributors may be used to endorse or promote products derived from
19 | this software without specific prior written permission.
20 |
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 |
--------------------------------------------------------------------------------
/cie-java/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | // Apply the java plugin to add support for Java
3 | id 'java'
4 |
5 | // Apply the application plugin to add support for building a CLI application.
6 | id 'application'
7 | id "com.diffplug.spotless" version "7.0.4"
8 | }
9 |
10 | repositories {
11 | mavenCentral()
12 | }
13 |
14 | spotless {
15 | format 'misc', {
16 | // define the files to apply `misc` to
17 | target '*.gradle', '*.md', '.gitignore'
18 |
19 | // define the steps to apply to those files
20 | trimTrailingWhitespace()
21 | leadingSpacesToTabs()
22 | endWithNewline()
23 | }
24 | java {
25 | // apply a specific flavor of google-java-format
26 | googleJavaFormat('1.17.0').aosp()
27 | }
28 | }
29 |
30 | dependencies {
31 | implementation 'commons-io:commons-io:2.19.0'
32 | implementation 'com.google.code.gson:gson:2.13.1'
33 | implementation 'net.java.dev.jna:jna:5.17.0'
34 | implementation 'org.apache.pdfbox:pdfbox:3.0.5'
35 | }
36 |
37 | sourceSets {
38 | main {
39 | java {
40 | srcDirs = ['src']
41 | }
42 | }
43 | }
44 |
45 | tasks.withType(JavaCompile) {
46 | options.compilerArgs += "-Xlint:deprecation"
47 | options.encoding = "UTF-8"
48 | }
49 |
50 | task standalone(type: Jar) {
51 | dependsOn configurations.runtimeClasspath
52 | archiveClassifier = 'standalone'
53 | from sourceSets.main.output
54 | duplicatesStrategy = DuplicatesStrategy.EXCLUDE
55 | from(configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }) {
56 | exclude "META-INF/*.SF"
57 | exclude "META-INF/*.DSA"
58 | exclude "META-INF/*.RSA"
59 | }
60 | manifest {
61 | attributes 'Implementation-Title': 'CIEID Desktop Application',
62 | 'Built-By': System.getProperty('user.name'),
63 | 'Built-JDK': System.getProperty('java.version'),
64 | 'Main-Class': 'app.m0rf30.cieid.MainApplication'
65 | }
66 | }
67 |
68 | task fetchDeps {
69 | description = "Force gradle to cache all dependencies"
70 | doLast { sourceSets.main.runtimeClasspath.files }
71 | }
72 |
73 | allprojects {
74 | tasks.withType(AbstractArchiveTask).configureEach {
75 | preserveFileTimestamps = false
76 | reproducibleFileOrder = true
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/cie-java/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/cie-java/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4 | networkTimeout=10000
5 | validateDistributionUrl=true
6 | zipStoreBase=GRADLE_USER_HOME
7 | zipStorePath=wrapper/dists
8 |
--------------------------------------------------------------------------------
/cie-java/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'CIEID'
2 |
--------------------------------------------------------------------------------
/cie-java/src/app/m0rf30/carousel/Cie.java:
--------------------------------------------------------------------------------
1 | package app.m0rf30.carousel;
2 |
3 | public class Cie {
4 |
5 | String name;
6 | String serialNumber;
7 | String pan;
8 | Boolean isCustomSign;
9 |
10 | public Cie(String pan, String name, String serialNumber) {
11 | this.name = name;
12 | this.serialNumber = serialNumber;
13 | this.pan = pan;
14 | this.isCustomSign = false;
15 | }
16 |
17 | public String getName() {
18 | return this.name;
19 | }
20 |
21 | public String getSerialNumber() {
22 | return this.serialNumber;
23 | }
24 |
25 | public String getPan() {
26 | return pan;
27 | }
28 |
29 | public void setPan(String pan) {
30 | this.pan = pan;
31 | }
32 |
33 | public Boolean getIsCustomSign() {
34 | return isCustomSign;
35 | }
36 |
37 | public void setIsCustomSign(Boolean isCustomSign) {
38 | this.isCustomSign = isCustomSign;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/cie-java/src/app/m0rf30/cieid/MiniWebView.java:
--------------------------------------------------------------------------------
1 | package app.m0rf30.cieid;
2 |
3 | import java.awt.BorderLayout;
4 | import java.net.MalformedURLException;
5 | import java.net.URL;
6 | import javax.swing.JEditorPane;
7 | import javax.swing.JPanel;
8 | import javax.swing.JScrollPane;
9 | import javax.swing.event.HyperlinkEvent;
10 | import javax.swing.event.HyperlinkListener;
11 | import javax.swing.text.html.HTMLDocument;
12 | import javax.swing.text.html.HTMLFrameHyperlinkEvent;
13 |
14 | public class MiniWebView extends JPanel implements HyperlinkListener {
15 |
16 | private final JEditorPane displayEditorPane = new JEditorPane();
17 |
18 | public MiniWebView() {
19 | setLayout(new BorderLayout());
20 | displayEditorPane.setContentType("text/html");
21 | displayEditorPane.setEditable(false);
22 | displayEditorPane.addHyperlinkListener(this);
23 |
24 | add(new JScrollPane(displayEditorPane), BorderLayout.CENTER);
25 | }
26 |
27 | public void showPage(String url) {
28 | try {
29 | showPage(new URL(url));
30 | } catch (MalformedURLException e) {
31 | e.printStackTrace();
32 | }
33 | }
34 |
35 | public void showPage(URL pageUrl) {
36 | try {
37 | displayEditorPane.setPage(pageUrl);
38 | } catch (Exception e) {
39 | System.out.println("Unable to load page");
40 | }
41 | }
42 |
43 | public void hyperlinkUpdate(HyperlinkEvent event) {
44 | HyperlinkEvent.EventType eventType = event.getEventType();
45 | if (eventType == HyperlinkEvent.EventType.ACTIVATED) {
46 | if (event instanceof HTMLFrameHyperlinkEvent) {
47 | HTMLFrameHyperlinkEvent linkEvent = (HTMLFrameHyperlinkEvent) event;
48 | HTMLDocument document = (HTMLDocument) displayEditorPane.getDocument();
49 | document.processHTMLFrameHyperlinkEvent(linkEvent);
50 | } else {
51 | showPage(event.getURL());
52 | }
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/cie-java/src/com/ugos/util/Runner.java:
--------------------------------------------------------------------------------
1 | package com.ugos.util;
2 |
3 | import java.util.Timer;
4 | import java.util.TimerTask;
5 |
6 | public class Runner {
7 | public static void run(Runnable run) {
8 | new Thread(run).start();
9 | }
10 |
11 | public static void run(Runnable run, int stackSize) {
12 | new Thread(new ThreadGroup("runnable"), run, "runnable", stackSize).start();
13 | }
14 |
15 | public static void runDelayed(final Runnable run, int delay) {
16 | TimerTask tt =
17 | new TimerTask() {
18 |
19 | @Override
20 | public void run() {
21 | run.run();
22 | }
23 | };
24 |
25 | new Timer().schedule(tt, delay);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Allura-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Allura-Regular.ttf
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/Coppia file certificato.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/Coppia file certificato.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/Coppia file firma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/Coppia file firma.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/firma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/firma.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/firma_gray @1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/firma_gray @1x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/generica.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/generica.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/p7m.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/p7m.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/pdf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/pdf.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/1x/upload.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/Coppia file certificato@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/Coppia file certificato@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/Coppia file firma@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/Coppia file firma@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/firma@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/firma@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/generica@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/generica@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/p7m@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/p7m@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/p7m@2x_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/p7m@2x_gray.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/pdf@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/pdf@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/pdf@2x_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/pdf@2x_gray.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/upload@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/2x/upload@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/Coppia file certificato@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/Coppia file certificato@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/Coppia file firma@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/Coppia file firma@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/firma@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/firma@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/generica@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/generica@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/p7m@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/p7m@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/pdf@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/pdf@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/upload@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/3x/upload@3x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/Coppia file certificato@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/Coppia file certificato@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/Coppia file firma@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/Coppia file firma@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/firma@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/firma@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/generica@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/generica@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/p7m@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/p7m@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/pdf@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/pdf@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/upload@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/4x/upload@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/Coppia file certificato.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/Coppia file certificato.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/Coppia file firma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/Coppia file firma.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/calendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/calendar.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/check.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/cross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/cross.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/firma@4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/firma@4x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/firma_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/firma_gray.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/generica.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/generica.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/green_checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/green_checkbox.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/medal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/medal.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/orange_checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/orange_checkbox.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/p7m.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/p7m.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/p7m_grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/p7m_grey.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/pdd_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/pdd_gray.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/pdf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/pdf.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/upload.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Firma/user.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Logo_Cie_ID_Windowed@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Logo_Cie_ID_Windowed@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 14.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 14@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 14@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 15.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 15@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 15@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 16.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 16@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 16@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 17.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 17@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 17@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 18.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 18@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 18@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 19.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 19@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 19@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 20.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 20@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 21.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 21@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 21@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 22.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 22@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 22@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 23.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 23@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 23@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 24.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 24@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 24@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 25.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 25@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/Risorsa 25@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/back@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/back@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/check.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/cie.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/cie.jpg
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/cross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/cross.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/down@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/down@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/flusso_intro_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/flusso_intro_01.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/flusso_intro_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/flusso_intro_02.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/forward@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/forward@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/html:
--------------------------------------------------------------------------------
1 | ../../../../../../../../docs/
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_aiuto@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_aiuto@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_assistenza.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_assistenza.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_assistenza@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_assistenza@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white@2x.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_lettore_card_white_small.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_sblocco_carta.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/icona_sblocco_carta.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/logo-cie@2x copia.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/logo-cie@2x copia.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/logoIPZS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/logoIPZS.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/logo_MinisteroInterno.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/logo_MinisteroInterno.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/logo_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/logo_circle.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/settings_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/settings_icon.png
--------------------------------------------------------------------------------
/cie-java/src/main/resources/app/m0rf30/cieid/res/up@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/cie-java/src/main/resources/app/m0rf30/cieid/res/up@2x.png
--------------------------------------------------------------------------------
/data/app.m0rf30.cieid.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Version=1.0
3 | Name=Cie ID
4 | Comment=Middleware for electronic Italian Identity Card
5 | Name[it]=Cie ID
6 | Comment[it]=Middleware della CIE (Carta di Identità Elettronica)
7 | Exec=cieid
8 | Icon=app.m0rf30.cieid
9 | Type=Application
10 | Terminal=false
11 | StartupNotify=false
12 | Encoding=UTF-8
13 | Categories=Utility;
14 | StartupWMClass=app-m0rf30-cieid-MainApplication
15 |
--------------------------------------------------------------------------------
/data/app.m0rf30.cieid.metainfo.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | app.m0rf30.cieid
4 | Cie ID
5 | Software for the usage of the Italian Electronic Identity Card
7 | CC0-1.0
8 | BSD-3-Clause
9 |
10 |
11 | Software for the usage of the Italian Electronic Identity Card.
12 |
13 |
14 | Access to PA services, signing and verification of documents
15 |
16 |
17 |
18 | M0Rf30
19 |
20 | https://github.com/M0Rf30/cie-middleware-linux
21 | https://github.com/M0Rf30/cie-middleware-linux/issues
24 | app.m0rf30.cieid.desktop
25 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/data/cieid.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Use CIEID_PATH if set, otherwise default to /usr
4 | : "${PREFIX:=/usr}"
5 |
6 | exec java \
7 | -Xms1G \
8 | -Xmx1G \
9 | -Djna.library.path="${PREFIX}/lib" \
10 | -Dawt.useSystemAAFontSettings=on \
11 | -Dsun.java2d.uiScale.enabled=true \
12 | -Dsun.java2d.uiScale=2.0 \
13 | -classpath "${PREFIX}/share/cieid/cieid.jar" \
14 | app.m0rf30.cieid.MainApplication "$@"
15 |
--------------------------------------------------------------------------------
/data/libcie-pkcs11.module:
--------------------------------------------------------------------------------
1 | # This file describes how to load the libcie-pkcs11 module
2 | # See: http://p11-glue.freedesktop.org/doc/p11-kit/config.html
3 |
4 | # This is a relative path, which means it will be loaded from
5 | # the p11-kit default path which is usually $(libdir)/pkcs11.
6 | module: libcie-pkcs11.so
7 |
--------------------------------------------------------------------------------
/docs/aiuto.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Aiuto Cie ID
8 |
9 |
10 |
11 |
12 | Assistenza per i cittadini
13 |
Per richiedere il blocco della propria CIE, bisogna contattare il numero
14 |
800263388 fornendo i seguenti dati:
15 |
32 |
Il servizio è attivo dal lunedì al venerdì dalle 8:00 alle 18:00
33 |
e il sabato dalle ore 8:00 alle 14:00.
34 |
Il servizio è valido solo per la nuova CIE.
35 |
Nel caso in cui il cittadino sia in possesso di una vecchia CIE la procedura
36 |
d’interdizione resta inalterata: bisogna recarsi presso il comune di rilascio
37 |
dopo aver sporto denuncia presso le forze dell’ordine.
38 |
Per segnalazioni inerenti il portale
39 |
http://www.cartaidentita.interno.gov.it
40 |
o il servizio
41 |
http://agendacie.interno.gov.it bisogna
42 |
inviare una e-mail all’indirizzo di assistenza indicato qui sotto specificando i
43 |
dettagli della richiesta.
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/docs/aiuto.md:
--------------------------------------------------------------------------------
1 | # Assistenza per i cittadini
2 |
3 | Per richiedere il blocco della propria **CIE**, bisogna contattare il numero
4 | **800263388** fornendo i seguenti dati:
5 |
6 | - Nome
7 | - Cognome
8 | - Codice fiscale
9 | - Numero della CIE se disponibile
10 | - Estremi della denuncia presentata alle forze dell'ordine
11 |
12 | Il servizio è attivo dal **lunedì** al **venerdì** dalle **8:00** alle **18:00**
13 | e il **sabato** dalle ore **8:00** alle **14:00**.
14 |
15 | Il servizio è valido solo per la nuova CIE.
16 |
17 | Nel caso in cui il cittadino sia in possesso di una vecchia CIE la procedura
18 | d'interdizione resta inalterata: bisogna recarsi presso il comune di rilascio
19 | dopo aver sporto denuncia presso le forze dell'ordine.
20 |
21 | Per segnalazioni inerenti il portale
22 | [http://www.cartaidentita.interno.gov.it](http://www.cartaidentita.interno.gov.it)
23 |
24 | o il servizio
25 | [http://agendacie.interno.gov.it](http://agendacie.interno.gov.it) bisogna
26 | inviare una e-mail all'indirizzo di assistenza indicato qui sotto specificando i
27 | dettagli della richiesta.
28 |
--------------------------------------------------------------------------------
/docs/images/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/1.png
--------------------------------------------------------------------------------
/docs/images/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/2.png
--------------------------------------------------------------------------------
/docs/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/3.png
--------------------------------------------------------------------------------
/docs/images/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/4.png
--------------------------------------------------------------------------------
/docs/images/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/5.png
--------------------------------------------------------------------------------
/docs/images/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/M0Rf30/cie-middleware-linux/39d793d595008fd2611bb7711e03c5b5355efa3b/docs/images/6.png
--------------------------------------------------------------------------------
/docs/tutorial.md:
--------------------------------------------------------------------------------
1 | # Come usare Cie ID
2 |
3 | Avvia il browser Firefox per iniziare la configurazione. Clicca sul pulsante
4 | delle impostazioni, in alto a destra, quindi su **Impostazioni**.
5 |
6 | 
7 |
8 | Selezionare la scheda **Privacy e Sicurezza** nella buca di ricerca e clicca su
9 | **Dispositivi di sicurezza**.
10 |
11 | 
12 |
13 | Clicca su **Carica**, digita **CIE PKI** nel campo **Nome modulo** e seleziona
14 | il file **/usr/lib/libcie-pkcs11.so**.
15 |
16 | 
17 |
18 | Clicca su **Apri** per confermare la scelta, quindi su OK per confermare il
19 | caricamento del modulo.
20 |
21 | 
22 |
23 | Per autenticarti con la CIE, digita l’URL del servizio di tuo interesse e clicca
24 | sul pulsante **Entra con CIE**.
25 |
26 | 
27 |
28 | Quando richiesto, procedi ad effettuare l’abilitazione della tua CIE sul
29 | computer, necessaria solo per il primo utilizzo.
30 |
31 | Ti occorrerà il codice
32 | [PIN]("https://www.cartaidentita.interno.gov.it/cosa-pin-puk-utilizzarli/")
33 | composto da 4 cifre ricevute al momento di presentazione della domanda e altre 4
34 | cifre che ti sono state recapitate a casa insieme alla nuova Carta di Identità
35 | Elettronica.
36 |
37 | **Ricorda**: dopo aver terminato l'abilitazione, ogni volta che ti sarà
38 | richiesto l'inserimento del PIN è necessario inserire solo le ultime 4 cifre del
39 | PIN.
40 |
41 | **[Clicca qui](https://www.cartaidentita.interno.gov.it/richiesta-di-ristampa/)**
42 | se hai smarrito il PIN.
43 |
44 | Terminata l’abilitazione, ti verrà richiesto di scegliere il certificato con cui
45 | accedere al servizio e di inserire la seconda metà del PIN.
46 |
47 | 
48 |
49 | Inserito il PIN, clicca su OK o premi INVIO per accedere al servizio.
50 |
51 | In caso di difficoltà, contatta il servizio di assistenza per i cittadini
52 | secondo le modalità indicate all’indirizzo
53 | [https://www.cartaidentita.interno.gov.it/contatti/](https://www.cartaidentita.interno.gov.it/contatti/).
54 |
55 | Se vuoi cambiare il PIN o l’hai dimenticato e intendi cambiarlo (avrai bisogno
56 | del PUK) consulta il manuale del Software CIE per conoscere la procedura.
57 |
58 | Il manuale è disponibile all’indirizzo
59 | [https://www.cartaidentita.interno.gov.it/software-cie/](https://www.cartaidentita.interno.gov.it/software-cie/).
60 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/CSP/AbilitaCIE.h:
--------------------------------------------------------------------------------
1 | //
2 | // AbilitaCIE.h
3 | // cie-pkcs11
4 | //
5 | // Created by ugo chirico on 02/09/18. http://www.ugochirico.com
6 | // Copyright © 2018 IPZS. All rights reserved.
7 | //
8 |
9 | #include "PCSC/PCSC.h"
10 | #include "PKCS11/cryptoki.h"
11 |
12 | #define SCARD_ATTR_VALUE(Class, Tag) \
13 | ((((uint32_t)(Class)) << 16) | ((uint32_t)(Tag)))
14 | #define SCARD_CLASS_ICC_STATE 9 /**< ICC State specific definitions */
15 | #define SCARD_ATTR_ATR_STRING \
16 | SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, \
17 | 0x0303) /**< Answer to reset (ATR) string. */
18 |
19 | // using namespace std
20 |
21 | /* CK_NOTIFY is an application callback that processes events */
22 | typedef CK_CALLBACK_FUNCTION(CK_RV, PROGRESS_CALLBACK)(const int progress,
23 | const char* szMessage);
24 |
25 | typedef CK_CALLBACK_FUNCTION(CK_RV, COMPLETED_CALLBACK)(const char* szPan,
26 | const char* szName,
27 | const char* ef_seriale);
28 |
29 | typedef CK_RV (*AbilitaCIEfn)(const char* szPAN, const char* szPIN,
30 | int* attempts, PROGRESS_CALLBACK progressCallBack,
31 | COMPLETED_CALLBACK completedCallBack);
32 |
33 | typedef CK_RV (*VerificaCIEAbilitatafn)();
34 | typedef CK_RV (*DisabilitaCIEfn)();
35 |
36 | int TokenTransmitCallback(safeConnection* data, uint8_t* apdu, DWORD apduSize,
37 | uint8_t* resp, DWORD* respSize);
38 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/CSP/FirmaConCIE.h:
--------------------------------------------------------------------------------
1 | //
2 | // FirmaConCIE.hpp
3 | // cie-pkcs11
4 | //
5 | // Copyright © 2021 IPZS. All rights reserved.
6 | //
7 |
8 | #ifndef FirmaConCIE_h
9 | #define FirmaConCIE_h
10 |
11 | #include "CSP/AbilitaCIE.h"
12 | #include "PKCS11/cryptoki.h"
13 |
14 | typedef CK_CALLBACK_FUNCTION(CK_RV, SIGN_COMPLETED_CALLBACK)(const int ret);
15 |
16 | typedef CK_RV (*firmaConCIEfn)(const char* inFilePath, const char* type,
17 | const char* pin, const char* pan, int page,
18 | float x, float y, float w, float h,
19 | const char* imagePathFile,
20 | const char* outFilePath,
21 | PROGRESS_CALLBACK progressCallBack,
22 | SIGN_COMPLETED_CALLBACK completedCallBack);
23 |
24 | #endif /* FirmaConCIE_h */
25 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/CSP/PINManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // PINManager.hpp
3 | // cie-pkcs11
4 | //
5 | // Created by ugo chirico on 06/10/18. http://www.ugochirico.com
6 | // Copyright © 2018 IPZS. All rights reserved.
7 | //
8 |
9 | #ifndef PINManager_h
10 | #define PINManager_h
11 |
12 | #include
13 |
14 | #include "CSP/AbilitaCIE.h"
15 |
16 | typedef CK_RV (*CambioPINfn)(const char* szCurrentPIN, const char* szNewPIN,
17 | int* attempts, PROGRESS_CALLBACK progressCallBack);
18 |
19 | typedef CK_RV (*SbloccoPINfn)(const char* szPUK, const char* szNewPIN,
20 | int* attempts,
21 | PROGRESS_CALLBACK progressCallBack);
22 |
23 | #endif /* PINManager_h */
24 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/CSP/VerificaConCIE.h:
--------------------------------------------------------------------------------
1 | //
2 | // VerificaConCIE.h
3 | // cie-pkcs11
4 | //
5 | // Copyright © 2021 IPZS. All rights reserved.
6 | //
7 |
8 | #ifndef LIBS_PKCS11_SRC_CSP_VERIFICACONCIE_H_
9 | #define LIBS_PKCS11_SRC_CSP_VERIFICACONCIE_H_
10 |
11 | #include
12 |
13 | #include "AbilitaCIE.h"
14 | #include "Sign/CIEVerify.h"
15 |
16 | typedef CK_RV (*verificaConCIEfn)(const char* inFilePath);
17 | typedef CK_RV (*getNumberOfSignfn)(void);
18 | typedef CK_RV (*getVerifyInfofn)(int index, struct verifyInfo_t* vInfos);
19 | typedef CK_RV (*estraiP7mfn)(const char* inFilePath, const char* outFilePath);
20 | #endif // LIBS_PKCS11_SRC_CSP_VERIFICACONCIE_H_
21 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/PKCS11/CardContext.cpp:
--------------------------------------------------------------------------------
1 | #include "PKCS11/CardContext.h"
2 |
3 | #include
4 |
5 | #include "Util/util.h"
6 |
7 | extern CLog Log;
8 |
9 | void CCardContext::getContext() {
10 | init_func LONG _call_ris;
11 | if ((_call_ris = (SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL,
12 | &hContext))) != S_OK) {
13 | throw windows_error(_call_ris);
14 | }
15 | }
16 |
17 | CCardContext::CCardContext(void) {
18 | hContext = 0;
19 | getContext();
20 | }
21 |
22 | CCardContext::~CCardContext(void) {
23 | if (hContext) SCardReleaseContext(hContext);
24 | }
25 |
26 | CCardContext::operator SCARDCONTEXT() { return hContext; }
27 |
28 | void CCardContext::validate() {
29 | if (hContext)
30 | if (SCardIsValidContext(hContext) != SCARD_S_SUCCESS) hContext = 0;
31 |
32 | if (hContext == 0) {
33 | getContext();
34 | }
35 | }
36 |
37 | void CCardContext::renew() {
38 | init_func
39 |
40 | LONG ris;
41 | if (hContext)
42 | if ((ris = SCardReleaseContext(hContext)) != SCARD_S_SUCCESS)
43 | throw windows_error(ris);
44 | hContext = 0;
45 |
46 | getContext();
47 | }
48 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/PKCS11/CardContext.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 | #include
5 |
6 | class CCardContext {
7 | public:
8 | SCARDCONTEXT hContext;
9 |
10 | CCardContext(void);
11 | ~CCardContext(void);
12 |
13 | operator SCARDCONTEXT();
14 | void validate();
15 | void renew();
16 |
17 | private:
18 | void getContext();
19 | };
20 |
--------------------------------------------------------------------------------
/libs/pkcs11/src/PKCS11/P11Object.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include