OC 10 breaks TOTP (sort of) when using PHP 7.1



After upgrading to OC 10, two factor authorization with the OC 10 app "Two Factor TOTP Provider 0.4.2" stopped working, saying that the app requires a PHP version <= 7.0 This came as a complete surprise to me, because the OC changelog for 10.0 very clearly says "Compatible with PHP 7.1".

The good news might be that, for me, the code itself seems to work with PHP 7.1. So, a simple temporary workaround is to modify the file owncloud/apps/twofactor_totp/appinfo/info.xml, replacing the line

<php min-version="5.4" max-version="7.0" />


<php min-version="5.4" max-version="7.1" />

Of course this results in code signing warning messages.

Kind regards,


You should probably report this on the Github page for the TwoFactor TOTP app: https://github.com/owncloud/twofactor_totp/issues


Yes, this definitely needs to be reported to the developers.

Yes, but this is an app from the marketplace and not ownCloud. :slight_smile:


Thank you for letting me know. I the meantime, I reported it at https://github.com/owncloud/twofactor_totp/issues, too.

The reason why I first thought that central.owncloud.org was the proper place to report is that on the OC site, it says that TOTP is an OC feature ("New in owncloud 9.1", https://owncloud.org/blog/new-in-owncloud-9-1/), and that in the marketplace it says "Two Factor TOTP Provider by ownCloud". That makes it hard to come up with the thought that TOTP might not be an OC feature, and/or that it might not be made by OC. :slight_smile:


From what i know this "TOTP" is indeed a oC feature but the app showing this issue is just an authenticator "on top" of this feature.

Concerning this forums here:

Central is mainly a user-based support forum where users are helping each other. If you're having any issues with specific apps or ownCloud itself and want to report a bug then the github bugtrackers are the way to go.

Ref to the issue itself:


I will asap release 0.4.3 https://github.com/owncloud/twofactor_totp/milestone/2


0.4.3 is available at https://marketplace.owncloud.com/apps/twofactor_totp