diff options
author | Jakob Unterwurzacher | 2017-03-05 13:58:24 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-03-05 13:58:24 +0100 |
commit | e032539e2c09cd4d1f007d33d7ef97b0fec689ed (patch) | |
tree | 0dddfa591a048c8494580cef954c365aa32eced0 /internal/fusefrontend_reverse/rfs.go | |
parent | b2f154a9a908e6ec097de90c04ce45118adc76de (diff) |
cryptocore: use eme v1.1 interface
Version 1.1 of the EME package (github.com/rfjakob/eme) added
a more convenient interface. Use it.
Note that you have to upgrade your EME package (go get -u)!
Diffstat (limited to 'internal/fusefrontend_reverse/rfs.go')
-rw-r--r-- | internal/fusefrontend_reverse/rfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend_reverse/rfs.go b/internal/fusefrontend_reverse/rfs.go index bb3b0e5..55431b6 100644 --- a/internal/fusefrontend_reverse/rfs.go +++ b/internal/fusefrontend_reverse/rfs.go @@ -59,7 +59,7 @@ func NewFS(args fusefrontend.Args) *ReverseFS { initLongnameCache() cryptoCore := cryptocore.New(args.Masterkey, args.CryptoBackend, contentenc.DefaultIVBits) contentEnc := contentenc.New(cryptoCore, contentenc.DefaultBS) - nameTransform := nametransform.New(cryptoCore, args.LongNames, args.Raw64) + nameTransform := nametransform.New(cryptoCore.EMECipher, args.LongNames, args.Raw64) return &ReverseFS{ // pathfs.defaultFileSystem returns ENOSYS for all operations |