Skip to content

Don't write beyond the value of TPMPTNVBufferMax #416

@Foxboron

Description

@Foxboron

It seems like some platforms don't support a large buffer for writing? This results in RC_SIZE errors that ssh-tpm-agent seems to choke on.

Foxboron/ssh-tpm-agent#102

It seems like we could read out TPMPTNVBufferMax and split the writes..? But it's a bit unclear to me how to figure this out as I can't reproduce this locally.

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