aboutsummaryrefslogtreecommitdiff
path: root/verify/config/config.go
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-28 23:42:26 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-28 23:42:26 +0100
commit3341bd0e945341528033ec6ebaef4f611f654ebe (patch)
treef82d4557ac097d08583e56152352cbd5abd335ea /verify/config/config.go
parent91d58f9ae9e9d9adc2e19a0b56d2b9757f6696d6 (diff)
downloadfsverify-3341bd0e945341528033ec6ebaef4f611f654ebe.tar.gz
fsverify-3341bd0e945341528033ec6ebaef4f611f654ebe.tar.bz2
restructure repository layout
Diffstat (limited to 'verify/config/config.go')
-rw-r--r--verify/config/config.go15
1 files changed, 15 insertions, 0 deletions
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"