Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key validation #108

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions conf/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,19 @@
# Allow changing of sshPublicKey?
$change_sshkey = false;

# Minimum bit setting
# Set to 0 for no minimum
$sshkey_min_bits = 2048;
# Show SSH key policy constraints message:
# always
# never
# onerror
$sshkey_show_policy = "onerror";
# Position of SSH key policy constraints message:
# above - the form
# below - the form
$sshkey_show_policy_pos = "above";

# What attribute should be changed by the changesshkey action?
$change_sshkey_attribute = "sshPublicKey";

Expand Down
8 changes: 8 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@

if (!isset($pwd_show_policy_pos)) { $pwd_show_policy_pos = "above"; }

# SSH key policy array
$sshkey_policy_config = array(
"sshkey_show_policy" => $sshkey_show_policy,
"sshkey_min_bits" => $sshkey_min_bits,
);

if (!isset($sshkey_show_policy_pos)) { $sshkey_show_policy_pos = "above"; }

#==============================================================================
# Email Config
#==============================================================================
Expand Down
7 changes: 6 additions & 1 deletion lang/ca.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,10 @@
$messages['changehelpsshkey'] = "<a href=\"?action=changesshkey\">Canviar la clau d'SSH</a>";
$messages['changesshkeyhelp'] = "Introduïu la contrasenya i la clau SSH.";
$messages['changesshkeymessage'] = "Hola {login},\n\nLa claus SSH s'ha canviat.\n\nSi no va iniciar aquest canvi, poseu-vos en contacte amb l'administrador immediatament.";

$messages['keyinvalid'] = "clau SSH no és vàlid";
$messages['keytoosmall'] = "SSH mida de bits clau és massa petita";
$messages['sshkeypolicy'] = "La seva clau SSH s'ha d'ajustar a les següents limitacions:";
$messages['sshkeypolicyminbits'] = "mida de bits mínima de clau SSH:";
$messages['sshpubkey'] = "SSH de clau pública";
$messages['sshkeyexample'] = "Claus SSH (ha de començar amb: AAAA ssh-rsa ...)";
?>
7 changes: 6 additions & 1 deletion lang/cn.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['sshkeyrequired'] = "需要SSH密钥";
$messages['changesshkeymessage'] = "您好{login},\n\n您的SSH金钥已变更。\n\n如果您没有启动这项变更,请立即与您的管理员联络。";
$messages['changesshkeyhelp'] = "输入您的密码和新的SSH密钥。";

$messages['keyinvalid'] = "SSH密鑰無效";
$messages['keytoosmall'] = "SSH密鑰位的大小太小";
$messages['sshkeypolicy'] = "您的SSH密鑰必須符合以下約束:";
$messages['sshkeypolicyminbits'] = "SSH密鑰的最小位大小:";
$messages['sshpubkey'] = "SSH公鑰";
$messages['sshkeyexample'] = "SSH密鑰(必須以:ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/cs.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['sshkeyerror'] = "SSH klíč byl odmítnut v adresáři LDAP";
$messages['sshkey'] = "SSH klíč";
$messages['menusshkey'] = "SSH klíč";

$messages['keyinvalid'] = "Klíč SSH je neplatný";
$messages['keytoosmall'] = "Velikost bitů klíče SSH je příliš malá";
$messages['sshkeypolicy'] = "Váš klíč SSH musí splňovat následující omezení:";
$messages['sshkeypolicyminbits'] = "Minimální velikost bitového klíče SSH:";
$messages['sshpubkey'] = "SSH veřejný klíč";
$messages['sshkeyexample'] = "Klíč SSH (musí začínat s: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/de.inc.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,10 @@
$messages['changesshkeymessage'] = "Hallo {login}, \n\nDer SSH-Schlüssel wurde geändert.\n\nWenn Sie diese Änderung nicht eingeleitet haben, wenden Sie sich bitte umgehend an Ihren Administrator.";
$messages['menusshkey'] = "SSH Schlüssel";
$messages['changesshkeysubject'] = "Ihr SSH-Schlüssel wurde geändert";

