Skip to content

Invalid handling of IMA log file symlink #48

@zc-cu

Description

@zc-cu

The IMA log files are organized with a symlink for backward compatibility.
The /sys/kernel/security/ima/ascii_runtime_measurements symlinks to /sys/kernel/security/ima/ascii_runtime_measurements_sha1.

However, the current Intel Trusted Authority Client refuses to read IMA log if /sys/kernel/security/ima/ascii_runtime_measurements is a symlink.

The error locates in this line.
https://github.com/intel/trustauthority-client-for-go/blob/38d176fffa26c2f76b0939f7e1eccc849f6803e5/go-tpm/adapter.go#L317C1-L319C3

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