In the material's OpenSSL signing command, the sender uses `private.pem` and the `-sign` option to create a signature file named `document.sha256` from `document.txt`. The key used to create that signature is the sender's _____ key.
Answer
private
Explanation
### Why this is right
The example command explicitly supplies `private.pem` after the `-sign` option, so the signing key is the sender’s private key. The corresponding public key is used later by the recipient for verification.
### The concept
The signing command in the material is `openssl dgst -sha256 -sign private.pem -out document.sha256 document.txt`. It calculates a hash of `document.txt` using the named algorithm and uses the private key to create the signature output file. The recipient checks that output against the document using the public key. The file extension and filename are labels for the files; the important roles are the private key for signing, the signature file as verification input, and the public key for verification. A signature does not encrypt the original text file.
### Terms
- **OpenSSL**: software that provides cryptographic tools, including the command-line utility shown.
- **SHA-256**: Secure Hash Algorithm 256, the hash algorithm specified in the command.
- **Hash**: a compact value calculated from data and used in the signing process.
- **Private key**: the key used here to create the signature.
- **Public key**: the corresponding key used to verify the signature.
- **Signature file**: the file containing the cryptographic signature output.
### Remember
In the example command, `-sign` works with `private.pem` because the private key creates the signature.
Related Questions
- Explain why computer security is described as a process rather than a product. Include the roles of technology, people, and environment.(intermediate)
- Select ALL items the review identifies as possible security risks or losses.(intermediate)
- Arrange these broad security activities in a sensible cycle, beginning with identifying what needs protection.(intermediate)
- A security product can replace the continuing work of managing people, technology, and the operating environment.(intermediate)
- Which statement best captures the course review’s view of computer security?(intermediate)
Want to practice more questions like this?
Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.
Start Practicing Free