Skip to content

Hash Logs before compilation #444

@Tamircohen28

Description

@Tamircohen28

I saw there's a develop of kv structure logging.
First of all, I would like to receive more information about this feature, does it allow keys to be replaced with values on run time?
Secondley, i'm coming from the information security field and there's a need for the logs to be hashed before compilation.
For example, in the code the developer will write somthing like:
Info!("invalid password");
Before compilation it will be hashed so the log messgae won't be included in the binary:
info!("5e6e951d0b58b694667e07bba01592670f76e6b6");
After this process we will want to output some map (perhapes json file) of the logs and their hashed result so we could know when we receive some hash what it means but an attacker couldn't.
I appolagy if this is not the spot to ask questions or upload this request, i'm new to the open source world.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions