Security Engineering

A records system must sign multi-gigabyte engineering archives so that any recipient can verify who released each one and that it is unaltered. Applying the RSA private-key operation to a whole archive is impractical. How do digital signature schemes handle this?

Show the answer

Correct answerA. Sign a hash of the archive with the signer's private key

AWhy this is right: The digest stands for the whole archive, so any change breaks verification, and only the private key holder could sign it.

BWhy not this: A signature over the AES key says nothing about the archive's contents, which could be altered without detection.

CWhy not this: Every recipient holds the shared key and could produce the same HMAC, so it cannot prove who released the archive.

DWhy not this: Blocks between the first and last are not covered, so changes to them would go undetected.

Signature schemes hash the message and apply the private key to the fixed-size digest. The verifier recomputes the hash and checks it against the signature with the public key. Because the hash is collision resistant, any change to the archive changes the digest, so signing the digest protects the whole archive.