From 2428d4c0deb5d088112ed10391932acf325e84d5 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Sat, 30 May 2020 19:39:17 +0200 Subject: Switch password authentication over to SSHJ (#811) * Switch password authentication over to SSHJ * Address review comments and refactor further --- app/src/main/res/layout/git_credential_layout.xml | 37 +++++++++++++++++++++++ app/src/main/res/layout/git_passphrase_layout.xml | 37 ----------------------- app/src/main/res/values-es/strings.xml | 3 +- app/src/main/res/values-fr/strings.xml | 3 +- app/src/main/res/values-ru/strings.xml | 3 +- app/src/main/res/values/strings.xml | 6 +++- 6 files changed, 48 insertions(+), 41 deletions(-) create mode 100644 app/src/main/res/layout/git_credential_layout.xml delete mode 100644 app/src/main/res/layout/git_passphrase_layout.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml new file mode 100644 index 00000000..511a9f8f --- /dev/null +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + diff --git a/app/src/main/res/layout/git_passphrase_layout.xml b/app/src/main/res/layout/git_passphrase_layout.xml deleted file mode 100644 index 83eeddd0..00000000 --- a/app/src/main/res/layout/git_passphrase_layout.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 975f088f..5d74c581 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -208,7 +208,8 @@ La subida fue rechazada por el servidor, Ejecuta \'Descargar desde servidor\' antes de subir o pulsa \'Sincronizar con servidor\' para realizar ambas acciones. El envío fue rechazado por el servidor, la razón: Ocurrió un error durante el envío: - Recordar contraseñagit (inseguro) + Limpiar preferencia para incremento HOTP + Recordar contraseñagit (inseguro) Hackish tools Abortar rebase Hash del commit diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 5a295a92..eb234323 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -209,7 +209,8 @@ Poussée rejetée par le dépôt distant, raison: Pousser au dépôt distant sans avance rapide rejetée. Vérifiez la variable receive.denyNonFastForwards dans le fichier de configuration du répertoire de destination. Une erreur s\'est produite lors de l\'opération de poussée: - Se rappeler de la phrase secrète dans la configuration de l\'application (peu sûr) + Effacer les préférences enregistrées pour l’incrémentation HOTP + Se rappeler de la phrase secrète dans la configuration de l\'application (peu sûr) Outils de hack Commettre la clé nom d\'utilisateur: quelque chose d\'autre contenu supplémentaire diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index d286bbb4..a4999f9b 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -270,7 +270,8 @@ Запись изменений была отклонена удаленным репозиторием, причина: Удаленный репозиторий отклонил запись изменений без быстрой перемотки вперед. Проверьте переменную receive.denyNonFastForwards в файле конфигурации репозитория назначения. В хоте операции записи изменений возникла ошибка: - Заполнить парольную фразу в конфигурации приложнеия (небезопасно) + Очистить сохраненные настройки для увеличения HOTP + Заполнить парольную фразу в конфигурации приложнеия (небезопасно) Костыльные инструменты Прервать перебазирование и записать изменения в новую ветку Полный сброс до состояния удаленной ветки diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9b76e05f..d485f923 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -307,7 +307,8 @@ Error occurred during the push operation: Clear saved passphrase for local SSH key Clear saved HTTPS password - Remember key passphrase + Clear saved preference for HOTP incrementing + Remember key passphrase Hackish tools Abort rebase and push new branch Hard reset to remote branch @@ -360,6 +361,7 @@ Unable to open the ssh-key Please check that it was imported. Wrong passphrase + Wrong password Create new folder Create new password New, revamped Autofill! @@ -369,4 +371,6 @@ Debug logging If Autofill is unable to determine a username from your password file or directory structure, it will use the value specified here Default username + Remember password + Password -- cgit v1.2.3