GithubHelp home page GithubHelp logo

signature-validation's People

Contributors

martin-lindstrom avatar razumain avatar snyk-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

signature-validation's Issues

Fix XML XAdES check

Currently the results reports "invalidSigningCert" if there is no XAdES reference available.

This should only be set IF this is an ETSI AdES signature AND the references is missing or in error.

Fix should be applied to "XMLSignatureElementValidatorImpl" row 216 and 458

Removing xalan dependency

There is a dependency on xalan via sign service pdf commons. This is being updated but not released.

Once this is fixed, we must update the dependency here

Add In memory CRL cache

Several limited implementations of certificate and signature validation would benefit from a CRL checker with a CRL cache that does not require cache storage on the hard disk.

A recent implementation of an In memory CRL cache was made in another project. That implementation should be imported to this library.

OCSP nonce wrapping

Original RFC 2560 OCSP specified that OCSP nonce should be stored as the extValue bytes and most OCSP clients today, including this one create OCSP requests this way.

However, clarifications in RFC 6960 makes it clear that the OCSP nonce should be encoded in an OCTETSTRING before being DER encoded as extension data.

The code should be updated to always wrap nonce data in a DER encoded OCTETSTRING. This wrapping should use a 30 byte nonce causing the wrapped nonce to be 32 bytes, making sure that it works against RFC 8954 compliant responders.

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.