$messages['keyinvalid'] = "SSH-Schlüssel ist ungültig";
$messages['keytoosmall'] = "SSH-Key-Bit-Größe ist zu klein";
$messages['sshkeypolicy'] = "Ihr SSH-Schlüssel muss den folgenden Einschränkungen entsprechen:";
$messages['sshkeypolicyminbits'] = "Minimale Bitgröße der SSH-Taste:";
$messages['sshpubkey'] = "SSH Öffentlicher Schlüssel";
$messages['sshkeyexample'] = "SSH Key (muss mit: ssh-rsa AAAA beginnen ...)";
?>
7 changes: 6 additions & 1 deletion lang/el.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['menusshkey'] = "SSH Key";
$messages['changehelpsshkey'] = "<a href=\"?action=changesshkey\">Αλλάξτε SSH Key σας</a>";
$messages['sshkey'] = "SSH Key";

$messages['keyinvalid'] = "Το κλειδί SSH δεν είναι έγκυρο";
$messages['keytoosmall'] = "Το μέγεθος του κομματιού του κλειδιού SSH είναι πολύ μικρό";
$messages['sshkeypolicy'] = "Το κλειδί SSH πρέπει να συμμορφώνεται με τους ακόλουθους περιορισμούς:";
$messages['sshkeypolicyminbits'] = "Ελάχιστο μέγεθος bit του κλειδιού SSH:";
$messages['sshpubkey'] = "SSH δημόσιο κλειδί";
$messages['sshkeyexample'] = "Κλειδί SSH (πρέπει να ξεκινήσετε με: ssh-rsa AAAA ...)";
?>
10 changes: 8 additions & 2 deletions lang/en.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@
$messages['mindigit'] = "Your password does not have enough digits";
$messages['minspecial'] = "Your password does not have enough special characters";
$messages['sameasold'] = "Your new password is identical to your old password";
$messages['keyinvalid'] = "SSH key is invalid";
$messages['keytoosmall'] = "SSH key bit size is too small";
$messages['policy'] = "Your password must conform to the following constraints:";
$messages['policyminlength'] = "Minimum length:";
$messages['policymaxlength'] = "Maximum length:";
$messages['policyminlower'] = "Minimum number of lowercase characters:";
$messages['policyminupper'] = "Minimum number of uppercase characters:";
$messages['policymindigit'] = "Minimum number of digits:";
$messages['policyminspecial'] = "Minimum number of special characters:";
$messages['sshkeypolicy'] = "Your SSH key must conform to the following constraints:";
$messages['sshkeypolicyminbits'] = "Minimum bit size of SSH key:";
$messages['forbiddenchars'] = "You password contains forbidden characters";
$messages['policyforbiddenchars'] = "Forbidden characters:";
$messages['policynoreuse'] = "Your new password may not be the same as your old password";
Expand All @@ -80,7 +84,7 @@
$messages['changehelptoken'] = "<a href=\"?action=sendtoken\">Email a password reset link</a>";
$messages['changehelpsms'] = "<a href=\"?action=sendsms\">Reset your password with a SMS</a>";
$messages['changehelpsshkey'] = "<a href=\"?action=changesshkey\">Change your SSH Key</a>";
$messages['changesshkeyhelp'] = "Enter your password and new SSH key.";
$messages['changesshkeyhelp'] = "Enter your password and new SSH <strong>public</strong> key.";
$messages['resetmessage'] = "Hello {login},\n\nClick here to reset your password:\n{url}\n\nIf you didn't request a password reset, please ignore this email.";
$messages['resetsubject'] = "Reset your password";
$messages['sendtokenhelp'] = "Enter your user name and your email address to reset your password. When you receive the email, click the link inside to complete the password reset.";
Expand Down Expand Up @@ -112,6 +116,8 @@
$messages['smsuserfound'] = "Check that user information are correct and press Send to get SMS token";
$messages['smstoken'] = "SMS token";
$messages['sshkey'] = "SSH Key";
$messages['sshpubkey'] = "SSH Public Key";
$messages['sshkeyexample'] = "SSH Key (must start with: ssh-rsa AAAA...)";
$messages['nophpmbstring'] = "You should install PHP mbstring";
$messages['menuquestions'] = "Question";
$messages['menutoken'] = "Email";
Expand All @@ -120,7 +126,7 @@
$messages['nophpxml'] = "You should install PHP XML to use this tool";
$messages['tokenattempts'] = "Invalid token, try again";
$messages['emptychangeform'] = "Change your password";
$messages['emptysshkeychangeform'] = "Change your SSH Key";
$messages['emptysshkeychangeform'] = "Change your SSH public key";
$messages['emptysendtokenform'] = "Email a password reset link";
$messages['emptyresetbyquestionsform'] = "Reset your password";
$messages['emptysetquestionsform'] = "Set your password reset questions";
Expand Down
7 changes: 6 additions & 1 deletion lang/es.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,10 @@
$messages['emptysshkeychangeform'] = "Cambiar su clave SSH";
$messages['changesshkeyhelp'] = "Introduzca su contraseña y la nueva clave SSH.";
$messages['sshkeyerror'] = "La clave SSH fue rechazada por el directorio LDAP";

$messages['keyinvalid'] = "La clave SSH no es válida";
$messages['keytoosmall'] = "Tamaño de bit de clave SSH es demasiado pequeño";
$messages['sshkeypolicy'] = "Su clave SSH debe cumplir con las siguientes restricciones:";
$messages['sshkeypolicyminbits'] = "Tamaño de bit mínimo de la clave SSH:";
$messages['sshpubkey'] = "Clave pública SSH";
$messages['sshkeyexample'] = "Clave SSH (debe comenzar con: ssh-rsa AAAA ...)";
?>
6 changes: 6 additions & 0 deletions lang/fr.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,10 @@
$messages['emptysshkeychangeform'] = "Changer votre clé SSH";
$messages['changesshkeyhelp'] = "Entrez votre mot de passe et la nouvelle clé SSH.";
$messages['sshkeyerror'] = "La clé SSH a été refusée par le répertoire LDAP";
$messages['keyinvalid'] = "La clé SSH est invalide";
$messages['keytoosmall'] = "La taille de bit de la clé SSH est trop petite";
$messages['sshkeypolicy'] = "Votre clé SSH doit être conforme aux contraintes suivantes:";
$messages['sshkeypolicyminbits'] = "Taille de bit minimum de la clé SSH:";
$messages['sshpubkey'] = "Clé publique SSH";
$messages['sshkeyexample'] = "Clé SSH (doit commencer par: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/hu.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Változás az SSH kulcs";
$messages['changesshkeyhelp'] = "Írja be a jelszót és az új SSH kulcs.";
$messages['sshkeyerror'] = "SSH kulcs elutasította az LDAP címtár";

$messages['keyinvalid'] = "Az SSH kulcs érvénytelen";
$messages['keytoosmall'] = "Az SSH kulcs bitmérete túl kicsi";
$messages['sshkeypolicy'] = "Az SSH kulcsnak meg kell felelnie az alábbi korlátozásoknak:";
$messages['sshkeypolicyminbits'] = "Az SSH kulcs legkisebb bites mérete:";
$messages['sshpubkey'] = "SSH nyilvános kulcs";
$messages['sshkeyexample'] = "SSH kulcs (meg kell kezdeni: ssh-rsa AAAA ...)";
?>
6 changes: 6 additions & 0 deletions lang/it.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,10 @@
$messages['emptysshkeychangeform'] = "Cambia la tua chiave SSH";
$messages['changesshkeyhelp'] = "Inserire la password e la nuova chiave SSH.";
$messages['sshkeyerror'] = "SSH Key è stata rifiutata dalla directory LDAP";
$messages['keyinvalid'] = "La chiave SSH non è valida";
$messages['keytoosmall'] = "La dimensione del bit di chiave SSH è troppo piccola";
$messages['sshkeypolicy'] = "La chiave SSH deve essere conforme ai seguenti vincoli:";
$messages['sshkeypolicyminbits'] = "Dimensione bit minima del tasto SSH:";
$messages['sshpubkey'] = "SSH chiave pubblica";
$messages['sshkeyexample'] = "SSH Key (deve iniziare con: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/ja.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "SSHキーを変更する";
$messages['changesshkeyhelp'] = "パスワードと新しいSSHキーを入力してください。";
$messages['sshkeyerror'] = "SSHキーがLDAPディレクトリによって拒否されました";

$messages['keyinvalid'] = "SSHキーが無効です";
$messages['keytoosmall'] = "SSHキーのビットサイズが小さすぎます";
$messages['sshkeypolicy'] = "あなたのSSH鍵は以下の制約に従わなければなりません:";
$messages['sshkeypolicyminbits'] = "SSHキーの最小ビットサイズ:";
$messages['sshpubkey'] = "SSH公開鍵";
$messages['sshkeyexample'] = "SSHキー(:ssh-rsa AAAA ...で始まる必要があります)";
?>
7 changes: 6 additions & 1 deletion lang/nl.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,10 @@
$messages['emptysshkeychangeform'] = "Verander je SSH Key";
$messages['changesshkeyhelp'] = "Voer uw wachtwoord in en nieuwe SSH sleutel.";
$messages['sshkeyerror'] = "SSH Key werd geweigerd door de LDAP-directory";

$messages['keyinvalid'] = "SSH-sleutel is ongeldig";
$messages['keytoosmall'] = "SSH-sleutelbitsgrootte is te klein";
$messages['sshkeypolicy'] = "Uw SSH-sleutel moet voldoen aan de volgende beperkingen:";
$messages['sshkeypolicyminbits'] = "Minimum bitmaat van SSH-sleutel:";
$messages['sshpubkey'] = "SSH Public Key";
$messages['sshkeyexample'] = "SSH Key (moet beginnen met: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/pl.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,10 @@
$messages['emptysshkeychangeform'] = "Zmień swój klucz SSH";
$messages['changesshkeyhelp'] = "Wprowadź swoje hasło i nowy klucz SSH.";
$messages['sshkeyerror'] = "SSH Key został odrzucony przez katalogu LDAP";

$messages['keyinvalid'] = "Klucz SSH jest nieprawidłowy";
$messages['keytoosmall'] = "Rozmiar bitów klucza SSH jest za mały";
$messages['sshkeypolicy'] = "Klucz SSH musi odpowiadać następującym ograniczeniom:";
$messages['sshkeypolicyminbits'] = "Minimalna wielkość bitowa klucza SSH:";
$messages['sshpubkey'] = "Klucz publiczny SSH";
$messages['sshkeyexample'] = "Klucz SSH (musi zaczynać się od: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/pt-BR.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Alterar a chave SSH";
$messages['changesshkeyhelp'] = "Digite sua senha e a nova chave SSH.";
$messages['sshkeyerror'] = "A chave SSH foi recusada pelo diretório LDAP";

$messages['keyinvalid'] = "A chave SSH é inválida";
$messages['keytoosmall'] = "O tamanho da chave SSH é muito pequeno";
$messages['sshkeypolicy'] = "Sua chave SSH deve estar em conformidade com as seguintes restrições:";
$messages['sshkeypolicyminbits'] = "Tamanho mínimo de bits da chave SSH:";
$messages['sshpubkey'] = "Chave pública SSH";
$messages['sshkeyexample'] = "Chave SSH (deve começar com: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/pt-PT.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Alterar a chave SSH";
$messages['changesshkeyhelp'] = "Digite sua senha e a nova chave SSH.";
$messages['sshkeyerror'] = "A chave SSH foi recusada pelo diretório LDAP";

$messages['keyinvalid'] = "A chave SSH é inválida";
$messages['keytoosmall'] = "O tamanho da chave SSH é muito pequeno";
$messages['sshkeypolicy'] = "Sua chave SSH deve estar em conformidade com as seguintes restrições:";
$messages['sshkeypolicyminbits'] = "Tamanho mínimo de bits da chave SSH:";
$messages['sshpubkey'] = "Chave pública SSH";
$messages['sshkeyexample'] = "Chave SSH (deve começar com: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/ru.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Изменение ключа SSH";
$messages['changesshkeyhelp'] = "Введите свой пароль и новый ключ SSH.";
$messages['sshkeyerror'] = "Ключ SSH был отклонен каталогом LDAP";

$messages['keyinvalid'] = "Ключ SSH недействителен.";
$messages['keytoosmall'] = "Размер ключа SSH слишком мал";
$messages['sshkeypolicy'] = "Ключ SSH должен соответствовать следующим ограничениям:";
$messages['sshkeypolicyminbits'] = "Минимальный размер ключа SSH:";
$messages['sshpubkey'] = "Открытый ключ SSH";
$messages['sshkeyexample'] = "Ключ SSH (должен начинаться с: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/sk.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Zmeňte svoj SSH kľúč";
$messages['changesshkeyhelp'] = "Zadajte heslo a nové SSH kľúč.";
$messages['sshkeyerror'] = "SSH kľúč bol odmietnutý v adresári LDAP";

