We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am doing a JWS signature and encryption JWE. The same code works fine on mac, but on windows, once it decrypts, we get
b'eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczpcL1wvbmV0ZmxpeC5jb20iLCJwYXlsb2FkIjoie1widmlydHVhbENhcmRSZWZlcmVuY2VJZFwiOlwiVU5ZWCtMbXd\xe7\x18\x9e\xc9\x80\'\xfb\x99\x15\xd6\xe93\xaff\x9cSdn\xc3\x9e\xa8\xb3\x82\x8c\xc1/J2\xe2\xca<\x1d|\xfe\xf3\xba\xc5z\x04\xd4\xf6M\x1a<\x88\x14\xbc\xcd.\xf7^\xc0\xac-\xc1-\x0be\xf4F\xde$\xd7\xfe\xc6}\x9b\x142\xcf\xfe\xcb\xaee\xd1\xae\xf5\xf2\x06\xb49\xdd\xce\xd5\xe3\xea\xf7\x82\xab$\xfd3\xc7]i`\xa5i\xd3\xc1\xb2\x83v\xd9d\x7f{C5\xa99\xf1\xa6\xaf\xf3\x82\x0b\xdc\xe8\x8f.?\xca\xf9\x82\xb2&\x99\x9d\xcf\x0fl\\\xa8Z\x89\xb1\x17\xb6\x85e_\xa8d\xe0\x9e\x10NU\xcb\x9c\xf3>\xcb\xae0\x86\xe1m\x16\xec\n\xc6\x9e\xc1*\xb0\xbf\xfd\x91\xadzUmR\xe7\xd8I\xe2L\x02an\xbe\xf7\xdd\x14\xb1|V\x9f\x923\xae\x0c\xf0\x9b\xda\xb6\xf4\x14 8%\x12VG.p\x07+u\xdd\x8d\xefal\x85\x13\xc3\xc1d\xb7\x1c\xbe\x7f{\xff\xf4\x0b?\xad\xdaZ\x83.\xd3#\xb3i\xc8\xb28\xfco\xfe\xd7Jl\x96\x9f8\xfc\xd7XMMg\xf3|<\xef#\x85{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7f_8{\xd9\x80\x1b\xec\xce\xd5.\xbe\xfa\x1d\xfd\xc0\xfc\x0c/\xc5\xc4\x84\x992\x9dq\x10\xd0\x1f\x19\x01\xa5\x948\xc4\x9bROk\x02\xed\xe1\x01\x00\xa0i:d8\xe5\xf7\x82_z;\xdeY\xfb\xdd\xc9\x91\xe8[\xe8B\x9d\xe9\x11\xb1\xde\x8fC\x995Y\x93\xf5\xe1\xaf[\xe2\x96\xc6\xf3\x85\x0b\xed\xd6J\xb7o}\x18\xc59\xe5\xea\xc6\x93{\xb1G\xcdt|]\xa04]?B;\xba\xb9-ir1\xab\xd3Z\xb0b\x92\xac\xbd\x13#T@Vz\xd6K\xe1\xe2\xa5$\x8aj\xb6\xef\x8a\xd4\xf9]\xb5P\xaa\xa3Zo\xccB\xdde\xed\x1d\t\xf7\xf9\x8c\x0b\x01<\xdc\xc3\x99p:\xa6#\xbd\x1d\xd52\x10M\xd7\xfbBz6-\xf2\xc7[K\xe3uJz\x01\xacp\xa0\x08\xb8k\x02\xbd*\x92<\xe7[V%"h\xa1(2\xfbZ\xb3\xb3>\xc6\x1b\xd4TH\xcdmP$\xfd\xda\x124\xbb\x84\xdc\x1b\xd7\xd1'
And fails with BadSyntax error in file jwkest_init_.py
Seems to be an encoding issue on windows, any idea how to fix it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am doing a JWS signature and encryption JWE. The same code works fine on mac, but on windows, once it decrypts, we get
b'eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczpcL1wvbmV0ZmxpeC5jb20iLCJwYXlsb2FkIjoie1widmlydHVhbENhcmRSZWZlcmVuY2VJZFwiOlwiVU5ZWCtMbXd\xe7\x18\x9e\xc9\x80\'\xfb\x99\x15\xd6\xe93\xaff\x9cSdn\xc3\x9e\xa8\xb3\x82\x8c\xc1/J2\xe2\xca<\x1d|\xfe\xf3\xba\xc5z\x04\xd4\xf6M\x1a<\x88\x14\xbc\xcd.\xf7^\xc0\xac-\xc1-\x0be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52\x10M\xd7\xfbBz6-\xf2\xc7[K\xe3uJz\x01\xacp\xa0\x08\xb8k\x02\xbd*\x92<\xe7[V%"h\xa1(2\xfbZ\xb3\xb3>\xc6\x1b\xd4TH\xcdmP$\xfd\xda\x124\xbb\x84\xdc\x1b\xd7\xd1'
And fails with BadSyntax error in file jwkest_init_.py
Seems to be an encoding issue on windows, any idea how to fix it?
The text was updated successfully, but these errors were encountered: