Ensure token validation works irrespective of padding
In change I674bad86ccc9027ac3b365c10b3b142fc9d73c17 we removed the padding from
Fernet tokens. This commit makes it so that we can validate Fernet tokens that
come in with and without padding.
Change-Id: I60e52af6c4cb39f2d136540a487bba8505a2c6b4
Closes-Bug: 1491926
(cherry picked from commit 90aca980587283d26fcfd20ae6be86ca1bbe2788)
Reviewed: https:/ /review. openstack. org/231051 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=8dcd82fb9c7 6d43f26338bee29 3b32f4af473ad9
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 8dcd82fb9c76d43 f26338bee293b32 f4af473ad9
Author: Lance Bragstad <email address hidden>
Date: Wed Sep 9 14:09:06 2015 +0000
Ensure token validation works irrespective of padding
In change I674bad86ccc902 7ac3b365c10b3b1 42fc9d73c17 we removed the padding from
Fernet tokens. This commit makes it so that we can validate Fernet tokens that
come in with and without padding.
Change-Id: I60e52af6c4cb39 f2d136540a487bb a8505a2c6b4 26fcfd20ae6be86 ca1bbe2788)
Closes-Bug: 1491926
(cherry picked from commit 90aca980587283d