| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fs-mistrust: Add read_directory and remove_file to CheckedDir. | Nick Mathewson | 2023-11-27 | 1 | -0/+142 |
| | | | | | Closes #1117. | ||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+1 |
| | | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | test lint blocks: Add many many automatically | Ian Jackson | 2022-12-12 | 1 | -0/+8 |
| | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks. | ||||
| * | Editorial improvements on fs-mistrust errors | Nick Mathewson | 2022-06-22 | 1 | -5/+7 |
| | | | | | | | These changes make sure that the errors conform to our preferred style, and include a description of what exactly we were doing when something went wrong. | ||||
| * | fs-mistrust: BadPermission(_, _) -> BadPermission(..) | Alex Xu (Hello71) | 2022-05-31 | 1 | -4/+4 |
| | | | | | Next commit adds another parameter to Error::BadPermission. | ||||
| * | fs-mistrust: make Mistrust have a corresponding Builder type. | Nick Mathewson | 2022-05-24 | 1 | -7/+13 |
| | | | | | | This is an approximately minimal revision to get Builder in place; subsequent commits will clean up the API. | ||||
| * | fs-mistrust: add various methods. | Nick Mathewson | 2022-05-09 | 1 | -4/+128 |
| | | | | | | | | | | | | This includes: * a CachedDir::join method. * functions to read and write from provided filenames in a CachedDir. * a method to tell whether a fs-mistrust error is about bad file permissions, or failure to inspect file permissions or some other kind of IO problem. | ||||
| * | Derive Clone and Debug for CheckedDir. | Nick Mathewson | 2022-05-05 | 1 | -0/+1 |
| | | |||||
| * | fs-mistrust: write a lot about TOCTOU issues. | Nick Mathewson | 2022-05-03 | 1 | -0/+13 |
| | | |||||
| * | fs-mistrust: Rename SecureDir to CheckedDir. | Nick Mathewson | 2022-05-03 | 1 | -8/+8 |
| | | |||||
| * | Add a SecureDir API for checked access to directories | Nick Mathewson | 2022-05-03 | 1 | -0/+229 |
| 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. | |||||
