verify(): verify err: wrong signature length
liuyangcode opened this issue · comments
复现数据如下
公钥:
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwkGMUV0URISM02kn7XAg6Q2RnN2nK+bVaxFPTJ4kApWRNoKy2r2pLyoW4SN3GBNBVroJI6MAOCcv8hcbwUCuMCS07d/tr7n/VxrnWxg7YQ55l+SqDCwPIVapcadNhQK89uG+0d4WNrPfFMln515gGjYHpHlrBwjXRa1gu+mLiN//tzn0URCOpz3bbXIvyR1TqT0FmqllOkv6tOHBZ29grdqBc4QarmwBrlQbxiCAWJ+IJMTXhjROp+aNPZHV5q6stB9phkMnde4Rb2tM4cDizRyYvq8EP9Ev8ahy7qFnoZLglZdo2zQkUKIVDqlojvqjJvRe/NuPk0IC50kjlcQQ0QIDAQAB
-----END PUBLIC KEY-----
算法:MD5
原始数据:9r7e36RUCB96+EyTraTKbNlfd0IkFmxBNvYYyoHyDsDXQfiIas4qISPE36pY7ysDfSVaB3i8NFMXuHyefHXcO0ChLpnNHtWusQrvjkyvWIGb1ioBDGkQbp0BvYzkVV19deqESwdV7+yNFXoGKmXgOxkNkUbxVwU34G6c6r+tEycYZi1WFpD1IxwEK+QjfKs1A/5AdGgZGJdM8odtfm9rC+THq66bzxqG5D6nnL4YSzI+cLIoo8dPvoMqXSopBvfPNeaTTbaKfk+WPaBfP3TJC0mDj+JQGHC4SvIt6wlEaBf3HuNoL9IZsVcpDBQ9/ZB2xwCGEcEPLx4mMVHcXcvt1jMbv5kNHr/iq5ImwwZ2MfU1TCrPOM66AKYkIbtIjArg
签名:jEBunT5tkqESrx+DPXoY+XMnqz9YCNm2+6SxdAKu/LR2q9weIPydYPylwrJRQEUsrh2A6p1soZEt67A38W+COYC3k/8WvHL18Rdm6QJAML4m6ooC3qwRZfuZKGzV3sY1KFpzgch0TTu2OHIXkFOecPMB9SOU9SyY1xYR1raqtCl/c69S+1poq5d220N/r3eRfe6OAUnh/6k2gMyZrvvpJqzYTGvHlXVhNgEElX4qV38nMXi1jCheBJ95bZInvJUoXTjyxDrsFCJuc80+Y1t8gBaSpv6bBLP8daFspsv6onCDTYiiBQKy9i9m6twX/FaBL9XE+KSIoOHU2aWZTyRcNA==
rsa version: 1.1.0
通过其他渠道验证可以通过,但是rsa运行时提示 verify(): verify err: wrong signature length,是我使用不当还是什么情况?请帮忙解决