diff --git a/control/webapp/utils.py b/control/webapp/utils.py index 1794212..44bf8bb 100644 --- a/control/webapp/utils.py +++ b/control/webapp/utils.py @@ -38,7 +38,7 @@ def __str__(self): class WLSResponse(ucam_webauth.Response): keys = dict() - for kid in (2, 500): + for kid in (2, 500, 501): with open('/etc/apache2/ucam_webauth_keys/pubkey{}'.format(kid), 'rb') as f: keys[str(kid)] = ucam_webauth.rsa.load_key(f.read())