summaryrefslogtreecommitdiffstats
path: root/Cryptor.cpp
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-10-24 13:06:13 -0400
committerMalfurious <m@lfurio.us>2024-10-25 03:31:18 -0400
commit8455d3e9256bff8d4f74b3606347522ea6c381ca (patch)
tree80660a9a058033f475c49cc71c4f18ae7cca14ac /Cryptor.cpp
parent6285b4d8b283fb38112ec04b1cc570a8c0c9844b (diff)
downloadcompass-8455d3e9256bff8d4f74b3606347522ea6c381ca.tar.gz
compass-8455d3e9256bff8d4f74b3606347522ea6c381ca.zip
Remove remote-host and port options
Support for remote keychains is removed, so also remove the associated command-line options. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'Cryptor.cpp')
-rw-r--r--Cryptor.cpp4
1 files changed, 2 insertions, 2 deletions
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;