For all the discussion of "additional complexity", it takes 3 lines to
implement this change in PyJOSE:
OLD:
def createSigningInput(header, payload):
return header + "." + payload
NEW:
def createSigningInput(header, payload):
if len(header) == 0 or len(json.loads(header)) == 0:
return b64dec(payload)
else:
return header +"."+ payload
On Sun, Aug 18, 2013 at 3:52 PM, jose issue tracker <
[email protected]> wrote:
> #59: Allow direct signing and align with AAD
>
> Changes (by [email protected]):
>
> * owner: [email protected] => draft-ietf-jose-
> [email protected]
> * component: draft-barnes-jose-use-cases => json-web-signature
>
>
> --
> -------------------------+-------------------------------------------------
> Reporter: [email protected] | Owner: draft-ietf-jose-json-web-
> Type: defect | [email protected]
> Priority: major | Status: new
> Component: json-web- | Milestone:
> signature | Version:
> Severity: - | Resolution:
> Keywords: |
> -------------------------+-------------------------------------------------
>
> Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/59#comment:1>
> jose <http://tools.ietf.org/jose/>
>
> _______________________________________________
> jose mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/jose
>
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose