Skip to content

Commit bce49b4

Browse files
author
Tobias Knöppler
committed
multi-factor-authentication.sh: Remove mention of qr code since it is not working
multi-factor-authentication.cfg: Add Keepass2Android as compatible OTP app
1 parent 237069b commit bce49b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bin/ncp/SECURITY/multi-factor-authentication.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ setup_totp_secret() {
146146
if [[ "$enable_totp_and_pw" == "yes" ]] && [[ ! -f "${ssh_user_home}/.google_authenticator" ]]
147147
then
148148
echo "We will now generate TOTP a client secret for your ssh user ('$ssh_user')."
149-
echo "Please store the following information in a safe place. Use your secret key or scan the QR code (terminal only) to setup your authenticator app."
149+
echo "Please store the following information in a safe place. Use your secret key to setup your authenticator app."
150150
echo ""
151151
su "$ssh_user" -c "google-authenticator -tdf -w 1 --no-rate-limit"
152152
fi
@@ -281,4 +281,4 @@ configure() {
281281

282282
echo "Done."
283283

284-
}
284+
}

etc/ncp-config.d/multi-factor-authentication.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Activate multi factory authentication for SSH login",
44
"title": "Multi-Factor-Authentication",
55
"description": "Choose among different (single and multi factor) authentication methods for SSH login.",
6-
"info": "The default method (i.e. this app being disabled) is 'password only'.\nPlease not that single factor authentication methods can not be enabled at the same time as multi factor authentication methods.\nThe TOTP authentication requires a compatible app to be used, e.g. FreeOTP, Google Authenticator or Authy.\nIf you enable multiple options, they will act as alternatives.",
6+
"info": "The default method (i.e. this app being disabled) is 'password only'.\nPlease not that single factor authentication methods can not be enabled at the same time as multi factor authentication methods.\nThe TOTP authentication requires a compatible app to be used, e.g. FreeOTP, Keepass2Android, Google Authenticator or Authy.\nIf you enable multiple options, they will act as alternatives.",
77
"infotitle": "MFA notes",
88
"params": [
99
{
@@ -44,4 +44,4 @@
4444
"allow_unsafe": "true"
4545
}
4646
]
47-
}
47+
}

0 commit comments

Comments
 (0)