Skip to content

Conversation

@cirosec
Copy link

@cirosec cirosec commented Feb 12, 2025

This PR addresses #48, but does not completely fix it. As discussed in the issue, defining some edgecases is not as clear.
This PR addresses issues with encoding of / and \. The new flag -cs or --canonicalizeslashes will escape the slashes.
The tool will also check on startup, if a JWT gets modified by simple json.loads and json.dumps and will warn the user about canonicalization issues. Some of them might be fixable and could be fixed with future flags, some might be harder to fix.
Cheers, JM-Lemmi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants