Code Monkey home page Code Monkey logo

Comments (2)

Aorimn avatar Aorimn commented on July 26, 2024

FUSE had multiple advantages at the time dislocker was written:

  • I knew its existence - whereas network block devices I didn't, for example, or at least not in this context
  • It was straight forward to use, it wouldn't be the problem in the implementation
  • It was in userspace, so easier to test and wouldn't crash the kernel if faulting in some way
  • Plus, the NTFS part was using FUSE, so it seemed logical.

Now, I've done some work to extract the core code into a library. The current dislocker implementation is a quite small program which actually uses this library. Therefore, I don't think making a network block device would be too difficult to implement.
It also makes sense to use dmcrypt/cryptsetup to implement it, BitLocker really has some resemblance in LUKS itself. It might also gain in performance. The problem would be portability however.

In essence, I don't really have a plan on this road of changing from FUSE. However, I'm open to any suggestion - like the one you cited.

As for a FAQ, I would say "why not!" I'll try to make some entries in it.

from dislocker.

claunia avatar claunia commented on July 26, 2024

Library pros:
.- Portability
.- Ability to embed in other software (data recovery e.g.)
.- No kernel panic

For optimization, that's neligible, imho, most of the performance benefits would come of optimizing the encryption code to use CPU extensions (ARM secure element, VIA Padlock, Intel AES-NI), and that can be done in user-space.

This is my suggestion.

from dislocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.