trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Base64 chars missing URL-safe variant

Open FrugalGuy opened this issue 6 years ago • 0 comments

In addition to the standard 64 BASE64 alphabet characters, you should add '_' and '-'. These are frequently used in place of '+' and '/' to create values that would be safe passed in a URL. I see secrets encoded with this variant frequently. I propose you just add the two additional characters.

FrugalGuy avatar Jan 24 '19 22:01 FrugalGuy