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.
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 ofverifythat 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 verifyalso loads the entire message in memory.