Coder Social home page Coder Social logo

SNP-related commands about sevctl HOT 4 CLOSED

tylerfanelli avatar tylerfanelli commented on September 21, 2024
SNP-related commands

from sevctl.

Comments (4)

crobinso avatar crobinso commented on September 21, 2024

I agree we need some differentiation. Another option is sevctl measurement {sev,snp} .... If we add sevctl secret build as well then maybe it would need similar treatment.

Adding a sevctl sev namespace might be a little ambiguous since all the current commands are already sev commands.

I guess this probably only matters with commands that don't need to be run on sev host. Do you expect we can transparently make all of those work on SNP hosts, or explicitly error if the command isn't relevant? Then maybe it's best to restrict the sev vs snp namespace to the subcommands we know require differentiation that we can't detect at runtime.

from sevctl.

tylerfanelli avatar tylerfanelli commented on September 21, 2024

An example I think of is sevctl export. Both commands for SEV and SNP would do the same thing (export the certificate chain). The only difference would be that the certificate chains are different for each architecture, so essentially it would make no sense to run sevctl export on an SNP machine at the moment. If we were to add a command to do this for SNP, we would need to distinguish between the two. Somthing like sevctl ok needn't concern itself with this, as it works the same on both architectures.

from sevctl.

crobinso avatar crobinso commented on September 21, 2024

Hmm I see. I didn't consider that you may want to run both SEV and SNP commands on an SNP machine, which can support both. If we need to differentiate that for most commands then I think either sevctl snp or snpctl makes sense.

from sevctl.

tylerfanelli avatar tylerfanelli commented on September 21, 2024

snpctl was previously discussed, and ultimately the conclusion that was reached is just to continue using sevctl, as SNP is still a SEV generation (and not a completely different TEE architecture altogether, depending on how you view it).

Is there a strong case to be made for creating snpctl instead of using sevctl to house these commands? I don't really see a convincing argument, yet I'm still open to the idea.

from sevctl.

Related Issues (16)

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.