This has unwraps for values that could be None so rather than checking for error states it just causes consumers to panic. It really shouldn't be used like this, rather the return of get_blob should be a Result type...
I'm somehow triggering this because it can't read one of my (perfectly valid) ssh keys properly, which is strange 😢
Example:
get_blob(&self, alg: &PubKey) -> Vec<u8>
This has unwraps for values that could be None so rather than checking for error states it just causes consumers to panic. It really shouldn't be used like this, rather the return of
get_blob
should be aResult
type...I'm somehow triggering this because it can't read one of my (perfectly valid) ssh keys properly, which is strange 😢