<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/user.rs, branch arti-v0.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-30T14:56:49Z</updated>
<entry>
<title>Merge branch 'bug487' into 'main'</title>
<updated>2022-05-30T14:56:49Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-05-30T14:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ea80f124ffe97559167062ff9c2093eea915a07d'/>
<id>urn:sha1:ea80f124ffe97559167062ff9c2093eea915a07d</id>
<content type='text'>
fs-mistrust: add getegid() to getgrouplist() output.

Closes #487

See merge request tpo/core/arti!548</content>
</entry>
<entry>
<title>fs-mistrust: add getegid() to getgrouplist() output.</title>
<updated>2022-05-27T18:14:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-27T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a58eaa28932f6920a75c204b684431ad28d07ff6'/>
<id>urn:sha1:a58eaa28932f6920a75c204b684431ad28d07ff6</id>
<content type='text'>
This fixes a unit test failure in weird environments (like some
containers) where the current effective GID is not included in the
list of current groups.

Closes #487.

Bug reported by @sjm217.
</content>
</entry>
<entry>
<title>fs-mistrust: Document problems with non-UTF8 OsString in toml</title>
<updated>2022-05-26T14:36:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-25T18:29:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=487742ea3d7071ab76935ae1d7c2c1ecb40b34cd'/>
<id>urn:sha1:487742ea3d7071ab76935ae1d7c2c1ecb40b34cd</id>
<content type='text'>
It turns out that the `toml` crate can't handle OsString, since
`toml` doesn't support serialize_newtype_variant, and the `serde`
crate tries to serialize OsString using that method.

In this commit we document that limitation, and test that we can at
least round-trip through json.

Found by inspecting test coverage.
</content>
</entry>
<entry>
<title>Use serde attrs instead of manual impls</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-24T14:15:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=924cc380d478e2b4a6b2b7bacbbe780e3b8fee7c'/>
<id>urn:sha1:924cc380d478e2b4a6b2b7bacbbe780e3b8fee7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Write custom serde impls for Trusted{User,Group}</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-20T19:15:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12f2a47fcb42ea3ccf3456a034dbdec82a8f0953'/>
<id>urn:sha1:12f2a47fcb42ea3ccf3456a034dbdec82a8f0953</id>
<content type='text'>
We support all of the following (in TOML notation):

```
user = "rose"  # by name
user = 413     # by ID
user = false   # no user
user = ":current"  # A 'special' user.

user = { name: "rose" }
user = { id: 413 }
user = { special: ":none" }
user = { special: ":current" }
```
</content>
</entry>
<entry>
<title>Add serde derives for MistrustBuilder.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T20:29:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9dd7b99de1b8bf8625cf6de93770dda25fe2823b'/>
<id>urn:sha1:9dd7b99de1b8bf8625cf6de93770dda25fe2823b</id>
<content type='text'>
The Group and User (de)serialization is pretty ugly, and I can't
vouch for the correcness of MistrustBuilder.  I will seek feedback
before I proceed.
</content>
</entry>
<entry>
<title>fs-mistrust: Add Group and User types.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T18:36:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=330582a142e30a80fe5f62af043955ca7373b7e7'/>
<id>urn:sha1:330582a142e30a80fe5f62af043955ca7373b7e7</id>
<content type='text'>
This will help make the actual configuration more serializable,
I hope.
</content>
</entry>
<entry>
<title>fs-mistrust: make Mistrust have a corresponding Builder type.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T17:26:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=95200383b52d1644d4de357c2a8a50d91fdc1021'/>
<id>urn:sha1:95200383b52d1644d4de357c2a8a50d91fdc1021</id>
<content type='text'>
This is an approximately minimal revision to get Builder in place;
subsequent commits will clean up the API.
</content>
</entry>
<entry>
<title>Fix typos (using the typos-cli tool).</title>
<updated>2022-05-04T18:41:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-04T18:36:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fc33fc3efbfabd6d7d38334caedbea51ad6c8064'/>
<id>urn:sha1:fc33fc3efbfabd6d7d38334caedbea51ad6c8064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Work around CI config weirdness.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-28T13:30:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=703ad41265d887e946fe855c84bebeb8c1c94cde'/>
<id>urn:sha1:703ad41265d887e946fe855c84bebeb8c1c94cde</id>
<content type='text'>
Some of our builders put root into gid 0, but getgroups() doesn't
actually give any result.
</content>
</entry>
</feed>
