Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1code signing | AAn 'Unknown publisher' warning means the code signature could not be verified, so the software may not come from who it claims. Ignoring it skips the code signing check. | |
| 2Verified publisher: Example Pty Ltd | Bsignature_valid = false | |
| 3Tamper detection: if even one byte of a signed installer is changed, the signature check fails. | CThe software's signature checked out, so the computer can confirm the named publisher really signed it. | |
| 4Only install software from a trusted source, such as the publisher's official site, and check that it is signed. | DAdding a digital signature to software so a computer can check who published it and that it has not been changed since it was signed. | |
| 5Unknown publisher - installing anyway because it looks fine | Eif signed and trusted_source: install() | |
| 6signed_file = edit(signed_file); still_trusted = true | FChanging a file after it was signed breaks the signature, so it can no longer be trusted. Assuming it is still valid ignores tamper detection. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
code signing — Adding a digital signature to software so a computer can check it came from the named publisher and has not been changed since it was signed.signedApp = sign(app, privateKey)ok = verify(app, signature, publicKey)IF newHash != signedHash THEN
warn("File was changed!")IF signatureValid THEN
install(app)newHash = hash(downloadedFile)