From 97b3577a463966e93d24649ff348fc4bb6825e50 Mon Sep 17 00:00:00 2001 From: Aditya Wasan Date: Sun, 2 Apr 2023 14:04:33 -0400 Subject: Refactor SSHKey into a separate module (#2450) * refactor(ssh): add `ssh` module Signed-off-by: Aditya Wasan * refactor(ssh): add `SSHKey` data class Signed-off-by: Aditya Wasan * refactor(ssh): add `SSHKeyType` enum Signed-off-by: Aditya Wasan * refactor(ssh): add `SSHKeyAlgorithm` class Signed-off-by: Aditya Wasan * refactor(ssh): add class to generate `RSA` key Signed-off-by: Aditya Wasan * chore(ssh): add required dependencies Signed-off-by: Aditya Wasan * refactor(ssh): add `ECDSAKeyGenerator` and remove constants Signed-off-by: Aditya Wasan * refactor(ssh): add utilities Signed-off-by: Aditya Wasan * feat(ssh): add `SSHKeyWriter` Signed-off-by: Aditya Wasan * refactor(ssh): make ssh key generators suspending Signed-off-by: Aditya Wasan * fix(ssh): fix explicit API violations * feat: complete `ED25519KeyWriter` implementation Signed-off-by: Aditya Wasan * factor(ssh/writer): update writer interface Signed-off-by: Aditya Wasan * feat(ssh/provider): add providers for different key types Signed-off-by: Aditya Wasan * feat(ssh): add SSHKeyManager for common key functionality Signed-off-by: Aditya Wasan * feat(ssh): add remaining methods to reach feature parity with old SSH implementation Signed-off-by: Aditya Wasan * wip(app): start using SSHKeyManager instead of SSHKey class Signed-off-by: Aditya Wasan Signed-off-by: Harsh Shandilya * refactor(ssh): update package name Signed-off-by: Aditya Wasan * chore(ssh): fix detekt warnings Signed-off-by: Aditya Wasan * chore: fixes across the board --------- Signed-off-by: Aditya Wasan Signed-off-by: Harsh Shandilya Co-authored-by: Harsh Shandilya --- ssh/src/main/res/values/strings.xml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ssh/src/main/res/values/strings.xml (limited to 'ssh/src/main/res') diff --git a/ssh/src/main/res/values/strings.xml b/ssh/src/main/res/values/strings.xml new file mode 100644 index 00000000..f35fe0ac --- /dev/null +++ b/ssh/src/main/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Unable to open the ssh private key, please check that the file exists + Selected file does not appear to be an SSH private key. + -- cgit v1.2.3