Skip to content

please add support for fuse 3 #419

Closed

Description

@custom82
No description provided.

Activity

  1. smessmer commented on Mar 9, 2022

    @smessmer
    Member

    Hi, thanks for reaching out. Are there platforms that don't support fuse2 anymore? Afaik, all current platforms support fuse2 and some support fuse3, so using fuse2 should be the most compatible.

  2. tnmils commented on Jun 5, 2022

    @tnmils

    Hi,
    i'm using KDEneon and it seems that support for fuse2 is dropped.The default is fuse3, and when trying to install back fuse it requires to remove plasma desktop and other essential packages: it surely means breaking the system.So now i'm stuck with fuse3 that i cannot use with any program.

    `:~/cryfs/build$ PKG_CONFIG_PATH=/bin/fusermount3 cmake ..
    CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
    The OLD behavior for policy CMP0065 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances. Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.

    -- Conan: checking conan executable
    -- Conan: Found program /usr/local/bin/conan
    -- Conan: Version found Conan version 1.48.1

    -- Conan executing: /usr/local/bin/conan install /home/sc/cryfs/conanfile.py --build missing --settings build_type=RelWithDebInfo --settings compiler=gcc --settings compiler.version=9 --settings compiler.libcxx=libstdc++11
    Configuration:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=RelWithDebInfo
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    os_build=Linux
    [options]
    [build_requires]
    [env]

    conanfile.py: Installing package
    Requirements
    boost/1.75.0 from 'conancenter' - Cache
    fmt/7.1.3 from 'conancenter' - Cache
    range-v3/0.11.0 from 'conancenter' - Cache
    spdlog/1.8.5 from 'conancenter' - Cache
    Packages
    boost/1.75.0:ab131a35903c9deb16b92403a53cdb2662fe82fe - Cache
    fmt/7.1.3:c0b6e263da7675aec620fd075210c48988506d73 - Cache
    range-v3/0.11.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    spdlog/1.8.5:2ac168a5a469cd6a81f11e00cf2589ff4bcb2ed0 - Cache

    Installing (downloading, building) binaries...
    boost/1.75.0: Already installed!
    fmt/7.1.3: Already installed!
    range-v3/0.11.0: Already installed!
    spdlog/1.8.5: Already installed!
    conanfile.py: Generator cmake created conanbuildinfo.cmake
    conanfile.py: Generator txt created conanbuildinfo.txt
    conanfile.py: Aggregating env generators
    conanfile.py: Generated conaninfo.txt
    conanfile.py: Generated graphinfo
    -- Conan: Using cmake targets configuration
    -- Library spdlog found /home/sc/.conan/data/spdlog/1.8.5///package/2ac168a5a469cd6a81f11e00cf2589ff4bcb2ed0/lib/libspdlog.a
    -- Library boost_filesystem found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_filesystem.a
    -- Library boost_program_options found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_program_options.a
    -- Library boost_thread found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_thread.a
    -- Library boost_atomic found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_atomic.a
    -- Library boost_chrono found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_chrono.a
    -- Library boost_container found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_container.a
    -- Library boost_date_time found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_date_time.a
    -- Library boost_exception found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_exception.a
    -- Library boost_wserialization found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_wserialization.a
    -- Library boost_serialization found /home/sc/.conan/data/boost/1.75.0///package/ab131a35903c9deb16b92403a53cdb2662fe82fe/lib/libboost_serialization.a
    -- Library fmt found /home/sc/.conan/data/fmt/7.1.3///package/c0b6e263da7675aec620fd075210c48988506d73/lib/libfmt.a
    -- Conan: Adjusting default RPATHs Conan policies
    -- Current conanbuildinfo.cmake directory: /home/sc/cryfs/build
    -- Conan: Compiler GCC>=5, checking major version 9
    -- Conan: Checking correct version: 9
    -- *************************************************************************
    The Crypto++ library does not officially support CMake. CMake support is a
    community effort, and the library works with the folks using CMake to help
    improve it. If you find an issue then please fix it or report it at
    https://github.com/noloader/cryptopp-cmake.
    -- *************************************************************************
    -- CMake version 3.22.1
    -- System Linux
    -- Processor x86_64
    CMake Deprecation Warning at vendor/cryptopp/vendor_cryptopp/CMakeLists.txt:34 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.

    Update the VERSION argument value or use a ... suffix to tell
    CMake that the project does not need compatibility with older versions.

    -- Performing Test CRYPTOPP_IA32_SSE2
    -- Performing Test CRYPTOPP_IA32_SSE2 - Success
    -- Performing Test CRYPTOPP_IA32_SSSE3
    -- Performing Test CRYPTOPP_IA32_SSSE3 - Success
    -- Performing Test CRYPTOPP_IA32_SSE41
    -- Performing Test CRYPTOPP_IA32_SSE41 - Success
    -- Performing Test CRYPTOPP_IA32_SSE42
    -- Performing Test CRYPTOPP_IA32_SSE42 - Success
    -- Performing Test CRYPTOPP_IA32_CLMUL
    -- Performing Test CRYPTOPP_IA32_CLMUL - Success
    -- Performing Test CRYPTOPP_IA32_AES
    -- Performing Test CRYPTOPP_IA32_AES - Success
    -- Performing Test CRYPTOPP_IA32_AVX
    -- Performing Test CRYPTOPP_IA32_AVX - Success
    -- Performing Test CRYPTOPP_IA32_AVX2
    -- Performing Test CRYPTOPP_IA32_AVX2 - Success
    -- Performing Test CRYPTOPP_IA32_SHA
    -- Performing Test CRYPTOPP_IA32_SHA - Success
    -- Performing Test CRYPTOPP_MIXED_ASM
    -- Performing Test CRYPTOPP_MIXED_ASM - Success
    -- OpenMP: Found libomp without any special flags
    -- Platform: x86_64
    -- Compiler: /usr/bin/c++
    -- Compiler options:
    -- Compiler definitions:
    -- Build type: RelWithDebInfo
    -- Building version 0.11.0+22.g31c831f9
    -- addr2line found. Using it for backtraces.
    -- Checking for module 'fuse'
    -- No package 'fuse' found
    CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
    A required package was not found
    Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:825 (_pkg_check_modules_internal)
    src/fspp/fuse/CMakeLists.txt:40 (pkg_check_modules)

    -- Configuring incomplete, errors occurred!
    `

  3. smessmer commented on Aug 13, 2023

    @smessmer
    Member

    I tried to upgrade CryFS to libfuse3 but both MacFuse and Dokany don't support fuse3 yet. That means a fuse3 CryFS would not run on MacOS or Windows.

    Mac and Windows support is important. I'll migrate CryFS to fuse3 once both the Mac and Windows fuse libraries support it.

  4. smessmer commented on Oct 8, 2024

    @smessmer
    Member

    The CryFS side work on fuse3 support is complete for a long time already but there seems to be no movement from MacFuse or DokanY on supporting fuse3. Not sure when this will happen.

  5. andreasstieger commented on Apr 25, 2025

    @andreasstieger
  6. smessmer commented on Apr 25, 2025

    @smessmer
    Member

    That's where CryFS fuse3 implementation lives, but we can't merge it unless MacFuse and DokanY support it. See my previous comment.

  7. andreasstieger commented on Apr 26, 2025

    @andreasstieger

    The request is to have support for both in the same source tree.

  8. smessmer commented on Apr 26, 2025

    @smessmer
    Member

    Sure, we could introduce a compiler #define that decides whether we're building for libfuse2 or libfuse3 and then conditionally include the changes from that branch. My time is currently bound to the Rust rewrite of CryFS, and in Rust libfuse2 vs libfuse3 won't matter anymore, but if you or somebody else makes a PR to add fuse3 support in that way, I'll review it.

  9. nadir-ishiguro commented on Jul 16, 2026

    @nadir-ishiguro

    Just to make sure I understand where things stand: Fuse3 support was technically possible and implemented for Linux years ago, but not merged as the other OS platforms didn't support it at the time.

    The future CryFS 2.0 that's currently at an early stage will move to fuse3, but CryFS 1.* will never gain fuse3 support, right?

    I'm mainly asking because CryFS just got dropped from nixpkgs because they're getting (finally) rid of fuse2, which is a shame.

    The issues that were linked for macFuse and DokanY have been closed since, so I guess that side is actually solved, but I get why you wouldn't want to touch CryFS 1.* to include it.

  10. smessmer commented on Jul 16, 2026

    @smessmer
    Member

    I'm open to making the changes and releasing a CryFS 1.x version for fuse3, but the DokanY support seems to be still open. They just closed the PR as a duplicate and pointed to dokan-dev/dokany#182

  11. nadir-ishiguro commented on Jul 16, 2026

    @nadir-ishiguro

    You're right, I mistook dokan-dev/dokany#1167 being closed as the issue actually being completed, as it says it is.

    Oh well. Doesn't look like that's gonna change anytime soon. Thanks for considering the point release at all though.

  12. saltnfat commented on Aug 10, 2026

    @saltnfat

    It looks like cryfs is no longer compatible with NixOS due to depending on FUSE 2 which has been deprecated in Nixpkgs...

  13. smessmer commented on Sep 7, 2026

    @smessmer
    Member

    Fuse3 support is merged into the release/1.0 branch and will be part of the upcoming 1.1.0 release. Windows will stay on fuse2 for now, but MacOS and Linux switch to fuse3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions