aboutsummaryrefslogtreecommitdiff
path: root/verifysetup/core
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-17 22:18:25 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-17 22:18:25 +0100
commit6a3db4c72485aba6187466005473e287f539e3ce (patch)
tree463ce5e3f04f8197cd40565e8ce35c0f98e6d694 /verifysetup/core
parent61cc5e9a02a38cd086d382e521509e85fecd6d07 (diff)
downloadfsverify-6a3db4c72485aba6187466005473e287f539e3ce.tar.gz
fsverify-6a3db4c72485aba6187466005473e287f539e3ce.tar.bz2
Clean up code
Diffstat (limited to 'verifysetup/core')
-rw-r--r--verifysetup/core/crypt.go1
-rw-r--r--verifysetup/core/storage.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/verifysetup/core/crypt.go b/verifysetup/core/crypt.go
index 4b448c5..4658641 100644
--- a/verifysetup/core/crypt.go
+++ b/verifysetup/core/crypt.go
@@ -37,6 +37,5 @@ func SignDatabase(database string, minisignKeys string) ([]byte, error) {
return nil, err
}
signature := minisign.SignWithComments(privateKey, data, "fsverify", "fsverify")
- fmt.Printf("SIGNATURE: %x\n", signature)
return signature, err
}
diff --git a/verifysetup/core/storage.go b/verifysetup/core/storage.go
index e7ded32..64b06a1 100644
--- a/verifysetup/core/storage.go
+++ b/verifysetup/core/storage.go
@@ -77,7 +77,6 @@ func CreateHeader(unsignedHash string, signedHash string, diskSize int, tableSiz
binary.BigEndian.PutUint32(disk, uint32(diskSize))
copy(header[190:], disk)
- fmt.Println(tableSize)
db := make([]byte, 4)
binary.BigEndian.PutUint32(db, uint32(tableSize))
copy(header[195:], db)