Skip to content

Bug: symbolic link to directory is treated as a certificate file #469

@spykermj

Description

@spykermj

If a directory containing certificates to monitor also contains a symbolic link to a directory, when scanning for certificates the symbolic link to the directory is treated as if it is a file with a certificate to be loaded.

This is a problem if you use a kubernetes secret volume mount as a source of certificates to scan due to a symbolic link to a directory inside the volume mount named ..data.

I am raising this issue just so I can reference it with my proposed fix PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions