Skip to content

pkeyutl -verifyrecover error "input data too long to be a hash" #9658

@yaoz39

Description

@yaoz39

Before 1.1.1, the following commands work as expected:

echo "abcdefgABCDEFG0123456789" >file
openssl genrsa -out key.pem 4096
openssl pkeyutl -sign -in file -inkey key.pem -out sig
openssl pkeyutl -verifyrecover -in sig -inkey key.pem

In 1.1.1, the -verifyrecover command returns

Error: The input data looks too long to be a hash

The commands are from pkeyutl examples
https://www.openssl.org/docs/man1.1.1/man1/openssl-pkeyutl.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    triaged: bugThe issue/pr is/fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions