Apps
Knowledge
People
Register
Login


-
- Content .- Fans (24) .- Knowledge Base (3) . 

One Time Password Backend

   2.5.1  

ownCloud Tool

Score 67%
One Time Password Backend
zoom


One Time Password Backend
zoom


One Time Password Backend
zoom


Version Control:  Link
Minimum required   ownCloud 7
Maximum required   ownCloud 7
Downloads:  6558
Submitted:  Jun 17 2013
Updated:  Nov 4 2014

Description:

This application is distributed WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.

One Time Password Backend can create TOTP and HOTP and generate QrCode
Based on library multiOTP http://www.multiotp.net/ develop by "SysCo systèmes de communication" (thanks)
test with "Google Authenticator" and "android Token"
Can works with Yubikey see doc here : http://www.sj-vs.net/two-factor-authentication-for-owncloud-using-one-time-passwords-otp-from-yubikey/
Administrator interface to manage users OTP
require Owncloud >= 7

if you want help to make bug fix, enhancement or translation your welcome.
Just fork the github project and submit your pull request
GIT : https://github.com/loki36/user-otp

Version 2.5

Installation:
Upload user_otp directory under the 'apps' directory of your ownCloud.
user_otp folder should have read write permission for the web server user (under debian/ubutnu : chown -R www-data:www-data user_otp)
Navigate to the 'Apps' page in Admin.
Click on 'user_otp' in the application list. Then click the 'Enable' button.

Usage:
- Navigate to the 'Admin' page to set the server encryption key;
- Click 'Save';
- Navigate to 'Personal' page to create Your OTP

- keep an admin user working without otp in case of a lost of otp seed
if not you can delete otp user config in the db with the query
"delete from *PREFIX*user_otp where `user` = 'YOURUSERLOGIN'
replace *PREFIX* by owncloud table prefix 'oc_' by default

- Use the navigation entry "OTP users" (on left bar, with admin account)
to manage user's OTP
- if you want to be able to send email to users with OTP config
your server must be correctly configure :
http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_mail.html


Todo:
- improve Admin interface to manage otp user information (mass provisionning / ...)
- add user rescue otp code as lost password process




Changelog:

Changelog:
V2.5.1 2014-11-04
bug fix Can login without the otp even with passwor + OTP option #80
V2.5 2014-11-01:
bug fix ownCloud 7 compatible? #70
bug fix / enhancement Not working properly with encryption enabled #66
bug fix Timezone errors #64
bug fix Cannot login with two-factor authentication #69
bug fix / enhancement Add support for News API #74

V2.4 2014-04-29: (2.4.1)
bug fix DB:MySQL ERROR: Unable to write the changes in the file #61

V2.4 2014-04-27:
enhancement stop browsers trying to "remember the OTP but only the "real" password #56
enhancement change on admin page HOTP params #41
enhancement it would be nice to be able to set an own "accuracy" #57
update multiOTP class from 4.0.6 to 4.2.4.2 #58
bug fix no OTP field #53
bug fix css #55
bug fix text error "passorwd" #54

V2.3 2014-04-14:
enhancement enter regular password and OTP within same field #44
enhancement admin option for user can't disable otp option (only changed it) #48
bug fix lost password link not working when otp is enable #47
bug fix user (including admin) can't change password with OTP+password required option # 50

V2.2 2014-02-28:
enhancement page liste users with otp for admin #40
enhancement Small changes to make this compatible with Yubikey (HOTP) #33 (thanks to Bas)
bug fix user-otp prevents creation of new ownCloud users #36
bug fix setting up user token seed fails on OC6 with PostgreSQL 9.1 #38 (thanks to rainforest1155)
bug fix two factor auth for user not have a two factor auth #39
bug fix Password-field behaviour for "Two Factor Authendication"is different #6
bug fix Broken path to password.svg - variable owncloud root path #32

V2.1 2014-02-02:
bug fix SQL Error using Postgresql as DB #25
bug fix Password not change! #27
owncloud 6 bug fix #28
remove windows binary from the 3rd party
bug fix personal setting error #29

V2 :
lot of bug fix
update multiOTP lib (4.0.4)
store otp user information in owncloud DB
should work with all user backend!
add two factor authenticator options




LicenseAGPL
All Versions
Send to a friend
Subscribe
Other  Apps  from loki9236
Report inappropriate content



goto page: prev  ... 2  3  4  5  6  7  8  9  10 

-
.

 Doesn't work with 8.1

 
 by RiOC on: Sep 9 2015
 
Score 70%

Tried to install it several times but in the moment I upload the files into the apps folder the OC server want to start an update and stops working immediately - before activating it! After deleting the files, the server runs after a few seconds again. Not so with other apps.

Nevertheless, a two-factor app should be a core app of oc.


Reply to this

-

 Re: Doesn't work with 8.1

 
 by clark84 on: Sep 17 2015
 
Score 63%

