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.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cryptor.cpp') diff --git a/Cryptor.cpp b/Cryptor.cpp index 1cce31e..0d2dd71 100644 --- a/Cryptor.cpp +++ b/Cryptor.cpp @@ -25,7 +25,7 @@ static void fromHex(void *output, const char *input) { } } -void Cryptor::encryptAndSave(std::string remoteHost, std::string port, std::string directory, std::string payload) { +void Cryptor::encryptAndSave(std::string directory, std::string payload) { // Key if (!haveKey) { assembleKey(true); @@ -71,7 +71,7 @@ void Cryptor::encryptAndSave(std::string remoteHost, std::string port, std::stri f.close(); } -std::string Cryptor::loadAndDecrypt(std::string remoteHost, std::string port, std::string directory) { +std::string Cryptor::loadAndDecrypt(std::string directory) { // Load Data std::string encIV, encCipher; -- cgit v1.2.3