Code Monkey home page Code Monkey logo

Comments (3)

firaja avatar firaja commented on May 30, 2024

Hi @divijen,

thank you for opening the issue.
This is caused by your JVM that has a provider containing no services.

Can you post the result of this in your environment? Thank you

        for (Provider provider : Security.getProviders())
        {
            System.out.println(provider.getName());
            if (provider.getServices() != null)
            {
                for (Provider.Service service : provider.getServices())
                {
                    System.out.println(" - " + service.getAlgorithm());
                }
            }

        }

from password4j.

divijen avatar divijen commented on May 30, 2024

Thank you @firaja

I could probably write a small chunk where there might be an issue:

XMLDSig
 - http://www.w3.org/2006/12/xml-c14n11#WithComments
 - http://www.w3.org/2000/09/xmldsig#base64
 - http://www.w3.org/TR/1999/REC-xslt-19991116
 - http://www.w3.org/2001/10/xml-exc-c14n#
 - http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments
 - http://www.w3.org/2000/09/xmldsig#enveloped-signature
 - http://www.w3.org/2002/06/xmldsig-filter2
 - DOM
 - http://www.w3.org/TR/2001/REC-xml-c14n-20010315
 - http://www.w3.org/2001/10/xml-exc-c14n#WithComments
 - http://www.w3.org/2006/12/xml-c14n11
 - http://www.w3.org/TR/1999/REC-xpath-19991116
 - DOM
TLSP
SunPCSC
 - PC/SC

from password4j.

firaja avatar firaja commented on May 30, 2024

Hi @divijen a fix is published for this problem.
You can try version 1.7.2 and see if it's solved.

What I found weird is that with Amazon Corretto 1.8 I never get a null from provider.getServices(), even if the Provider has no Service.
The only way to replicate it was to override method Provider#getServices() and force it to return null. Maybe you have a library doing so.

from password4j.

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.