Code Monkey home page Code Monkey logo

Comments (3)

drbild avatar drbild commented on September 27, 2024 1

In the longer term, we can discuss if we want to transition our root cert format away from the current binary concatenation form, to just using a static x.509 (like we're doing with the client certs, except in this case parsing a cert, rather than building it).

I think we should have a discussion about this soon (maybe later this week). We might not act on that immediately, but should at least decide on the file formats that we want.

from xtt.

zanebeckwith avatar zanebeckwith commented on September 27, 2024

Regarding root certificates:

Yes, this should (now) be as simple as:

  • Updating xtt_initialize_server_root_certificate_context_ecdsap256 to take just a xtt_root_certificate, rather than the root id and pub key separately
    • To maintain backward-compatibility, we can leave the old version, taking the two separate pieces, too
  • Once that's done, we should remove the initialize_certs and lookup_certificate functions from client.c, and remove the global root ID and root cert. Instead, just read in the root cert and use it to initialize a root context (which lives in run_client, not as a global), and simply pass it directly to xtt_handshake_client_build_idclientattest without having to "look it up" (which we never actually were doing anyhow).

In the longer term, we can discuss if we want to transition our root cert format away from the current binary concatenation form, to just using a static x.509 (like we're doing with the client certs, except in this case parsing a cert, rather than building it).

from xtt.

zanebeckwith avatar zanebeckwith commented on September 27, 2024

Regarding the discussion on root cert formats, see the discussion in issue #67

from xtt.

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.