-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trufflehog fails to parse localized timestamp #3338
Labels
Comments
git cat-file -p 3ec15209b4d1c854258f7d9ebb05cbbfbc3562fb
tree 27a3ef59079f6673bd5286e554b5647dfe4a314e
author H., Sven - D010101 <[email protected]> 1601279961 +0000
committer H., Sven - D010101 <[email protected]> 1601279961 +0000 git does not have an locale either it seems |
Same issue here |
Hi, I'm not a go developer, but I downloaded the code and ran the tests and it also fails there:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TruffleHog Version
trufflehog 3.82.5
Expected Behavior
trufflehog should parse localized timestamps correctly
Actual Behavior
This is a german localized timestamp. trufflehog then reports found issues as following:
Environment
Additional Context
my LANG is at de_DE.UTF-8, however, setting this to C or en_US.UTF-8 changes nothing.
I ran this against a local repo with
trufflehog git file://./my_repo_dir
as well as against its remote on gitlab with identical resultsHowever, running tools like git, lazygit or tig locally work fine, e.g.
same with LANG set to en_US.UTF-8 or similar.
Maybe I'm forgetting to configure something here, but if so, I failed to find documentation or other issues regarding this.
The text was updated successfully, but these errors were encountered: