Git Product home page Git Product logo

Comments (4)

Enkelmann avatar Enkelmann commented on June 11, 2024

Does Kali (or you) use an offline mirror of the crates.io package repository? Otherwise I could not explain why the switch to clap 4 (which is available on crates.io) breaks your build process.

If it uses an offline mirror: How often does it get updated? I explicitly make no stability guarantees for the master branch and if the problem will resolve itself in one or two weeks I am inclined to just wait until then. But in general a switch to the older clap 3 should be possible if necessary.

Edit: Another thing you could check is if your installed Rust version is up-to-date. With the switch to clap 4 I raised the minimum version of Rust required for the cwe_checker to 1.63 (although technically 1.60 should be enough right now). So maybe a simple rustup update will solve your problems.

from cwe_checker.

m-1-k-3 avatar m-1-k-3 commented on June 11, 2024

Thanks for your reply. Rust is installed from the original Kali package repository and is version 1.60.0:

ii  rust-all                               1.60.0+dfsg1-1                      all          Rust systems programming language - all developer tools
ii  rust-clippy                            1.60.0+dfsg1-1                      amd64        Rust linter
ii  rust-gdb                               1.60.0+dfsg1-1                      all          Rust debugger (gdb)
ii  rustc                                  1.60.0+dfsg1-1                      amd64        Rust systems programming language
ii  rustfmt                                1.60.0+dfsg1-1                      amd64        Rust formatting helper

So, we have the source of this issue identified. Probably they will update it with Kali 2022.04. Otherwise we need to go back to manual installation.

from cwe_checker.

Enkelmann avatar Enkelmann commented on June 11, 2024

I just double-checked that the cwe_checker installation still works using Rust 1.60. So maybe Kali really uses a not-up-to-date offline mirror of the crates.io package repository? If we are lucky, the mirror gets updated more frequently than just for every Kali release, so maybe the issue is already solved/will solve itself soon. In this case I could delay making Rust 1.63 a hard requirement until it lands in Kali Linux.

Would using the official Docker image of the cwe_checker be an alternative for you? This way you could still use the latest cwe_checker based on the master branch without any fear that it will break on any specific Linux distro.

from cwe_checker.

m-1-k-3 avatar m-1-k-3 commented on June 11, 2024

Tested today with the new Kali 2022.4 and everything works fine.

from cwe_checker.

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.