zuul/tests/unit
Matthieu Huin b599c7249d authentication config: add optional max_validity_time, skew
The Zuul admin can configure authenticators with an optional
"max_validity_time" field, which is the maximum age in seconds
for a valid authentication token. By default there is no
maximum age set for tokens, except the one deduced from
the token's "exp" claim.
If "max_validity" is set, tokens without an "iat" claim will
be rejected.

This is meant as an extra security to avoid accidentally issueing
very long lived tokens through the CLI.

The "skew" field can be used to mitigate clocks discrepancies
between Zuul and a JWT emitter.

Change-Id: I9351ca016b60050b5f3b3950b840d5f719e919ce
2019-12-10 16:39:29 +01:00
..
__init__.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_bubblewrap.py Fix bwrap leak test 2018-06-05 11:23:37 -07:00
test_change_matcher.py Fix branch matching logic 2017-10-02 17:30:51 -04:00
test_client.py Fix timestamp race occurring on fast systems 2019-09-09 10:58:48 +02:00
test_cmd.py Revert "Revert "Add the process environment to zuul.conf parser"" 2019-11-02 09:10:18 +09:00
test_configloader.py Web: plug the authorization engine 2019-07-30 15:32:31 +00:00
test_connection.py Store event id for buildsets in database 2019-12-05 15:55:43 +01:00
test_cross_crd.py Return dependency cycle failure to user 2019-07-25 11:11:53 +02:00
test_daemon.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_default_config.py Add type check for zuul conf 2018-12-10 19:24:50 +08:00
test_disk_accountant.py Optionally disable disk_limit_per_job 2019-02-22 08:10:59 +01:00
test_encryption.py Use nested tempfile fixture for cleanups 2018-02-06 15:18:45 -08:00
test_executor.py Fix deletion of stale build dirs on startup 2019-11-22 17:06:18 +01:00
test_gerrit.py Add 'comment' option to Gerrit reporter 2019-10-23 14:02:58 -07:00
test_gerrit_crd.py Fix gerrit errors from production 2019-09-20 07:26:04 -07:00
test_gerrit_legacy_crd.py Fix gerrit errors from production 2019-09-20 07:26:04 -07:00
test_git_driver.py Merge "Increase event timeouts in git tests" 2019-03-25 20:32:19 +00:00
test_github_crd.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_github_driver.py Keep tenant_last_reconfigured float precision (time.sleep removal) 2019-10-25 07:51:16 +00:00
test_github_requirements.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_inventory.py Record job build attempts in inventory 2019-12-06 09:26:00 -08:00
test_keystorage.py Add private key storage migration 2018-09-04 15:42:38 -07:00
test_merger_repo.py Check refs and revs for repo needing updates 2019-08-27 09:56:48 -07:00
test_model.py Revert "Revert "Add the process environment to zuul.conf parser"" 2019-11-02 09:10:18 +09:00
test_multi_driver.py Remove status handling from FakeGithubConnection 2017-08-03 19:22:54 +00:00
test_nodepool.py Add caching of autohold requests 2019-09-16 10:46:36 -04:00
test_openstack.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_pagure_driver.py Merge "Pagure: Fix handling of threshold_reached: None" 2019-12-06 22:00:44 +00:00
test_push_reqs.py Ensure ref-updated jobs run with their ref 2017-08-02 16:56:18 -07:00
test_requirements.py Fix reject clauses in the absence of approvals 2018-08-13 12:37:32 +02:00
test_scheduler.py enqueue: make trigger deprecated 2019-12-10 07:33:30 +01:00
test_ssh_agent.py Add SSH Agent Primitives and usage 2017-05-26 09:52:22 -07:00
test_stack_dump.py Several executor threading fixes 2017-10-17 09:49:29 -07:00
test_streaming.py Add command processor to zuul-web 2019-06-21 18:11:40 +02:00
test_supercedent.py Check branches in supercedent pipelines 2019-04-05 13:59:05 -07:00
test_v3.py Fix potential wedge with provides/requires/dependencies 2019-12-05 14:12:31 -08:00
test_web.py authentication config: add optional max_validity_time, skew 2019-12-10 16:39:29 +01:00
test_web_urls.py Add command processor to zuul-web 2019-06-21 18:11:40 +02:00
test_zk.py Add caching of autohold requests 2019-09-16 10:46:36 -04:00
test_zuultrigger.py Fix issue search in FakeGithubClient 2019-11-15 15:15:45 +01:00