PKI and PKIZ tokens contain unnecessary whitespace
Bug #1348262 reported by
Dolph Mathews
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Wishlist
|
Alexander Makarov |
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" , "foo" : "bar" }
... as compared to what we're producing today:
{"key": "value", "foo": "bar"}
... as compared to all unnecessary whitespace removed:
{"key"
This optimization would save us a few bytes in both PKI and PKIZ tokens.
tags: | added: pki |
Changed in keystone: | |
milestone: | juno-3 → none |
assignee: | Dolph Mathews (dolph) → nobody |
status: | In Progress → Triaged |
tags: | added: low-hanging-fruit |
Changed in keystone: | |
assignee: | nobody → Alexander Makarov (amakarov) |
Changed in keystone: | |
status: | Triaged → In Progress |
Changed in keystone: | |
assignee: | Alexander Makarov (amakarov) → Marek Denis (marek-denis) |
Changed in keystone: | |
assignee: | Marek Denis (marek-denis) → Alexander Makarov (amakarov) |
Changed in keystone: | |
milestone: | none → kilo-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in keystone: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/109343
Review: https:/