I have v 8.1.1 but "One Time Password" not work :
Error PHP date_default_timezone_set(): Timezone ID '' is invalid at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3759 2015-09-17T06:27:49+00:00
Error PHP Undefined index: timezone at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3756 2015-09-17T06:27:49+00:00
Error PHP Undefined index: display_log at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2504 2015-09-17T06:27:49+00:00
....

developers are still active?


+1 Nevertheless, a two-factor app should be a core app of oc.


Reply to this

-

 Re: Re: Doesn't work with 8.1

 
 by germanszwaicer on: Sep 18 2015
 
Score 50%

+1 Nevertheless, a two-factor app should be a core app of oc.


Reply to this

-

 Re: Re: Re: Doesn't work with 8.1

 
 by koemi on: Dec 8 2015
 
Score 50%

It doesn't work with 8.2.

Or how have i to do this?
i have copied the file into the directory. After activating the app i have a error page 500


Reply to this

-
.

 Re: Doesn't work with 8.1

 
 by lolli78 on: Dec 6 2015
 
Score 50%

There is a patch available on github: https://github.com/loki36/user-otp/files/39153/user_otp.txt

cd to oc-root/apps/user_otp/lib
patch < user_otp.txt

This shouldn't be an app at all. Two-factor auth should be a core functionality of every good web site.


Reply to this

-

 Re: Re: Doesn't work with 8.1

 
 by koemi on: Dec 8 2015
 
Score 50%

It doesn't work with 8.2.

Or how have i to do this?
i have copied the file into the directory. After activating the app i have a error page 500


Reply to this

-

 OTC app for ownCloud 8.x

 
 by nitroxaddict on: Sep 19 2015
 
Score 50%

@loki9236

are you planning on adapting the app to version 8.x?

This would be great.

I also agree that this should be a core feature of ownCloud.


Reply to this

-

 Re: OTC app for ownCloud 8.x

 
 by smccloud on: Oct 8 2015
 
Score 50%

I would like the same thing.


Reply to this

-
.

 Works with 8.2.2

 
 by mzoc15 on: Dec 26 2015
 
Score 50%

During my last upgrade from 8.1.x to 8.2.2 I had to remove that package. I tried to reinstall it afterwards. Without success.

I figured out that the logging changed in OwnCloud. Unzip the package in apps directory. Find the file "lib/otp.php". Two replacements have to be done like they did in this commit https://github.com/henryk/owncloud-contacts/commit/78cc4afde89084779620d850ded9e93cc0d13eed


Reply to this

-
.

 Re: Works with 8.2.2

 
 by moeilijk on: Feb 1 2016
 
Score 50%

Oddly enough the patch is already there in https://github.com/loki36/user-otp/files/39153/user_otp.txt

Can someone nudge the owner to apply the patch and update the version here?


Reply to this

-
.

 Re: Works with 8.2.2

 
 by FredDresken on: Feb 6 2016
 
Score 50%
FredDreskenFredDresken
Fred-Dresken .nl
Home

How did you resolve the errors in OC other than provided in the patch?
Error PHP date_default_timezone_set(): Timezone ID '' is invalid at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3759 2016-02-06T04:31:36+00:00
Error PHP Undefined index: timezone at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3756 2016-02-06T04:31:36+00:00
Error PHP Undefined index: display_log at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2504 2016-02-06T04:31:36+00:00
Error PHP Undefined index: debug at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2499 2016-02-06T04:31:36+00:00
Error PHP Undefined index: log at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2494 2016-02-06T04:31:36+00:00
Error PHP Undefined index: backend_type_validated at /srv/www/htdocs/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#1996 2016-02-06T04:31:36+00:00


Reply to this

-

 Re: Re: Works with 8.2.2

 
 by ahuguenin on: Mar 3 2016
 
Score 50%

The app is uncompatible with LDAP authentication (PHP Fatal error and white screen).

To make it work you have to edit the /lib/otp.php file and replace

\OC_Log by \OCP\Util

write by writeLog


Reply to this

-

 Broken again in 9.0

 
 by moeilijk on: Apr 18 2016
 
Score 50%

Too bad it breaks again in 9.0.1. Needs to be removed when using occ and blank screen if active.
Has anyone figured out what changed this time?


Reply to this

-

 Re: Broken again in 9.0

 
 by RedFive on: Apr 22 2016
 
Score 50%

I noticed that the plugin version indicated on this page is 2.5.1, but when I download and install it, my ownCloud instance shows it as version 2.4.


Reply to this

-

 Re: Re: Broken again in 9.0

 
 by RedFive on: Apr 22 2016
 
Score 50%

I had also noticed that in OC8.x, before it moved me to 9.0, the OTP login behavior was odd. I was presented with the normal 3-box login entry (username, pass, OTP), but the submit button and action were disabled via HTML tag attribute. I could edit the page source via my choice of web consoles and remove the disabled attribute, which would allow me to log in.


Reply to this

goto page: prev  ... 2  3  4  5  6  7  8  9  10 

Add commentBack




-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2016 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.