This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this file handles the gpg and cryptography functions | |
#include "Api.hpp" | |
#include "Crypto.hpp" | |
#include "run-support.h" | |
int import_json_key(std::string imported_key){ // this requires an armored key with \n | |
////DEBUG_LOG(__func__, "import key attempt 1:\n%s", key); | |
//rap::Document document; | |
//document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this file handles the gpg and cryptography functions | |
// Crypto.hpp | |
////////////////////////////// | |
#include "spdlog/spdlog.h" | |
#include "spdlog/sinks/stdout_color_sinks.h" | |
#include "spdlog/sinks/rotating_file_sink.h" | |
#define SPDLOG_STR_H(x) #x | |
#define SPDLOG_STR_HELPER(x) SPDLOG_STR_H(x) |