Coder Social home page Coder Social logo

Comments (2)

hallyn avatar hallyn commented on August 25, 2024

I've been working on this in github.com/hallyn/lxd #cert.4. The current state of it is:

Client and server talk over tlsv1.2.
Client and server create certificates at first startup.
Client sends his certificate to server at remote add time.
Server stores client certificates under /var/lib/lxd/clientcerts/[ServerName].
Server rejects communications (except trust/add, which will require password) from unknown certificates.
Server accepts password setting over /trust post.

The client does not yet present server certificate fingerprint for user to ok/deny.
The client does not check server certificates at connect time.
The server does not yet check the password at /trust/add.
(I'm probably forgetting other remaining gotchas)

The result at the moment is fully usable and an improvement over the current master branch, since at least communications are now encrypted.

This is all done over old-web interface. It'll all need to be switched to the specified rest apis. I figure we'll do all of that conversion at once, hopefully next week.

from lxd.

hallyn avatar hallyn commented on August 25, 2024

The caveat about server not checking password at /trust/add is no longer applicable

from lxd.

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.