DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
    • IT as Code
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • MLOps

      Algorithmia Looks to Meld MLOps and DevOps

      OpsRamp Adds Synthetic Monitoring to AIOps Platform

      OpsRamp Adds Synthetic Monitoring to AIOps Platform

      Micro Focus AI

      Micro Focus Extends AI Testing Tools Reach

      Blue Medora

      VMware’s Blue Medora Buy Advances AIOps

      Eggplant testing

      Eggplant Injects AI Into Application Testing

  • Cloud
    • SaaS

      SaaS : The Dirty Secret No Tech Company Talks About

      cloud

      3 Key Issues With Hybrid Cloud Transformation

      cloud predictions

      Revisiting 2020 Cloud Predictions in Light of COVID-19

      cloud COVID-19

      Cloud Is Red Hot in the COVID-19 Era

      code

      AWS Brings Machine Learning to Code Optimization

  • Continuous Delivery
    • Harness Drone

      Harness Acquires Drone CI Project

      CI/CD

      Top Pressing Concerns for CI/CD in 2020

      microservices

      How to Use Microservices To Evolve DevOps Pipelines

      JFrog platform

      JFrog Extends Reach and Scope of CI/CD Platform

      CD Foundation

      CD Foundation Touts Spinnaker CD Progress

  • Continuous Testing
    • SAP Tricentis

      SAP Aligns With Tricentis on Continuous Testing

      Shift-Right Testing - TestOps

      Shift-Right Testing: The Emergence of TestOps

      What Developers Should Take Away from the Iowa Caucus App Debacle

      What Developers Should Take Away from the Iowa Caucus App Debacle

      survey testing

      Survey Sees Little Progress in Drive to Shift Testing Left

      DevOps Software Testing

      DevOps Places Software Testing in the Crosshairs

  • DevSecOps
    • vulnerabilities

      Survey: Organizations Knowingly Deploy Vulnerabilities

      automation

      Automation: The Human-Free Zone Approach to Software

      code

      MuseDev Offers DevOps-Optimized Security Code Analyzer

      PASETO

      Okta Offers PASETO as Alternative to JSON Tokens

      vulnerabilities

      Snyk Tool Prioritizes Open Source Vulnerabilities

  • Leadership Suite
    • GitLab DevOps

      GitLab Makes Economic Case for DevOps Platform

      pandemic IT

      Pandemic Provides IT Teams a Chance to Shine

      DevOps

      Survey: DevOps Haves Benefiting Over Have-Nots

      COVID-19

      Engineering Productivity Lessons From COVID-19

      transformation

      Jump Over the Hidden Barriers to Digital Transformation

  • Practices
    • staging

      Dear Staging: We’re Done

      observability

      Sumo Logic Expands Observability Platform Scope, Reach

      serverless

      Serverless: Helping the Enterprise Scale DevOps

      DevOps Unbound

      DevOps Unbound: Exploring Acceleration and Automation, Setting DevOps Free

      accessibility

      How to Build an Accessibility-First Design Culture

  • ROELBOB
    • philosophers-approach

      A Philosopher’s Approach to CI/CD

      pronouns

      Pronouns

      unintended-side-effects

      Unintended Side Effects

      traffic-and-conversion

      Traffic and Conversion

      pair-programming

      Pair Programming

  • Toolbox
    • Harness Drone

      Harness Acquires Drone CI Project

      Atlassian

      Atlassian Adds Asset Management to ITSM Portfolio

      GitLab

      GitLab Extends Scope, Reach of CI/CD Platform

      DevOps

      Solving the DevOps Dilemma in the COVID Era 

      Puppet Relay

      Puppet Launches Relay to Simplify Automating DevOps Workflows

  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevSecOps » Okta Offers PASETO as Alternative to JSON Tokens

PASETO

Okta Offers PASETO as Alternative to JSON Tokens

Mike VizardBy Mike Vizard on July 23, 2020 Leave a Comment

Okta today launched an open source library for using Platform-Agnostic Security Tokens (PASETO) as an alternative to JSON Web Tokens (JWT) to authenticate end users.

Recent Posts By Mike Vizard
  • GitLab Makes Economic Case for DevOps Platform
  • Algorithmia Looks to Meld MLOps and DevOps
  • Survey: Organizations Knowingly Deploy Vulnerabilities
Mike Vizard More from Mike Vizard
Related Posts
  • Okta Offers PASETO as Alternative to JSON Tokens
  • ShiftLeft Ocular Identifies Business Logic Flaws 10x Faster than Manual Code Reviews
  • DevOps Chats: Software Architecture for Cloud Native, .NET Core and Open Source
    Related Categories
  • Blogs
  • DevOps and Open Technologies
  • DevSecOps
    Related Topics
  • application security
  • authentication
  • open source
Show more
Show less

Randall Degges, head of evangelism for Okta, said PASETO is quickly emerging as an easier, more secure implementation of the JWT specification. PASETO is a draft specification created by Scott Arciszewski that reduces the scope of the Javascript Object Signing and Encryption (JOSE) family of specifications in a way that makes it easier for developers to embrace tokens to secure application access.

Okta is trying to make it easy for developers to employ PASETO using a library written in Java, dubbed JPASETO, that has half the lines of code JWT token written in Java and is supported by a vendor, he said.

While JWT tokens have been widely adopted, they are easy to misconfigure, which Degges noted has resulted in the recent discovery of many JWT vulnerabilities. Part of the fault for those vulnerabilities lies with the JWT specification itself, he added; JWTs support a wide range of cryptographic algorithms, including an option that employs no cryptography at all.

In contrast, Degges said PASETOs are more cryptographically resilient and far easier to employ. The PASETO specification defines two types of tokens: local and public. Local tokens are always symmetrically encrypted with a shared secret key, which means no one can view the contents of a local PASETO unless they have the correct secret key. Public tokens are readable by anyone and are validated with a public key. There is no “none” option; there can’t be a security token that is not encrypted, he said.

All PASETO formats are designed to be tamper-proof. The entire message is authenticated, so validation will fail if anything in the token changes, added Degges.

That approach ensures higher levels of application security while at the same time aiding in the adoption of best DevSecOps practices using Okta’s JPASETO library, which can be incorporated easily into the application development process, he noted.

In recent years software tokens such as JWT have gained traction as a way to implement two-factor authentication in place of creating a session in the server and returning a cookie. When a user successfully logs in using their credentials, a JSON Web Token is returned and must be saved locally.

Software tokens, however, can still be vulnerable to attacks that either duplicate the underlying cryptographic software or phishing attacks that trick end users into giving up a password. There is no such thing as perfect security; however, software tokens provide a critical layer of security that should be employed much more widely.

It’s not clear to what degree PASETO will further that goal. Many organizations may even mandate the use of either JWT or PASETO as part of their overall approach to DevSecOps. Regardless of approach, it’s clear that continuing to rely on sessions and cookies to authenticate end users is an antiquated approach to authentication that is not only more difficult to implement and manage but also ultimately less secure.

Filed Under: Blogs, DevOps and Open Technologies, DevSecOps Tagged With: application security, authentication, open source

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)