<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/imp.rs, branch arti-v0.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-25T14:27:45Z</updated>
<entry>
<title>fs-mistrust: allow symlinks to have any permissions</title>
<updated>2022-05-25T14:27:45Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-24T20:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85b4b5620d294b27cdee01989d4f2a936f6f32f4'/>
<id>urn:sha1:85b4b5620d294b27cdee01989d4f2a936f6f32f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: rename fields</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T15:52:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baa58daace392eee68f8ff82841631e9114c9918'/>
<id>urn:sha1:baa58daace392eee68f8ff82841631e9114c9918</id>
<content type='text'>
This renaming will make things slightly simpler for declaring a
builder.
</content>
</entry>
<entry>
<title>Loosen checking for readable files within target directories.</title>
<updated>2022-05-09T18:40:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-09T16:01:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c33499f288c298c3db8dfc7725448db13427a36'/>
<id>urn:sha1:5c33499f288c298c3db8dfc7725448db13427a36</id>
<content type='text'>
If the target directory itself is unreadable by untrusted users,
then its contents can't be read[*] by them regardless of their
permissions.  If the target directory _is_ readable, then _it_ will
be rejected if we are forbidding readable objects.  (And if we
aren't we don't care if the contents are readable.)

A similar argument would apply to writable objects within an
unreadable target directory.  We're not making that argument, since
such contents are likelier to be a mistake.

[*] Unless they're hard-linked; see comments in "Limitations"
section.
</content>
</entry>
<entry>
<title>fs-mistrust: write a lot about TOCTOU issues.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-03T13:56:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f35b4881295f52c252236b151764e82dbcb3b332'/>
<id>urn:sha1:f35b4881295f52c252236b151764e82dbcb3b332</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: Add a dangerously_trust_everyone method.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-02T15:35:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2087dde3a07a8d31c0625c2d36311e876c07a758'/>
<id>urn:sha1:2087dde3a07a8d31c0625c2d36311e876c07a758</id>
<content type='text'>
This helps make it possible to use `SecureDir` (name pending) even
when we want to disable permissions checks.  Otherwise, optional
permission checking would require users of this crate to maintain
separate code paths for the "check" and "don't check" cases.
</content>
</entry>
<entry>
<title>fs-mistrust: split check_one into two functions.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-02T15:19:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c01fb97ac3571b927384069ff7ebdbc15dfa856'/>
<id>urn:sha1:0c01fb97ac3571b927384069ff7ebdbc15dfa856</id>
<content type='text'>
This will make a "trust_everyone" easier to implement.
</content>
</entry>
<entry>
<title>Add a must_use (suggested by @diziet).</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-27T15:25:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c9e17c5aaad8a44218c3fcf9d69aa8067bee39d7'/>
<id>urn:sha1:c9e17c5aaad8a44218c3fcf9d69aa8067bee39d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a SecureDir API for checked access to directories</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-21T15:32:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f27744ef7b4bc6aafe9b9b1b4cfec3b99f64d23'/>
<id>urn:sha1:7f27744ef7b4bc6aafe9b9b1b4cfec3b99f64d23</id>
<content type='text'>
The only way to get a SecureDir is by having checked a directory.
Once you have one, it encourages you to open and create files and
directories with the right permissions, and checks them for you.
</content>
</entry>
<entry>
<title>Add functionality to inspect directory content permissions</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-19T00:23:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=75633109c2a75cef0769983ec1b3d20496d1ee38'/>
<id>urn:sha1:75633109c2a75cef0769983ec1b3d20496d1ee38</id>
<content type='text'>
Also, explain _why_ this is pretty important.
</content>
</entry>
<entry>
<title>By default, forbid special files.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-18T21:14:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d574afa230cca3dc3603d8786aeb31432640cfd6'/>
<id>urn:sha1:d574afa230cca3dc3603d8786aeb31432640cfd6</id>
<content type='text'>
</content>
</entry>
</feed>
