Add possibility to sign and verify JSON strings directly #3

merged 1 commit into from Feb 5, 2013


None yet
2 participants

wehlutyk commented Feb 5, 2013


Imagine the following:

  • Sign some data on a smartphone, using smartphone libraries
  • Trying to verify that in python-jws, we first need to parse the JSON and python-jws will re-convert the generated object to JSON in its verification process. But if the re-conversion does not format the JSON in exactly the same way as the library on the smartphone did (i.e. the way it was in the payload), verification fails. But the signature was good!


Add the possibility to verify a signature on a json string, not only python objects.


brianloveswords commented Feb 5, 2013


@brianloveswords brianloveswords added a commit that referenced this pull request Feb 5, 2013

@brianloveswords brianloveswords Merge pull request #3 from wehlutyk/master
Add possibility to sign and verify JSON strings directly

@brianloveswords brianloveswords merged commit 9d4c9ed into brianloveswords:master Feb 5, 2013

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