583f813092
Fixes INTEROP-7269
flag=none
The problem was introduced in
https://gerrit.instructure.com/c/canvas-lms/+/275160 which added a UUID,
to the KID. If the UUID happens to have something that looks like a
date, Time.zone.parse picks that up and doesn't return the date in the
first part of the kid. For example:
> Time.parse "2022-01-25T17:46:59Z_d2fe13a4-b3f7-4feb-9"
=> -0009-02-04 17:46:59 UTC
This resulted in a flaky spec. It could also cause rotate_keys to rotate
keys multiple times on the first of the month (which can happen but
we're not sure why, see
|
||
---|---|---|
.. | ||
canvas_security | ||
fixtures/config | ||
canvas_security_spec.rb | ||
spec_helper.rb |