Details
-
Bug
-
Resolution: Fixed
-
Minor
-
fts-rest 3.8.1
-
Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
-
None
Description
The rest client interprets the UTC expiration time as local, meaning that e.g. in the CERN timezone you can't use a proxy with a lifetime of < 1hr.
The action is here
https://gitlab.cern.ch/fts/fts-rest/blob/develop/src/fts3/rest/client/context.py#L100
we should be using
not_after.get_datetime()
as it stands the "Ugly hack for Python 2.4" is invoked and gives the wrong answer.