Fernet 'expires' value loses 'ms' after validation
When we create a Fernet token we get a token with an expiration
time which contains microseconds. When we validate a Fernet token,
the expiration time changes and comes back missing the microseconds.
We need to make the expiration time the same between creation and
validation time, having microseconds in both cases. This applies to
both v2 and v3 API.
Reviewed: https:/ /review. openstack. org/210037 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=9391f9307e8 34f437c6712797c 903921881f2977
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9391f9307e834f4 37c6712797c9039 21881f2977
Author: Roxana Gherle <email address hidden>
Date: Thu Aug 6 09:46:58 2015 -0700
Fernet 'expires' value loses 'ms' after validation
When we create a Fernet token we get a token with an expiration
time which contains microseconds. When we validate a Fernet token,
the expiration time changes and comes back missing the microseconds.
We need to make the expiration time the same between creation and
validation time, having microseconds in both cases. This applies to
both v2 and v3 API.
Closes-Bug: #1459790 519a2c4ef66d558 bcff9022049
Change-Id: Ic6adbc2d69af03