Git Product home page Git Product logo

Comments (7)

pmarkowsky avatar pmarkowsky commented on May 11, 2024 1

I wonder if the Santa client should reject rules where the Policy is "ALLOWLIST_COMPILER" and the Type is anything other than "BINARY"? Or better yet maybe it could allow use of other types to permit a compiler, for those of us willing to accept the additional risk?

Admittedly the feature was originally designed before signing ID rules existed. It may be a good time to revisit if we want to keep compiler rules to a BINARY rules. I know other folks in the community would probably be interested in marking the go toolchain as a compiler via signing ID rules so they don't have to update their rules for every release.

from santa.

mlw avatar mlw commented on May 11, 2024 1

It may be a good time to revisit if we want to keep compiler rules to a BINARY rules. I know other folks in the community would probably be interested in marking the go toolchain as a compiler via signing ID rules

Agreed. FWIW I don't see a good reason to not handle compiler signing ID rules. It wasn't done initially just keep the overall effort a little smaller and more focused. But expanding it shouldn't be too much of a hassle.

Not that it was asked for, but I don't think certificate or team ID rules would be good candidates for compiler rule types as they're too broad.

from santa.

pmarkowsky avatar pmarkowsky commented on May 11, 2024 1

We've now made Signing ID rules work with transitive allowlisting. I'm going to close this issue. Please feel free to reopen if there's more to address.

from santa.

pmarkowsky avatar pmarkowsky commented on May 11, 2024

Compiler rules currently only with with hashes.

The idea here is that you're approving a specific version of a compiler.

from santa.

p-harrison avatar p-harrison commented on May 11, 2024

OK great thanks, I had an inkling you might say that! I'll update the documentation later.

I wonder if the Santa client should reject rules where the Policy is "ALLOWLIST_COMPILER" and the Type is anything other than "BINARY"? Or better yet maybe it could allow use of other types to permit a compiler, for those of us willing to accept the additional risk?

from santa.

pmarkowsky avatar pmarkowsky commented on May 11, 2024

Documentation is fixed in #1172

from santa.

pmarkowsky avatar pmarkowsky commented on May 11, 2024

Not that it was asked for, but I don't think certificate or team ID rules would be good candidates for compiler rule types as they're too broad.

I agree. Team ID and Certificate rules are a bit too broad. Additionally if we implement #954. You'd sort of have a loose proxy for a given compiler version.

from santa.

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.