$messages['keyinvalid'] = "Kľúč SSH je neplatný";
$messages['keytoosmall'] = "Veľkosť bitového kľúča SSH je príliš malá";
$messages['sshkeypolicy'] = "Váš kľúč SSH musí spĺňať nasledujúce obmedzenia:";
$messages['sshkeypolicyminbits'] = "Minimálna veľkosť bitov SSH kľúča:";
$messages['sshpubkey'] = "SSH verejný kľúč";
$messages['sshkeyexample'] = "SSH kľúč (musí začínať s: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/sl.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Spreminjanje SSH ključ";
$messages['changesshkeyhelp'] = "Vnesite geslo in nov ključ SSH.";
$messages['sshkeyerror'] = "SSH Ključna je bila zavrnjena z imeniku LDAP";

$messages['keyinvalid'] = "ključ SSH je neveljaven";
$messages['keytoosmall'] = "SSH ključ bit velikost je premajhna";
$messages['sshkeypolicy'] = "Vaš SSH ključ mora biti v skladu z naslednjimi omejitvami:";
$messages['sshkeypolicyminbits'] = "Minimalna velikost malo ključa SSH:";
$messages['sshpubkey'] = "SSH javnih ključev";
$messages['sshkeyexample'] = "SSH Key (mora začeti z: ssh-RSA AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/sv.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "Ändra din SSH Key";
$messages['changesshkeyhelp'] = "Ange ditt lösenord och ny SSH-nyckel.";
$messages['sshkeyerror'] = "SSH Key avslogs av LDAP-katalogen";

$messages['keyinvalid'] = "SSH-tangenten är ogiltig";
$messages['keytoosmall'] = "SSH-nyckelbitstorleken är för liten";
$messages['sshkeypolicy'] = "Din SSH-nyckel måste överensstämma med följande begränsningar:";
$messages['sshkeypolicyminbits'] = "Minsta bitstorlek för SSH-nyckel:";
$messages['sshpubkey'] = "SSH Public Key";
$messages['sshkeyexample'] = "SSH-nyckel (måste börja med: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/tr.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysshkeychangeform'] = "SSH Anahtarınızı Değiştirin";
$messages['changesshkeyhelp'] = "Parolanızı ve yeni SSH anahtarınızı girin.";
$messages['sshkeyerror'] = "SSH Anahtarı LDAP dizini tarafından reddedildi";

$messages['keyinvalid'] = "SSH anahtarı geçersiz";
$messages['keytoosmall'] = "SSH anahtar biti boyutu çok küçük";
$messages['sshkeypolicy'] = "SSH anahtarınızın aşağıdaki sınırlamalara uyması gerekir:";
$messages['sshkeypolicyminbits'] = "SSH anahtarının minimum bit boyutu:";
$messages['sshpubkey'] = "SSH Genel Anahtarı";
$messages['sshkeyexample'] = "SSH Anahtarı (başlama: ssh-rsa AAAA ...)";
?>
7 changes: 6 additions & 1 deletion lang/uk.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,10 @@
$messages['emptysshkeychangeform'] = "Змінити ключ SSH";
$messages['changesshkeyhelp'] = "Введіть свій пароль і новий ключ SSH.";
$messages['sshkeyerror'] = "SSH Key була відхилена каталогом LDAP";

$messages['keyinvalid'] = "ключ SSH є недійсним";
$messages['keytoosmall'] = "SSH біт ключа розмір занадто малий";
$messages['sshkeypolicy'] = "Ваш ключ SSH повинен відповідати наступним обмеженням:";
$messages['sshkeypolicyminbits'] = "Мінімальний розмір біт ключа SSH:";
$messages['sshpubkey'] = "SSH Public Key";
$messages['sshkeyexample'] = "SSH ключ (повинен починатися з: SSH-АААА ... RSA)";
?>
7 changes: 6 additions & 1 deletion lang/zh-CN.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
$messages['emptysendsmsform'] = "Get a reset code";
$messages['sameaslogin'] = "您的新密码与您的用户名相同";
$messages['policydifflogin'] = "您的新密码不能与您的用户名相同";

$messages['keyinvalid'] = "SSH密钥无效";
$messages['keytoosmall'] = "SSH密钥位的大小太小";
$messages['sshkeypolicy'] = "您的SSH密钥必须符合以下约束:";
$messages['sshkeypolicyminbits'] = "SSH密钥的最小位大小:";
$messages['sshpubkey'] = "SSH公钥";
$messages['sshkeyexample'] = "SSH密钥(必须以:ssh-rsa AAAA ...)";
?>
Loading