Git Product home page Git Product logo

signaturerfc3161's Introduction

ILIAS Signature Plugin for Tests#

Digital signature and timestamp for exams in ILIAS

The current plugin is compatible with ILIAS 5.1 and 5.2. For older ILIAS-Versions see the releases.

This plugin will add a digital signature to the PDF generated after exams, if the corresponding flag in the testoptions is set. It uses the free DFN-timestamp-service with the RFC-3161 standard („Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)“).

Usage

Install the plugin

mkdir -p Customizing/global/plugins/Modules/Test/Signature  
cd Customizing/global/plugins/Modules/Test/Signature
git clone https://github.com/kyro46/SignatureRFC3161.git

and activate it in the ILIAS-Admin-GUI.

Upload a certificate. For testing create your own certificate e.g. with the Java Keytool:

  • keytool -genkey -keyalg RSA -alias selfsigned -keystore key.keystore -storepass password -validity 360 -keysize 2048

Before the test, activate:

  • Enable Archiving
  • Digitally sign test submissions

After the test create the export "Test Archive File". The signed PDFs will be stored inside.

The signPdf.jar

Requires Java 7 or newer.

The Repo contains

  • the main files for the signPdf.jar at /SignPdf
  • the ready to use singPdf.jar in /resources

Credits

  • Original Javacode by Steffen Dienst, University Leipzig for ElateXam, 2010
  • Porting to a plugin for ILIAS 4.4 by Yves Annanias, University Halle, 2014
  • Further development by Christoph Jobst, University Halle, 2014/2015/2016

signaturerfc3161's People

Contributors

kyro46 avatar

Stargazers

Mirco Hilbert avatar

Watchers

James Cloos avatar  avatar

signaturerfc3161's Issues

Could not retrieve timestamp from server

Jul 08, 2016 1:35:01 PM SignPdf signAndTimestamp SCHWERWIEGEND: Could not retrieve timestamp from server. ExceptionConverter: org.bouncycastle.tsp.TSPValidationException: no signing certificate attribute found, time stamp invalid. at org.bouncycastle.tsp.TimeStampToken.(Unknown Source) at org.bouncycastle.tsp.TimeStampToken.(Unknown Source) at org.bouncycastle.tsp.TimeStampResponse.(Unknown Source) at org.bouncycastle.tsp.TimeStampResponse.(Unknown Source) at org.bouncycastle.tsp.TimeStampResponse.(Unknown Source) at com.lowagie.text.pdf.TSAClientBouncyCastle.getTimeStampToken(Unknown Source) at com.lowagie.text.pdf.TSAClientBouncyCastle.getTimeStampToken(Unknown Source) at com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(Unknown Source) at SignPdf.signAndTimestamp(SignPdf.java:206) at SignPdf.signAndTimestamp(SignPdf.java:94) at SignPdfMain.sign(SignPdfMain.java:66) at SignPdfMain.main(SignPdfMain.java:22)

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.