Coder Social home page Coder Social logo

Supporting signatures about specs HOT 3 CLOSED

fterpstra avatar fterpstra commented on August 25, 2024 1
Supporting signatures

from specs.

Comments (3)

hugoledoux avatar hugoledoux commented on August 25, 2024

I read a bit, and I think it'd be a nice addition. I propose you make an example and describe how that would work? If you added a section in the file docs/specs.rst in the same style as the other ones and send me a PR I'd be very happy to accept it. Or perhaps it should be part of metadata, does that make sense conceptually? I'll let you decide, or we can discuss further in this thread.

You could also had an example in the file example-datasets/dummy-values/example.json.

I'll take care of updating the schema.

from specs.

fterpstra avatar fterpstra commented on August 25, 2024

Hi Hugo,
I did some more research on this and discussed my findings in the OGC security DWG. Basic conclusion is that rfc7515 is not very suitable. It is an enveloping signature format which means that if you use it your cityJSON payload will repackeged as Base64encoded data inside a signature format. It is not an Enveloped signature format where the signature would just be an optional extra element in your cityJSON format. I think the enveloping approach is not very user friendly for people who do not want to check the integrity of data.
Unfortunately at the moment there are no suitable enveloped JSON signature signature alternatives. https://cyberphone.github.io/doc/security/jcs.html does exist and is technically what I intended for digital signatures in JSON, but it is not a real standard and there is just one(or very few) implementation(s).
We are going to discuss this in the joint OGC/W3C spatial data on the web working group and see if maybe W3C sees a good solution for this.

from specs.

hugoledoux avatar hugoledoux commented on August 25, 2024

CityJSON is also under the w3c/ogc umbrella now (incubation period), so perfect!

Thanks for the update.

from specs.

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.