User Tools

Site Tools


docs:tips_n_tricks:dynalogin.html

dynalogin

dynalogin can be found on www.dynalogin.org, the Android App is on Google Play and on F-Droid. However the documentation is little bit sparse.

Data Source

The location of the filesystem datasource as packaged with debian is /var/dynalogin-passwd

The format of the filesystem datasource for initialiation is

testuser:HOTP:12345678901234567890:0:0:0:0:0:0

where 12345678901234567890 is the secret.

Android App

The Android App seems to provides HOTP passwords, not TOTP.

Patch

It seems to me, for the filesystem data source, there is a bug in the code:

--- libdynalogin/datasources/fs/fs_ds.c 2013/02/19 22:08:59     1.1
+++ libdynalogin/datasources/fs/fs_ds.c 2014/03/14 13:45:45
@@ -115,6 +126,7 @@
        user_data->last_success=atol(_substrings[field++]);
        user_data->last_attempt=atol(_substrings[field++]);
        user_data->last_code=_substrings[field++];
+       return APR_SUCCESS;
 }
docs/tips_n_tricks/dynalogin.html.txt · Last modified: 14.03.2014 16:42 by peter