Skip to content

Brings initial Rust support to john #5204

Closed as not planned
Closed as not planned
@ghost

Description

If merged, one should:

  • create a new format as a C file that references the rust code as 'outer' code [1];
    • Then, develop the library in rust and export the necessary names/symbols;
    • Next put (external) function names in struct fmt_main fmt_rust as usual
  • Autotools tooling will build "rust format(s)" if rust is installed;

Done or doing:

  • I'm re-implementing the dummy format in rust (I'm out of ideas);
  • Right now, I'm already calling the valid() that was developed in rust and configure/make are detecting if 'rust' is present.
  • New developers could take 'my' dummy format as an example.

Why:

  1. This could produce good noise within the JtR community;
  2. Developing a new format in rust might not be all that interesting, but create more complex stuff could be cool, e.g., (re)creating a mode sounds interesting.

[1] at the top of the C file:

// Routines imported from Rust.
void valid_in_rust();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions