← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1348262] Re: PKI and PKIZ tokens contain unnecessary whitespace

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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


References