Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

clrtrust will not handle files with line feeds and tabs in their names #16

Description

@busykai

By the assumptions in the design, clrtrust will not handle files which have line feeds and tabs in their names.

Line feed ('\n') and tab ('\t') characters should not be used internally as field separators. Few places need to be revisited:

  1. Instead of using a variable with multi-line content to store the certificate information (filename and subject hash), an associative array should be used.

  2. Passing filenames to the helper should be done via the command-line instead of pipe.

  3. Commands using find to find the files and feed them to the subsequent command via pipe should be handling the output properly.

While this issue may not have too much of practical impact, it should be addressed to remove this unnecessary limitation on the filenames.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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