Open fwalch opened 5 years ago
The documentation for readCertificateStore says:
readCertificateStore
... directory (one certificate per file, file names are hashes from certificate).
The implementation of listDirectoryCerts, however, seems to explicitly ignore files names which are hashes from certificates:
listDirectoryCerts
isCert x = (not $ isPrefixOf "." x) && (not $ isHashedFile x)
Am I misunderstanding the documentation?
Usually the hash-named files are symbolic links to other files in the same directory. So they can be ignored. But yes the comment is misleading.
The documentation for
readCertificateStore
says:The implementation of
listDirectoryCerts
, however, seems to explicitly ignore files names which are hashes from certificates:Am I misunderstanding the documentation?