Commit a93cf0c
committed
Add file storage safety to wolfPKCS11
Ensure token storage validates configured directories, uses atomic temp files for updates, and returns errors when no secure path is available.
Document the updated storage path resolution and adjust the storage tests to cover the missing-path failure case.1 parent 793e264 commit a93cf0c
4 files changed
Lines changed: 351 additions & 118 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
287 | 291 | | |
288 | 292 | | |
289 | 293 | | |
290 | | - | |
| |||
0 commit comments