Coder Social home page Coder Social logo

Per-package `isTfaRequired(spec, opts)` about cli HOT 1 CLOSED

npm avatar npm commented on July 17, 2024
Per-package `isTfaRequired(spec, opts)`

from cli.

Comments (1)

darcyclarke avatar darcyclarke commented on July 17, 2024

👋🏻 Hey @evocateur! I apologize this has taken so long to get to (I'm just getting to this now as I'm sifting through the backlog). I don't think we would have ever been open to exposing whether 2FA is required for packages as it would have provided a way to enumerate packages that may be more susceptible to attack/compromise.

That said, 2FA enforcement in general is being pushed through by our registry counterparts (ref. https://github.blog/2021-12-07-enrolling-npm-publishers-enhanced-login-verification-two-factor-authentication-enforcement/) - so this kind of information would sort of be redundant if everyone is going to be required to use 2FA to publish moving forward. Obviously, automation tokens will still be able to circumvent this to some extent but the way in which you'll have to login, to generate those tokens, will likely change to enforce 2FA as a best practice.

Let me know if there's any follow up discussion/thoughts you have on this but I'm going to close this issue for now.

Future feedback/discussions/ideas about the registry/website APIs can be opened here: https://github.com/npm/feedback/

from cli.

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.