restore default credential validity period to 28 days
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Jun 2014 07:46:45 +0000 (09:46 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Jun 2014 07:46:45 +0000 (09:46 +0200)
had been inadvertantly committed as 2 hours for a while when debugging the short-lived credential issue
used to be 31 days prior to that

sfa/trust/credential.py

index c9bc4e5..9d0fd28 100644 (file)
@@ -50,8 +50,7 @@ from sfa.trust.gid import GID
 from sfa.util.xrn import urn_to_hrn, hrn_authfor_hrn
 
 # 31 days, in seconds 
-DEFAULT_CREDENTIAL_LIFETIME = 2 * 3600
-#DEFAULT_CREDENTIAL_LIFETIME = 86400 * 31
+DEFAULT_CREDENTIAL_LIFETIME = 86400 * 28
 
 
 # TODO: