Password manager

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Password manager

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. What does a password manager do?
A Deletes your passwords after each login
B Stores and fills in many passwords for you
2. How is a password manager protected?
A By one strong master passphrase
B By a different short word for every password
3. Who should know your master passphrase?
A Only you (and a trusted adult who helps you)
B Your friends, so they can help you log in
4. Your browser asks, 'Save this password?' on a shared school computer. What should you do?
A Choose 'Save' so the next person can log in fast
B Choose 'Never' and log out when finished
5. Which is true about browser-saved passwords?
A They are a simple password manager built into the browser
B They are safe to use without any device lock or passphrase

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1master passphrase AVault: 40 passwords | Unlock with: purple-koala-sings-loudly
2browser-saved password BSaving passwords in a browser on a shared device lets other people log in as you. Do not save them there, and ask a trusted adult if unsure.
3A password manager stores many passwords behind one master passphrase that only you know CA password that a web browser remembers and fills in for you on a website you have logged in to
4Ask a trusted adult for help when setting up a password manager or saving a password in a browser DBrowser asks: Save password? -> Ask a trusted adult first
5Master passphrase: 1234 EThe master passphrase is weak and easy to guess. It should be a long, strong passphrase, because it protects every password in the manager.
6Save password in browser on a shared school computer? Yes FThe one strong phrase that unlocks a password manager, so you only have to remember this one

Definitions

password manager

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
manager.unlock(________________)
2.
passphrasesToRemember = _
3.
browser.____(site, password)
4.
IF unsure THEN ask(____________)
5.
IF passphrase __ master THEN unlock()

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A master = "blue tiger lamp"
B enter = input("Master: ")
C if enter = master:
D show(vault)
Question 2
A vault = {}
B vault["email"] "Tr33!lamp"
C vault["game"] = "Zk9#river"
D print(len(vault))
Question 3
A vault = load(master)
B sites = ["mail", "game"]
C for site in sites:
D fill(master)
Question 4
A need_help = True
B if need_help
C ask(trusted_adult)
D setup(manager)
Question 5
A site = "school.com"
B pw = "Mo0n&frog"
C if user_says("Save?"):
D browser.save(site)

Answer Key

Password manager
Section A: Quick Questions
Q1
B — Stores and fills in many passwords for you
Q2
A — By one strong master passphrase
Q3
A — Only you (and a trusted adult who helps you)
Q4
B — Choose 'Never' and log out when finished
Q5
A — They are a simple password manager built into the browser
Section B: Match the Pairs
Q1
master passphrase → The one strong phrase that unlocks a password manager, so you only have to remember this one
Q2
browser-saved password → A password that a web browser remembers and fills in for you on a website you have logged in to
Q3
A password manager stores many passwords behind one master passphrase that only you know → Vault: 40 passwords | Unlock with: purple-koala-sings-loudly
Q4
Ask a trusted adult for help when setting up a password manager or saving a password in a browser → Browser asks: Save password? -> Ask a trusted adult first
Q5
Master passphrase: 1234 → The master passphrase is weak and easy to guess. It should be a long, strong passphrase, because it protects every password in the manager.
Q6
Save password in browser on a shared school computer? Yes → Saving passwords in a browser on a shared device lets other people log in as you. Do not save them there, and ask a trusted adult if unsure.
Section C: Definitions
Q1
password manager — A tool that stores and fills in many passwords for you, kept safe behind one strong master passphrase that only you know.
Section D: Fill in the Blanks
Q1
manager.unlock(masterPassphrase)
Q2
passphrasesToRemember = 1
Q3
browser.save(site, password)
Q4
IF unsure THEN ask(trustedAdult)
Q5
IF passphrase == master THEN unlock()
Section E: Spot the Error
Q1
C — A single = stores a value instead of comparing. The password manager should check the typed master passphrase with ==, so the line should be: if enter == master:
Q2
B — The = is missing, so the password is never saved in the vault. It should be: vault["email"] = "Tr33!lamp"
Q3
D — The manager fills in each site's own saved password from the vault. The master passphrase only unlocks the vault and is never typed into sites. It should be: fill(vault[site])
Q4
B — The if line is missing its colon at the end. It should be: if need_help:
Q5
D — A browser-saved password needs both the site and the password. The pw is missing, so it should be: browser.save(site, pw)