Skip to content

Commit

Permalink
chore: remove proprietary blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 21, 2024
1 parent 752aefe commit a30a082
Show file tree
Hide file tree
Showing 119 changed files with 44 additions and 33,943 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ jobs:
sudo apt update;
sudo apt install -y g++ libcrypto++-dev
libcrypto++8 libcurl4-openssl-dev libfontconfig1-dev
libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev
libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev libpodofo-dev
libssl-dev libssl3 libxml2 libxml2-dev
pcscd pkg-config python3-pip unzip;
curl -sL "https://github.com/m0rf30/cie-middleware-linux/releases/download/podofo-1.4.2/libpodofo-1.4.2.tar.gz" -o libpodofo.tar.gz;
tar xf libpodofo.tar.gz --directory=libs/lib
pcscd pkg-config python3-pip unzip
- uses: actions/setup-python@v5
with:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Questa libreria software (middleware) implementa le interfacce crittografiche
standard **PKCS#11** e **CSP**, consentendo l'utilizzo del certificato di
autenticazione e della relativa chiave privata memorizzati sul chip della CIE.

Il presente branch (**podofo-vanilla**) esclude i riferimenti alla firma PDF.
In un prossimo futuro dovrebbe far uso di podofo vanilla e permettere la
firma dei PDF.

## Componenti

La [libreria](libcie-pkcs11) è sviluppata in C++ e supporta OS GNU/Linux.
Expand Down Expand Up @@ -44,6 +48,7 @@ Sono necessarie le seguenti librerie:
* openssl
* pcsclite
* pkgconf (make)
* podofo (<= 0.9.8)

### Istruzioni

Expand All @@ -52,10 +57,6 @@ Da terminale, spostarsi nella root del presente repo e digitare:
```sh
gradle -b cie-java/build.gradle standalone

curl -sL "https://github.com/M0Rf30/cie-middleware-linux/releases/download/podofo-1.4.2/libpodofo-1.4.2.tar.gz" -o libpodofo.tar.gz

tar xf libpodofo.tar.gz --directory=libs/lib

meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
Expand Down
Empty file removed libs/lib/.gitkeep
Empty file.
5 changes: 1 addition & 4 deletions libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ curl_dep = dependency('libcurl')
fontconfig_dep = dependency('fontconfig')
freetype_dep = dependency('freetype2')
png_dep = dependency('libpng')
podofo_dep = cpp.find_library('libpodofo', dirs: libdir)
podofo_dep = dependency('libpodofo')
libxml2_dep = dependency('libxml-2.0', required: false)
xml2_dep = dependency('xml2', required: false)
zlib_dep = dependency('zlib')
Expand All @@ -25,9 +25,6 @@ inc_so = include_directories('pkcs11/src/.', 'shared/src/')

inc_a = include_directories(
'sign-sdk/include',
'sign-sdk/include/podofo',
'sign-sdk/include/podofo/include',
'sign-sdk/include/podofo/include/podofo',
'sign-sdk/src',
'shared/src/',
)
Expand Down
7 changes: 4 additions & 3 deletions libs/sign-sdk/include/PdfSignatureGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@

#ifndef _PDFSIGNATUREGENERATOR_H_
#define _PDFSIGNATUREGENERATOR_H_
#include <podofo/doc/PdfSignOutputDevice.h>
#include <podofo/doc/PdfSignatureField.h>
#include <podofo/podofo.h>

#include "Util/UUCByteArray.h"
#include "podofo/doc/PdfSignOutputDevice.h"
#include "podofo/doc/PdfSignatureField.h"
#include "podofo/podofo.h"

using namespace PoDoFo;
using namespace std;
Expand Down

This file was deleted.

Loading

0 comments on commit a30a082

Please sign in to comment.