Skip to content

Trufflehog analyze quits when pressing Q while a text input is selected #4352

@Nothing4You

Description

@Nothing4You

TruffleHog Version

trufflehog 3.90.2

Trace Output

trufflehog --log-level=5 analyze
2025-07-28T17:34:47+02:00	info-2	trufflehog	trufflehog 3.90.2
🐷🔑🐷  TruffleHog. Unearth your secrets. 🐷🔑🐷

2025-07-28T17:34:47+02:00	info-4	trufflehog	default engine options set
2025-07-28T17:34:47+02:00	info-4	trufflehog	engine initialized
2025-07-28T17:34:47+02:00	info-4	trufflehog	setting up aho-corasick core
2025-07-28T17:34:47+02:00	info-4	trufflehog	set up aho-corasick core
2025-07-28T17:34:47+02:00	info-2	trufflehog	starting scanner workers	{"count": 14}
2025-07-28T17:34:47+02:00	info-2	trufflehog	starting detector workers	{"count": 112}
2025-07-28T17:34:47+02:00	info-2	trufflehog	starting verificationOverlap workers	{"count": 14}
2025-07-28T17:34:47+02:00	info-2	trufflehog	starting notifier workers	{"count": 14}
2025-07-28T17:34:47+02:00	error	trufflehog	error running scan	{"error": "invalid command: analyze"}

Expected Behavior

Any character should be allowed to be entered in a text field.

Actual Behavior

Typing q as part of the text quits the analyzer.

Steps to Reproduce

  1. Run trufflehog analyze
  2. Select any analyzer, e.g. Airbrake or GitHub
  3. Try to enter a secret or a log file name containing the letter q
  4. Analyzer exits

Environment

  • OS: macOS
  • Version: 15.5

Additional Context

References

  • #0000

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions