Thanks guys. I've corrected this in my editor's working copy.
-- Mike
From: Richard Barnes [mailto:[email protected]]
Sent: Friday, August 16, 2013 9:14 AM
To: Brian Campbell
Cc: Mike Jones; [email protected]
Subject: Re: [jose] JOSE in Python
Exactly. Just need to change the example:
OLD:
"""
eyJhbGciOiJFUzUxMiJ9
.
eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFt
cGxlLmNvbS9pc19yb290Ijp0cnVlfQ
.
AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZq
wqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8Kp
EHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn
"""
NEW:
"""
eyJhbGciOiJFUzUxMiJ9
.
UGF5bG9hZA
.
AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZq
wqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8Kp
EHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn
"""
On Thu, Aug 15, 2013 at 11:52 PM, Brian Campbell
<[email protected]<mailto:[email protected]>> wrote:
On Thu, Aug 15, 2013 at 6:38 PM, Mike Jones
<[email protected]<mailto:[email protected]>> wrote:
> How is the ES512 example broken and what needs to be done to fix it?
>
Looks like maybe the encoded payload got hosed up somehow in the final
compact serialization. It's UGF5bG9hZA earlier in the example but the
final CS has it as
eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ
- the signature validates for me with the former but not the latter.
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose