1 / 7

JOSE New Specs & New Features

JOSE New Specs & New Features. Mike Jones Microsoft Identity Standards Architect March 27, 2012. New Features. JWS and JWE: jpk for including JWK public key in header x5c for including X.509 certificate chain in header JWE: Add integrity check for non-AEAD algorithms JWA:

elvis
Download Presentation

JOSE New Specs & New Features

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JOSE New Specs & New Features Mike Jones Microsoft Identity Standards Architect March 27, 2012

  2. New Features • JWS and JWE: • jpk for including JWK public key in header • x5c for including X.509 certificate chain in header • JWE: • Add integrity check for non-AEAD algorithms • JWA: • Add AES Key Wrap with 512 bit keys (A512KW) • Moved JWS "alg":"none" here from JWT spec

  3. New JSON Serialization Specs • Meet WG requirements: • JSON top-level representations of signed/HMACed and encrypted content • Multiple signatures/HMACs over same payload • Encrypt same plaintext to multiple recipients • New Specs: • JSON Web Signature JSON Serialization (JWS-JS) • draft-jones-json-web-signature-json-serialization • JSON Web Encryption JSON Serialization (JWE-JS) • draft-jones-json-web-encryption-json-serialization

  4. Example JWS-JS {"headers":[ "eyJhbGciOiJSUzI1NiJ9", "eyJhbGciOiJFUzI1NiJ9"], "payload":"eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0 dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ", "signatures":[ "cC4hiUPoj9Eetdgtv3hF80EGrhuB__dzERat0XF9g2VtQgr9PJbu3XOiZj5RZ mh7AAuHIm4Bh-0Qc_lF5YKt_O8W2Fp5jujGbds9uJdbF9CUAr7t1dnZcAcQjbKBY NX4BAynRFdiuB--f_nZLgrnbyTyWzO75vRK5h6xBArLIARNPvkSjtQBMHlb1L07Q e7K0GarZRmB_eSN9383LcOLn6_dO--xi12jzDwusC-eOkHWEsqtFZESc6BfI7noO PqvhJ1phCnvWh6IeYI2w9QOYEUipUTI8np6LbgGY9Fs98rqVt5AXLIhWkWywlVmt VrBp0igcN_IoypGlUPQGe77Rw", "DtEhU3ljbEg8L38VWAfUAqOyKAM6-Xx-F4GawxaepmXFCgfTjDxw5djxLa8IS lSApmWQxfKTUJqPP3-Kg6NU1Q"] }

  5. Compare to JWS Example Format Header.Payload.Signature: eyJhbGciOiJFUzI1NiJ9. eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0 dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ. lSApmWQxfKTUJqPP3-Kg6NU1Q

  6. Why are the headers base64url encoded? • Why: • "eyJhbGciOiJFUzI1NiJ9" • Rather than: • {"alg":"ES256"} • Simple answer: • Header contents is signed/HMACed

  7. Request for WG Draft Status • Request WG decision to move JSON Serialization docs WG doc status • JSON Web Signature JSON Serialization (JWS-JS) • draft-jones-json-web-signature-json-serialization • JSON Web Encryption JSON Serialization (JWE-JS) • draft-jones-json-web-encryption-json-serialization

More Related