self isssued-idp

14
@nov Identity in Your Device

Upload: nov-matake

Post on 24-May-2015

644 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Self isssued-idp

@nov

Identity in Your Device

Page 2: Self isssued-idp

OS, Browser, Mobile Apps

Page 3: Self isssued-idp

Self-Issued OpenID Provider

Personal OP that issues self-signed ID Tokens

No central IdP servers

Defined in OpenID Connect Messages

http://j.mp/self-issued

Available any apps / devices with secure strage

e.g. iOS app with Keychain

Page 4: Self isssued-idp

1) Launches “openid://?client_id=client://callback&..”

No discovery (static OP config)

No client registration (client_id = redirect_uri)

2) End-user approval

3) Self-issued ID Token generation

Generate RSA key pair on the device (only once)

“sub” is automatically calculated by the public key

4) Back to “client://callback#id_token=...”

No API available, thus No Access Token

5) ID Token Verification

Page 5: Self isssued-idp

Static OP Config

Page 6: Self isssued-idp

The sub (subject) Claim value isthe base64url encoded SHA-256 hash of

the concatenation of the bytes ofthe UTF-8 representations of

the base64url encoded key valuesin the sub_jwk Claim.

OpenID Connect Messagesdra,18 Section 6.5

Page 7: Self isssued-idp
Page 8: Self isssued-idp

JWK - JSON Web Key

Page 9: Self isssued-idp

“sub” calculated from JWK

Hash of them

Page 10: Self isssued-idp

Self-Issued ID Token

Page 11: Self isssued-idp

Device specific key pair↓

Device specific ID Token

Page 12: Self isssued-idp

No verified emailsNo verified profile

Page 13: Self isssued-idp

Holder of Key

Page 14: Self isssued-idp

twitter.com/nov

slideshare.net/matake

github.com/nov