Skip to content

Add the ability to reverify a secret knowing the secret type #4170

Open
@CameronLonsdale

Description

@CameronLonsdale

Description

Reverifying a secret with trufflehog requires re-scanning the source file, since many of the detectors depend on keywords before the secret itself, if you only have access to the secret trufflehog may not identify it as verified.

Preferred Solution

Expose a method to call the verify function on a secret type knowing the secret itself. The scope would be all secrets in trufflehog that have a verifier function, not just those listed in Analyze

Additional Context

It's very similar to the new trufflehog analyze except it's only focused on yes/no verification, not what scopes are present for that secret.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions