diff options
author | Frank Denis | 2025-03-12 08:46:12 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-03-12 20:43:23 +0100 |
commit | a3009fe003ad861a7949145e08ecfee994ad83ac (patch) | |
tree | c42a9fbbb60c44cf86df149c689655609fcf2f5a | |
parent | 2130e49349689ca7937a0e8338588f7fb96030c0 (diff) |
Another plate to override the default nonce size for AEGIS
-rw-r--r-- | mount.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,7 @@ import ( "golang.org/x/crypto/chacha20poly1305" + "github.com/aegis-aead/go-libaegis/aegis256x2" "github.com/hanwen/go-fuse/v2/fs" "github.com/hanwen/go-fuse/v2/fuse" @@ -267,6 +268,7 @@ func initFuseFrontend(args *argContainer) (rootNode fs.InodeEmbedder, wipeKeys f } if args.aegis { cryptoBackend = cryptocore.BackendAegis + IVBits = aegis256x2.NonceSize * 8 } // forceOwner implies allow_other, as documented. // Set this early, so args.allow_other can be relied on below this point. |