summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-06-17 16:02:43 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-06-22 20:02:36 +0000
commitb812173dd65da46cc23ae9a93635cf11f83cd299 (patch)
treef4ae2b4581f2b0f5d4cc3b41a5888ef77a72fb0a
parentf8bca830bae543a7d1afec16d7069e5db699d9e0 (diff)
downloadansible-b812173dd65da46cc23ae9a93635cf11f83cd299.tar.gz
ansible-b812173dd65da46cc23ae9a93635cf11f83cd299.tar.xz
ansible-b812173dd65da46cc23ae9a93635cf11f83cd299.zip
Increase TOTP window size to 60 seconds at each end of the moment
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rw-r--r--roles/totpcgi/templates/provisioning.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/totpcgi/templates/provisioning.conf.j2 b/roles/totpcgi/templates/provisioning.conf.j2
index ae2f4e7dd..bc953a9dc 100644
--- a/roles/totpcgi/templates/provisioning.conf.j2
+++ b/roles/totpcgi/templates/provisioning.conf.j2
@@ -10,7 +10,7 @@ encrypt_secret = False
# You can allow for some clock drift between the client and server by setting
# the permitted window size. Window size is calculated in 10-second intervals,
# so a window size of 6 allows clock drift of 60 seconds in either direction.
-window_size = 3
+window_size = 6
# First value is the number of times. Second value is the number of seconds.
# So, "3, 30" means "3 falures within 30 seconds"