From 679ff1ea4241ef75bab257e4391d48e8133bceb4 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 9 May 2023 09:20:24 -0400 Subject: [PATCH] The share data length is represented as 8 bytes --- src/Tahoe/SDMF/Internal/Share.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tahoe/SDMF/Internal/Share.hs b/src/Tahoe/SDMF/Internal/Share.hs index 9f2dba0..392cdf4 100644 --- a/src/Tahoe/SDMF/Internal/Share.hs +++ b/src/Tahoe/SDMF/Internal/Share.hs @@ -32,7 +32,7 @@ data Share = Share , -- | The size of a single ciphertext segment. shareSegmentSize :: Word64 , -- | The length of the original plaintext. - shareDataLength :: Word8 + shareDataLength :: Word64 , -- | The 2048 bit "verification" RSA key. shareVerificationKey :: RSA.PublicKey , -- | The RSA signature of -- GitLab