PKI store: allow placeholder files to make empty directories management easier
PKI expects all directories of PKI store to be present when starting which is a wanted behavior in order to guarantee PKI content is well configured. Some directories might be empty on purpose for non-trusted issuers sub-directories, this is sometime an issue for version control system like git
which only manages files and for generation for zip archive command ignoring empty directories (e.g. Appveyor artifacts: see #1396 (closed)).
The proposed solution in those cases is to create files for placeholder purpose, those files shall have a file name starting with a dot .
.
PKI are not expecting non-X509 files to be present, thus any file starting with a dot .
will now be ignored when PKI loads the store.
Edited by Vincent Monfort