-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Fabian, Thanks for this contribution The most urgent thing you need to do now is to propose a complete project and describe it on the Debian GSoC wiki - before 19:00 UTC on Friday - please see my previous emails about this and the examples from 2012 students I've merged the pull request and added your name to the list of contributors Regards, Daniel On 29/04/13 15:19, Fabian Grünbichler wrote: > See https://github.com/dynalogin/dynalogin/pull/1 > > diff --git a/libdynalogin/dynalogin.c b/libdynalogin/dynalogin.c > index d6b606b..f57039e 100644 --- a/libdynalogin/dynalogin.c +++ > b/libdynalogin/dynalogin.c @@ -267,8 +267,20 @@ dynalogin_result_t > dynalogin_authenticate_internal else { fail_inc = 0; + > syslog(LOG_WARNING, "Token replay detected, denying > authentication"); rc = OATH_REPLAYED_OTP; } + /* > totp_offset only contains a valid value if the OTP was + > inside the specified window - in that case the rc is the + > absolute offset */ + if(rc>=0 && totp_offset < 0) + > { + syslog(LOG_WARNING, "TOTP validation > returned offset %d (~%d seconds behind)",totp_ + } + > else if(rc > 0) + { + > syslog(LOG_WARNING, "TOTP validation returned offset %d (~%d > seconds ahead)",totp_o + } break; default: > syslog(LOG_ERR, "unsupported scheme"); > > > _______________________________________________ > Pkg-auth-maintainers mailing list > pkg-auth-maintain...@lists.alioth.debian.org > https://lists.alioth.debian.org/mailman/listinfo/pkg-auth-maintainers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJRfrysAAoJEOm1uwJp1aqDANIP/RWiNrnSLWlnvRDh1UPEJqee vd7fqOCKlECZYN6230ps/8T4mIQdzvWvM7thbAFD3s3azqN0X63igfYHS6jZvnd0 ni1PTpKtssuoPHAC4zQjTMwY9oaupsW/6VMgYoYctELqjp7GDSXkZgzAQrFFRADQ clwJaYQaW5XfhiIQk6NFNH91yHpANVPZ9S86dtitLhTgr0QAhGZ0hNb8+EHGfO9s ovkpQxQYrWy+0Pr81Rjgx866edGGTpy7NZcfkkZUMOtTnK89iof4UJvY+6XHcMWt j/eJ62oexurMuQH9iMqOINL9K8fmcU8L/crv7CvUhWYbmKJOhMtbh7Jso+VTtfa5 1bIm94C3dWaD0+meDEUDg5zngWkOV3kKxk1NyHgmrQF/dSnrOo4K/WTtHfHYJm8E pGthP6mC92iurCte8xTRo1J0qKTco+Qkv1lB90ZGBWbqUPOdAUyKMbGKeUOhf1hh KK49B09Dbn+NyPzpuY27O/Oxgd/t2ZRPNxUe899Ma8PfS4DXEeNHoEH4R2xgWznc kPNkvmmuQqdmB1iS1LfM5sWPR+dNDPbIpr1rsftxE+EcneZYZ7sKMQawH18nisJW B9mCyCZ7xoEPVDzixJbe29ywEb9PcK6gzI4CCLzSAYNUPVWDHfYys4WZrtScOSn1 40K3MPkWFcXnfphr9Np+ =JPW1 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org