Oregami
Repositories/oxedyne/fe2o3

fe2o3_core/tests/config_home.rs

3 operations, oldest first

created by r1870400018:74709, which is this file's identity for as long as the history lasts, whatever it is later renamed to

read the file · who wrote it · compare two states

An operation carries no clock of its own. Each row is therefore dated by the first mark written after it by the same replica, which is one copy of the repository, and that mark is where the command that wrote the operation ended.

+ signed and verified, ? signed by a key this forge does not carry, - unsigned

OperationAuthorWhatWhen
+r1870400018:74709replica 1870400018created fe2o3_core/tests/config_home.rs27 days ago under "fe2o3_core file: a user configuration home resolver -- CONFIG_VENDOR (\"oxedyne\"); xdg_config_home(_from) gives XDG_CONFIG_HOME only when non-empty and absolute; config_home(_from) falls back to $HOME/.config and otherwise errs naming both variables (Invalid, Input, Missing); app_config_dir(_from) gives <config home>/oxedyne/<app>, refusing an empty name, '.', '..' or one holding a separator; nothing is created, the caller pairs it with create_secret_dir or restrict_secret_dir; the _from forms take the variables as arguments so tests never set the environment (replaces Ore's cli enrol.rs resolver); path::is_filename gains the brackets its precedence lacked, so on windows it refuses a backslash, unix unchanged (ORE-KEY 1; red: tests/config_home.rs did not compile before the functions existed; green: config_home 6, core 127 passed, was 121)"
+r1870400018:74710replica 1870400018inserted 2.0 KiB27 days ago under "fe2o3_core file: a user configuration home resolver -- CONFIG_VENDOR (\"oxedyne\"); xdg_config_home(_from) gives XDG_CONFIG_HOME only when non-empty and absolute; config_home(_from) falls back to $HOME/.config and otherwise errs naming both variables (Invalid, Input, Missing); app_config_dir(_from) gives <config home>/oxedyne/<app>, refusing an empty name, '.', '..' or one holding a separator; nothing is created, the caller pairs it with create_secret_dir or restrict_secret_dir; the _from forms take the variables as arguments so tests never set the environment (replaces Ore's cli enrol.rs resolver); path::is_filename gains the brackets its precedence lacked, so on windows it refuses a backslash, unix unchanged (ORE-KEY 1; red: tests/config_home.rs did not compile before the functions existed; green: config_home 6, core 127 passed, was 121)"
+r1870400018:74744replica 1870400018inserted 697 bytes27 days ago under "fe2o3_core file: secure_secret_chain returns each directory it narrowed with the mode it had -- restrict_secret_dir already reported it and the chain dropped the report, so a caller that narrows a key root through the chain could no longer tell its user that a 0777 directory above the keys had been closed; the return is Vec<(PathBuf, u32)>, empty off unix and when nothing was wider than 0700; Hematite sec_core.typ updated (ORE-KEY fix 3, QA A L2; red: the narrowing test did not compile against Outcome<()>; green: secret_chain 5 / 0, core unchanged otherwise)"