Code Monkey home page Code Monkey logo

Comments (3)

ldubost avatar ldubost commented on May 28, 2024

Une implement de signature numérique a été réalisé dans l'intégration cryptpad (voir #46).
Le code est ici:

https://github.com/xwiki-labs/cryptpad/blob/e4ba39bdd00e8affacf1b7f8e1ff1648a919bfba/www/sign/inner.js#L955

Cela utilise un fork de node-signpdf https://github.com/ldubost/node-signpdf qui permet de faire un build client-side webpack de node-signpdf (non disponible dans la version original)

Ce fork inclus aussi une modularisation permettant de faire de la signature PDF par certificat p12 mais aussi avec une delegation de la signature à une clé USB.

Plus d'explications sont disponible au début du readme:
https://github.com/ldubost/node-signpdf

from signaturepdf.

ldubost avatar ldubost commented on May 28, 2024

Le readme explique aussi l'implementation de signature clé USB avec 2 programmes supplémentaires:

Firefox Web Extension: https://github.com/ldubost/pkcs7sign-webextension-firefox
NodeJS Host for Web Extension: https://github.com/ldubost/pkcs7sign-host-nodesigning

from signaturepdf.

ldubost avatar ldubost commented on May 28, 2024

La partie UI de la signature digitale est pour l'instant incomplète. Le certificat p12 est acutellement hardcodé et un bouton spéciale est mis pour dire qu'on veut une signature digitale. Le password du certificat p12 est demandé (client side) et le certificat est utilisé pour signer. Il est prévu dans cryptpad de stocker le certificate p12 dans le drive et aussi possiblement de proposer aux utilisateurs de générer des certificats avec une autorité de certification cryptpad (mais ce travail est non prioritaire actuellement)

from signaturepdf.

Related Issues (20)

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.