[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783823#comment-17783823
 ] 

Mike Jumper commented on GUACAMOLE-1878:
----------------------------------------

{quote}
... But this alone, depending on your timezone, might make the extension work 
unreliably. To make the codes work reliably the timezone must be set on the 
containers using the variable TZ as in TZ="Europe/Bucharest". 
{quote}

This is not correct - the time comparisons involved in TOTP do not involve your 
local timezone. All calculations are done with timestamps pulled from a system 
clock that is _always_ UTC.

> TOTP Authentication - Add documentation relating to usage with docker
> ---------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1878
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1878
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole-auth-totp, guacamole-docker, guacamole-manual
>            Reporter: Bogdan Tomasciuc
>            Priority: Trivial
>             Fix For: 1.5.4
>
>
> The documentation is missing the actual steps to enable and configure the 
> TOTP extension while using docker. Similarly to the passed environment 
> variables and the documentation about how the image works with other 
> extensions it should also contain a section about configuring and working 
> with the TOTP extension. Through my own trials I have found that enabling the 
> TOTP extension is accomplished by adding the environment variable 
> `TOTP_ENABLED="true"`. But this alone, depending on your timezone, might make 
> the extension work unreliably. To make the codes work reliably the timezone 
> must be set on the containers using the variable TZ as in 
> TZ="Europe/Bucharest". 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to