Mission 1 — Generate your GPG key pair
Every GPG user starts by generating a key pair. The public key is freely shared so others can encrypt to you or verify your signatures. The private key stays secret forever. The key's fingerprint (a hash of the public key material) lets others confirm they have your genuine key out-of-band.
crypto.subtle, then read off the fingerprint that was produced from your public key material. Proceed to Mission 2 once keys are ready.Kind: RSA and RSA / Key size: 2048 / No expiration
In real GPG: gpg --fingerprint you@example.com shows your fingerprint. You publish this on your website, business card, or keyserver so contacts can verify they have the genuine key.
Mission 2 — Encrypt to a recipient & decrypt
Alice wants to send Bob a classified message. She encrypts it with Bob's public key. Only Bob's private key can decrypt it — not Alice's, not an eavesdropper's. You'll play both roles to complete the round trip.
$ gpg --decrypt classified.txt.gpg
Alice (sender)
Bob (recipient)
Key rule: encrypt with the recipient's public key, decrypt with the recipient's private key. Alice's private key is irrelevant here. The reverse direction (Bob to Alice) would use Alice's public key instead.
Mission 3 — Sign a message & catch a tampered one
Your Mission-1 keys include an RSA-PSS signing key pair. Sign a field report with your private signing key. Anyone holding your public key can verify the signature proves it came from you and was not altered. Then the lab will present a tampered version — the same signature must now report INVALID.
$ gpg --verify report.txt.gpg # VALID
$ gpg --verify tampered.txt.gpg # INVALID
Signing rule: sign with your private key, verify with your public key. The signature covers the message content; one changed byte flips VALID to INVALID. Tie the public key to a CA-issued certificate and you also gain non-repudiation.
Mission 4 — Key trust & fingerprint verification
A contact named "Agent Morse" sends you their public key over email. Without verification, you cannot know it is genuine — an adversary could substitute their own key (MITM). You call Agent Morse on a secure line and compare fingerprints character-by-character. Only if they match exactly is the key authentic. You then assign a trust level, which determines how GPG weighs their key signatures in the web of trust.
$ gpg --edit-key morse@shield.ops
> trust # assign trust level
Key on your keyring
gpg --fingerprint
Morse on the phone
GPG web-of-trust rule: 1 fully-trusted signature validates a key; 3 marginally-trusted signatures also validate it. Chains can be at most 5 levels deep. ultimate is reserved for keys you own — never assign it to a contact.
GPG Keyring Certified
You generated real asymmetric keys, encrypted and decrypted a message using the correct public/private key roles, proved authenticity with a digital signature, caught a tampered message, verified a contact's fingerprint out-of-band, and assigned an appropriate web-of-trust level. Those four operations are the complete GPG operational workflow.