From 6285b4d8b283fb38112ec04b1cc570a8c0c9844b Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 24 Oct 2024 08:44:36 -0400 Subject: Remove Socket class The remote socket functionality was only stub code, never fully implemented. A network architecture for compass keychains is no longer a design goal, so the dead code is removed. Signed-off-by: Malfurious --- Cryptor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Cryptor.h') diff --git a/Cryptor.h b/Cryptor.h index f1448b0..94af673 100644 --- a/Cryptor.h +++ b/Cryptor.h @@ -5,6 +5,7 @@ #include #include #include +#include #ifdef WIN32 #include @@ -18,8 +19,6 @@ #include "mbedtls/entropy.h" #include "mbedtls/sha256.h" -#include "Socket.h" - #define DEF_PASSWD_LENGTH 50 #define AES_BLOCK_LENGTH 16 -- cgit v1.2.3 From 8455d3e9256bff8d4f74b3606347522ea6c381ca Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 24 Oct 2024 13:06:13 -0400 Subject: Remove remote-host and port options Support for remote keychains is removed, so also remove the associated command-line options. Signed-off-by: Malfurious --- Cryptor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cryptor.h') diff --git a/Cryptor.h b/Cryptor.h index 94af673..6afe6f2 100644 --- a/Cryptor.h +++ b/Cryptor.h @@ -42,8 +42,8 @@ struct PasswordSpec { class Cryptor { public: - static void encryptAndSave(std::string remoteHost, std::string port, std::string directory, std::string payload); - static std::string loadAndDecrypt(std::string remoteHost, std::string port, std::string directory); + static void encryptAndSave(std::string directory, std::string payload); + static std::string loadAndDecrypt(std::string directory); static std::string createRandomPassword(PasswordSpec spec); static void rekey(); -- cgit v1.2.3