← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1348262] [NEW] PKI and PKIZ tokens contain unnecessary whitespace

 

Public bug reported:

In the race to produce smaller PKI tokens, we've overlooked that we can
produce smaller JSON bodies by removing all whitespace between
structural characters. For example, the following JSON blobs are all
equally valid:

  { "key" : "value" }

... as compared to what we're producing today:

  {"key":"value"}

... as compared to all unnecessary whitespace removed:

  {"key":"value"}

This optimization would save us a few bytes in both PKI and PKIZ tokens.

** Affects: keystone
     Importance: Wishlist
     Assignee: Dolph Mathews (dolph)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1348262

Title:
  PKI and PKIZ tokens contain unnecessary whitespace

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  In the race to produce smaller PKI tokens, we've overlooked that we
  can produce smaller JSON bodies by removing all whitespace between
  structural characters. For example, the following JSON blobs are all
  equally valid:

    { "key" : "value" }

  ... as compared to what we're producing today:

    {"key":"value"}

  ... as compared to all unnecessary whitespace removed:

    {"key":"value"}

  This optimization would save us a few bytes in both PKI and PKIZ
  tokens.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1348262/+subscriptions


Follow ups

References