OpenSSL Digitally Sign Digest Only
问题 I have a signing server where you can upload a file and it will respond with the digital signature. It is using openssl dgst -sha256 -sign which works fine. However, we've had to start signing large files (>1 GB) and the uploads take forever. I had the idea that we could compute the sha256 digest locally and pass just that to the signing server which would speed things up considerably. However, this seemingly simple task seems crazy hard with openssl. Is there a reason for this? I found one