From 3341bd0e945341528033ec6ebaef4f611f654ebe Mon Sep 17 00:00:00 2001 From: axtloss Date: Wed, 28 Feb 2024 23:42:26 +0100 Subject: restructure repository layout --- verify/config/config.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 verify/config/config.go (limited to 'verify/config') diff --git a/verify/config/config.go b/verify/config/config.go new file mode 100644 index 0000000..965243d --- /dev/null +++ b/verify/config/config.go @@ -0,0 +1,15 @@ +package config + +// How the public key is stored +// 0: external file, 1: external storage device, 2: tpm2, 3: usb serial +var KeyStore = 3 + +// Where the public key is stored, only applies for KeyStore = 0, 1 and 3 +var KeyLocation = "/dev/ttyACM1" + +// The amount of threads the DB was created with, has to be the amount of processes +// verifysetup was set to use +var ProcCount = 12 + +// Which partition/file to use as the fsverify partition +var FsVerifyPart = "./verifysetup/part.fsverify" -- cgit v1.2.3