Code Monkey home page Code Monkey logo

Comments (13)

netheril96 avatar netheril96 commented on May 30, 2024 1

A critical security vulnerability has been found in securefs version 0.4.0 to 0.6.0. If you have used these version to encrypt your data, please either migrate to the newest version or some other encryption software.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

This will impact performance a lot. Especially if we also record access time.

from securefs.

Tuxie avatar Tuxie commented on May 30, 2024

I understand that, so it should be optional and not enabled by default.
I am personally not interested in atime.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

It is now implemented in the main branch. Enable it at creation time by the flag "--store_time". Example

securefs c data --store_time

It hasn't been extensively tested.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

You have to build the HEAD version if you want to test this feature for now.

from securefs.

Tuxie avatar Tuxie commented on May 30, 2024

Awesome, thanks! I will try it out after the holidays.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

Hold on for now. I'm going to make some incompatible changes to the new format.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

It should now be stable.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

Feedback is welcome 😊

from securefs.

Tuxie avatar Tuxie commented on May 30, 2024

It seems to work great on both local filesystems and a on top of a pCloud mount on Linux.

It does not work on an acd_cli mount however (with or without --store_time):

root@server:~# securefs create --store_time /mnt/acd/.sfs
Password:
Retype password:
terminate called after throwing an instance of 'securefs::POSIXException'
  what():  Illegal seek # pwrite
Aborted

After that I can mount it without errors, but when trying to access the mount I get "Input/output error". Not sure if this worked with older versions of either securefs or acd_cli.

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

Well, that means acd_cli does not support the necessary filesystem operations securefs needs to build on. But it is rather odd that the exception is not caught, since the create command is wrapped in a try-catch block.

from securefs.

Tuxie avatar Tuxie commented on May 30, 2024

Apparently this is a known problem with acd_cli and it's being worked on. I am mainly going to use it with pCloud anyway. Thank you very much for implementing this! Can I consider the on-disk format stable (or forward-compatible) for the foreseeable future?

from securefs.

netheril96 avatar netheril96 commented on May 30, 2024

The on-disk format with encrypted timestamps is now stable. If I want incompatible changes, I will introduce a new format that must be specified on creation.

from securefs.

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.