Git Product home page Git Product logo

Comments (5)

ebiggers avatar ebiggers commented on September 1, 2024 1

As mentioned on other issues, you can use chmod 0700 to forbid other users from accessing directories.

from fscrypt.

Redsandro avatar Redsandro commented on September 1, 2024

Unfortunately this appears to be a side-effect from the current implementation.

@ebiggers said:

This is a known issue with filesystem encryption in the kernel: the caches that allow encrypted files to be accessed are systemwide

So your data is safe from extraction after physical hardware theft. However, parties that manage to get some kind of access to your machine can still spy on your files. As soon as you access them, they can see them too.

from fscrypt.

Redsandro avatar Redsandro commented on September 1, 2024

Just as a reminder for people who come here from google: Make sure to do a umask 077 that sticks.

Otherwise every new dir/file created with your user will default to 755/644.

Be aware of the maze that is .profile, .bash_profile, .bashrc and which one is read when. It might be best to set system-wide defaults in /etc/profile in /etc/login.defs.

from fscrypt.

ebiggers avatar ebiggers commented on September 1, 2024

2b6667a changed fscrypt encrypt to set mode 0700 on new encrypted directories.

So I think this issue should be closed.

from fscrypt.

josephlr avatar josephlr commented on September 1, 2024

Closing as resolved by #134

from fscrypt.

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.