SlideShare a Scribd company logo
Ignite Talk: I AM a robot, how do I log in?
Jayson Delancey
I am a robot, how do I login
Ignite Talk: I AM a robot, how do I log in?
jayson@robotgarden.org
***********
Welcome!
SIGN IN
UAA
User Account and
Authentication Server
SSO
OAuth2
Ignite Talk: I AM a robot, how do I log in?
Ignite Talk: I AM a robot, how do I log in?
• Headless
• Exposed
• Accessible
• Sensitive data
• Sensitive Hardware
draft-ietf-oauth-jwt-bearer
This specification defines the use
of a JSON Web Token (JWT) Bearer
Token as a means for requesting an
OAuth 2.0 access token as well as
for use as a means of client
authentication.
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Ik
pvaG4gRG9lIiwiYWRtaW4iOnRydWUsImV4cCI6MTIzMTIzfQ.cUyTEK1BKsOU5stpPiM5-
PGT4nUrKwAHajhmb9Ojim7NbEwgsDAju9vlukBYJOSCFyXbG_N0zlQrO8n7yJ9G2OIOerQNqMTN
WcqwtcFha1TJyhv4tb40bLONfcrMIAO1L-oF9f27xwJQODJz4SmyU1nSI1dKeqN5KmyHVUqOLAI
Header
{
"alg":"RS256"
}
Payload
{
"iss": <clientID>
"sub": <device ID>
"aud": <uaa>
"exp": <expiration time of this token>
"tenant_id": <tenant_id>
}
Signature
SHA256withRSA(
<base64(Header)>.<base64(Payload)>,
<private key>
)
• Certificate-Signing
Request
• Certificate Authority
• Signature
• Device name
• Device serial no.
• Shared secret
Hardware Security Module (HSM)
• MAC address
• Device UUID
• Tenant ID
Streaming Sensor Data
Bearer Token  Access Token
401 Unauthorized
UAA
+
JWT
Sense, Plan, Act
Robots are users too.
https://github.com/GESoftware-CF/uaa
jwt_grant_3.4.0 branch

More Related Content

PDF
PHP Experience 2016 - [Palestra] Json Web Token (JWT)
PPTX
Token Based Authentication Systems with AngularJS & NodeJS
PDF
Autenticação com Json Web Token (JWT)
PPTX
Simple web security
PDF
OAuth and why you should use it
PPTX
Token Based Authentication Systems
PDF
4.5. Contests [extras]
PDF
[2014/10/06] HITCON Freetalk - App Security on Android
PHP Experience 2016 - [Palestra] Json Web Token (JWT)
Token Based Authentication Systems with AngularJS & NodeJS
Autenticação com Json Web Token (JWT)
Simple web security
OAuth and why you should use it
Token Based Authentication Systems
4.5. Contests [extras]
[2014/10/06] HITCON Freetalk - App Security on Android

What's hot (7)

PDF
Yevhen Teleshyk - OAuth Phishing
PPTX
REST is bad - Kfir Bloch - OpenStack Day Israel 2017
PPTX
Rest is bad
PPTX
Demystifying REST
PPTX
Vulpes tribes backend
PDF
PHP Identity and Data Security
PDF
OAuth簡介
Yevhen Teleshyk - OAuth Phishing
REST is bad - Kfir Bloch - OpenStack Day Israel 2017
Rest is bad
Demystifying REST
Vulpes tribes backend
PHP Identity and Data Security
OAuth簡介
Ad

Similar to Ignite Talk: I AM a robot, how do I log in? (20)

PDF
Protecting Java Microservices: Best Practices and Strategies
PDF
What the Heck is OAuth and OpenID Connect - RWX 2017
PDF
What the Heck is OAuth and Open ID Connect? - UberConf 2017
PDF
What the Heck is OAuth and OpenID Connect - DOSUG 2018
PDF
OpenID Connect with Neos and Flow
PDF
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
PDF
INTERFACE, by apidays - The State of OAuth by Aaron Parecki, Okta
PDF
I Don't Care About Security (And Neither Should You)
PDF
Jwt Security
PPTX
Microservices Security Landscape
PDF
PDF
I Don't Care About Security
PDF
Jwt the complete guide to json web tokens
PDF
I Don't Care About Security (And Neither Should You)
PPTX
JWT_Presentation to show how jwt is better then session based authorization
PDF
APIdays Paris 2019 - Workshop: OAuth by Example by Andy March, Okta
PDF
Apidays Paris 2023 - I Have an OAuth2 Access Token, Now what do I do with it,...
PDF
Modern API Security with JSON Web Tokens
PDF
Securing Web Applications with Token Authentication
PDF
JSON WEB TOKEN
Protecting Java Microservices: Best Practices and Strategies
What the Heck is OAuth and OpenID Connect - RWX 2017
What the Heck is OAuth and Open ID Connect? - UberConf 2017
What the Heck is OAuth and OpenID Connect - DOSUG 2018
OpenID Connect with Neos and Flow
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
INTERFACE, by apidays - The State of OAuth by Aaron Parecki, Okta
I Don't Care About Security (And Neither Should You)
Jwt Security
Microservices Security Landscape
I Don't Care About Security
Jwt the complete guide to json web tokens
I Don't Care About Security (And Neither Should You)
JWT_Presentation to show how jwt is better then session based authorization
APIdays Paris 2019 - Workshop: OAuth by Example by Andy March, Okta
Apidays Paris 2023 - I Have an OAuth2 Access Token, Now what do I do with it,...
Modern API Security with JSON Web Tokens
Securing Web Applications with Token Authentication
JSON WEB TOKEN
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
August Patch Tuesday
PPTX
Tartificialntelligence_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Hybrid model detection and classification of lung cancer
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
A Presentation on Artificial Intelligence
PPTX
Programs and apps: productivity, graphics, security and other tools
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Group 1 Presentation -Planning and Decision Making .pptx
August Patch Tuesday
Tartificialntelligence_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative study of natural language inference in Swahili using monolingua...
SOPHOS-XG Firewall Administrator PPT.pptx
Approach and Philosophy of On baking technology
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Hybrid model detection and classification of lung cancer
A comparative analysis of optical character recognition models for extracting...
Encapsulation_ Review paper, used for researhc scholars
cloud_computing_Infrastucture_as_cloud_p
Univ-Connecticut-ChatGPT-Presentaion.pdf
OMC Textile Division Presentation 2021.pptx
A Presentation on Artificial Intelligence
Programs and apps: productivity, graphics, security and other tools

Ignite Talk: I AM a robot, how do I log in?

Editor's Notes

  • #4: If you’ve used reCAPTCHA you’ve had to check “I’m not a robot”, but what if you were a robot or other industrial machine how would you log in?
  • #5: Authentication is the effort of proving you are who you say you are. For most users this works by providing an email address and a password. It is a combination that only you should know. For robots however, this isn’t as straightforward.
  • #6: Multi-tenant identity management that is part of the Cloud Foundry multi-cloud platform
  • #7: Stop the flow of unwanted users but more importantly for oauth2, issues tokens for client applications to act on behalf of users, and authenticate using credentials, etc.
  • #8: Private Key Infrastructure -- Private key is kept secret, public key is shared with everybody
  • #9: That’s all well and good for human users, but a different story for devices Devices have data recovery which makes it hard to guess or hard to recover
  • #10: Additionally, trouble in industrial cases is that devices are headless, exposed, accessible, control sensitive data and hardware
  • #11: Implementation and Architecture Details OAuth2 JWT Bearer Tokens - This specification proposes a way to pass the certificate and identity by constructing a JWT token. It will carry the client information.
  • #12: Authorization header bearer
  • #13: It’s hard to be hardware, so what’s a good robot to do. Alg = algorithm for digital signature Iss = client issuer Subject = device key Aud = audience, in our case uaa expiration
  • #14: Certificate-based Enrollment also important as providing a signature or proof of trust by an authority
  • #15: Step 1: Adding devices… Embedded software tied to a cloud environment can use device name, serial number, and a shared secret key that is cryptographically random and of sufficient strength
  • #16: Device requirements for managing digital keys, strong authentication, cryptoprocessing, and contacting CA
  • #17: CSR; tenantID; device UUID; MAC address
  • #20: A number of things can go wrong resulting in Unauthorized access
  • #21: UAA and JWT can work together to help robots; of course, robots are stand-ins for devices
  • #22: Definition of robot I like is a goal oriented machine that can sense, plan, and act
  • #23: Thanks: Dario, Jiaqi, Sanjeev, Calvin, Sam, Owen