[X2Go-Commits] [x2goclient] 02/02: src/sshmasterconnection.cpp: add support for Mobile OTP tokens and references for the other token types. Fixes: #1036.

git-admin at x2go.org git-admin at x2go.org
Mon Jun 20 01:50:40 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 044f22fd5f7f1c544ffe7906c18a0cf017e31d11
Author: Tor Perkins <x2go34 at noid.net>
Date:   Sun Jun 19 04:28:39 2016 +0200

    src/sshmasterconnection.cpp: add support for Mobile OTP tokens and references for the other token types. Fixes: #1036.
---
 debian/changelog            |    2 ++
 src/sshmasterconnection.cpp |    5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f074d93..a6807b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,8 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
     - src/{onmainwindow,sshmasterconnection}.{cpp,h}: add support for ANSI
       X9.9 OTP tokens. Fixes: #1027. For this to work correctly, the challenge
       string needs to be displayed to the user.
+    - src/sshmasterconnection.cpp: add support for Mobile OTP tokens and
+      references for the other token types. Fixes: #1036.
 
   [ Oleksandr Shneyder ]
   * New upstream release (4.0.5.2):
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index d85c730..c590cd2 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -56,8 +56,9 @@
 static bool isLibSshInited=false;
 
 const QString SshMasterConnection::challenge_auth_code_prompts_[] = {
-  "Verification code:",
-  "One-time password (OATH) for"
+  "Verification code:",            // GA   (http://github.com/google/google-authenticator)
+  "One-time password (OATH) for",  // OATH (http://www.nongnu.org/oath-toolkit/pam_oath.html)
+  "passcode:"                      // MOTP (http://motp.sourceforge.net)
 };
 
 

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list