Commit 32716a0
committed
fix(secrets): Add custom decoder with default values for XAppleSecretsConfig
- Add init(from decoder:) with proper default value handling
- Required fields (mount) throw on missing
- Optional fields use defaults: readOnly=true, noexec=true, nosuid=true, cleanup=.immediate
- Fixes XAppleSecretsParserTests and HonchoStackSecretsE2ETests1 parent 63178b2 commit 32716a0
1 file changed
Lines changed: 10 additions & 0 deletions
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
| |||
0 commit comments