aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-04 13:35:03 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-04 13:35:03 +0100
commit71cc54810fdb51e428b83a37ff89d54a6cc3d8c8 (patch)
tree04d13d72b6afedaaa06478d9d86fb74a62534f88 /config/config.go
parent09f7f5fe7b55a6ab2e2326aa7ff27cf7f7bc05ba (diff)
downloadfsverify-71cc54810fdb51e428b83a37ff89d54a6cc3d8c8.tar.gz
fsverify-71cc54810fdb51e428b83a37ff89d54a6cc3d8c8.tar.bz2
add minisign signature verification
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
new file mode 100644
index 0000000..ac732af
--- /dev/null
+++ b/config/config.go
@@ -0,0 +1,8 @@
+package config
+
+// How the public key is stored
+// 0: external file, 1: external storage device, 2: tpm2, 3: usb serial
+var KeyStore = 0
+
+// Where the public key is stored, only applies for 0, 1 and 3
+var KeyLocation = "./publickey"