Coder Social home page Coder Social logo

new version? about xml-crypto HOT 6 CLOSED

node-saml avatar node-saml commented on July 28, 2024
new version?

from xml-crypto.

Comments (6)

bjrmatos avatar bjrmatos commented on July 28, 2024

any use case for that? it is just a refactor of this commit and we'll probably remove that code because it is supporting malformed xml. see this thread for more information.

but i'm curious if you're relying on this behaviour for something in particular

from xml-crypto.

bjrmatos avatar bjrmatos commented on July 28, 2024

also, i will take the opportunity to ask.. would you like to join efforts with us? i ask this because i've noticed that you guys (the auth0 team) have a fork of xml-crypto, i've seen other libraries relying on that fork and i think this is bad, we're just duplicating efforts and really the auth0 fork only have some commits different to the main repo.

would you like to tell us about why you guys have decided to fork xml-crypto? so we can fix it and maintain only one repository for the good of all.

cc @yaronn

from xml-crypto.

siacomuzzi avatar siacomuzzi commented on July 28, 2024

any use case for that? it is just a refactor of this commit and we'll probably remove that code because it is supporting malformed xml.

Cool, I think I'm OK with the specified commit.

also, i will take the opportunity to ask.. would you like to join efforts with us? i ask this because i've noticed that you guys (the auth0 team) have a fork of xml-crypto...

That would be great. If you are OK, I can send you a PR with the following changes:

And the tricky one (maybe you found a better solution, it's related to #48, #60 and #72):

from xml-crypto.

bjrmatos avatar bjrmatos commented on July 28, 2024

cool!, unfourtanly i have no experience with InclusiveNamespaces so we'll need the help of @yaronn here.

@yaronn the workaround looks good to you? how it can be less tricky?

from xml-crypto.

yaronn avatar yaronn commented on July 28, 2024

It would be great to join efforts, really like the idea!

As for the workaround - I think another approach could be to have this code inside the canonization class such that the class is aware of the inclusive namespaces and can embed them on the right element in a generic manner (not just a fixed list of nodes). There shouldn't be a need to wait for the failure of the initial validation since we can tell up front there are namespaces to include. I think for now we can merge the workaround and open a task for later. Also would be great to have a unit test on this.

Anyway this issue did repeat in several posts so great to include a solution for it.

from xml-crypto.

LoneRifle avatar LoneRifle commented on July 28, 2024

Closing this for now. The commits cited in this issue have either been implemented independently or merged through other means (as is the case of #172)

from xml-crypto.

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.