For BIOS/MBR Legacy system refer to here
Download the .iso file from Arch Linux Official Site.
enum insertStmt = "INSERT INTO Entry(sym,open,close,volume) Values(?, ?, ?, ?);"; | |
int errCode = sqlite3_prepare_v2(db, toCstr.toStringZ(insertStmt), | |
to!int(insertStmt.length), &stmt, null); | |
if(errCode != SQLITE_OK) { | |
scope(exit) sqlite3_finalize(stmt); | |
throw new Exception(insertStmt ~ " FAILED " ~ | |
to!string(sqlite3_errmsg(db)) | |
); |
// So the problem to solve is that I needed a function | |
// that encrypts an array of ubytes with multiple public | |
// keys. The resulting, encrypted, array of bytes, when saved | |
// to a file, should be decrypted-able by any private key | |
// matching any of the used public key. | |
// This should be possible with the openssl cli. | |
// smime is used as bundle everything together, properly | |
// not the best approach, but hey it works. | |
// The asymmetrically keys are used to encrypt a symmetry | |
// AES256 key that is in turn used to encrypt the array of |
For BIOS/MBR Legacy system refer to here
Download the .iso file from Arch Linux Official Site.