Closed katexochen closed 2 months ago
The change looks good overall, but I would like to see some things fixed before I can merge it.
Thanks for your feedback, I tried to incorporate the requested changes. Let me know if I overlooked something. :)
@katexochen please rebase it to master so I can merge.
There is no defined order in which readdir will return the entries of a directory. In practice, order can depend on inode number or similar. If we run p11-kit on different files systems with similar directory structure but different inode order the output of extract can change.
To get a stable and reproducible output, sort the paths returned by readdir before extracting.