Skip to content

[FR] Verifying SSH signature of a file without loading the entire file into memory #380

@legeana

Description

@legeana

Currently PublicKey::verify requires the entire message to be passed as a &[u8] from RAM. I was wondering if it would be feasible to support a version of verify that would take a file (or better std::io::Read) instead?

The use case I have in mind is verifying signatures for files of unknown size.

Thank you for your time.

P.S. ssh-keygen -Y verify also loads the entire message in memory.

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