Coder Social home page Coder Social logo

Comments (3)

agonbar avatar agonbar commented on August 22, 2024

It shouldn't be hard to do. Extending the client configuration to be able to change parameters like keys or IPs and save them. Not having the private key would make the download of a ready to use file impossible tough.

from subspace.

nhi-vanye avatar nhi-vanye commented on August 22, 2024

I agree that it impacts the one-stop shop, but it keeps the private keys where they were intended to be - on the device.

I don't see a reason to not support both use cases.

An alternative might be to destroy the private keys (securely) after they were used. That would mean that any subsequent update to the client's configuration would need a new private key generated, but that's probably good practice anyway (making it automatic/easy to rotate device keys - which is something I think tailscale does)

from subspace.

gilesw avatar gilesw commented on August 22, 2024

I've been wondering about this. I don't want to have to issue all new keys if someone in systems leaves as they'll have had access to all the private keys. I've tested it out it doesn't blow up so I think I'll put a cronjob in place to run sudo perl -pi -e 's/PrivateKey = .*/PrivateKey = YOU MUST MAKE A NEW PROFILE IF YOU LOST YOUR KEY/' *.conf

from subspace.

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.