wbillingsley / tutorial-thekey-mock-public

The Key. Find double agents in the American and British secret service, using a faked Ruritanian dead drop.
1 stars 2 forks source link

Something wrong with one British agent #1

Open luran opened 11 years ago

luran commented 11 years ago

I have problem with catching all agents using the same TheKeyTest. There's sometimes one female British agent who got away.

A successful run looks like this. The first three blocks were printed by TheKeyTest, and the last block came from Scenario. Some parts of the output, which I think is irrelevant, are omitted.

theCode=code(YLz=67zYlpdW3vqZ)
theVerifier=iRS8ygCQ27lbUl4bWGSO8PRY8ttK7xju

suspect=Alice Hope
using code(YLz=67zYlpdW3vqZ)
verifier=iRS8ygCQ27lbUl4bWGSO8PRY8ttK7xju

suspect=Goldilocks Hope
using code(YLz=67zYlpdW3vqZ)
verifier=iRS8ygCQ27lbUl4bWGSO8PRY8ttK7xju

Alice Hope says 'Ok, I give up. I'll come quietly.'
Goldilocks Hope says 'Ok, I give up. I'll come quietly.'
Congratuations, Mr Drake, we've caught them all! What would we do without you!

Sometimes I get the output like this instead.

theCode=code(VJqwW2KgY_1ioEXT)
theVerifier=DTUHXR_DRfb0sLNoSMkEBJNRwFFUn0M9

suspect=Alice Hope
using code(VJqwW2KgY_1ioEXT)
verifier=OBRQ2aNYeH6NFDSWLP8Bu7Q1A=4yg3bX

suspect=Goldilocks Hope
using code(VJqwW2KgY_1ioEXT)
verifier=DTUHXR_DRfb0sLNoSMkEBJNRwFFUn0M9

You spooked the suspect and they fled.  (wrong verifier)
Your verifier is OBRQ2aNYeH6NFDSWLP8Bu7Q1A=4yg3bX
The right verifier, this time, is DTUHXR_DRfb0sLNoSMkEBJNRwFFUn0M9

I first thought it might be a problem with the British dead drop, as Alice did use the right code. However, occasionally Alice does not even take the right phone.

theCode=code(FArhO3VOMyVD1l2_)
theVerifier=rs5cqAeUKBC38Z6UWjVwnBCLsWpEuBym

suspect=Alice Hope
using code(07iT6fZpdolzLFUY)
verifier=Iq56qfNGk08fTMHXa_Tm1JaQL5jGKHNq

suspect=Goldilocks Hope
using code(FArhO3VOMyVD1l2_)
verifier=rs5cqAeUKBC38Z6UWjVwnBCLsWpEuBym

Goldilocks Hope says 'Ok, I give up. I'll come quietly.'
Well done, Mr Drake, we've caught [*] of them! But I have a sneaking suspicion someone might have got away.

Can someone please give me a hint on how to catch all the agents every time? I guess I have misinterpreted some information about the key.

cammyd2 commented 11 years ago

This is confidential information and should not be openly shared. We'll be lucky to catch any agents now that they know what we're up to.

wbillingsley commented 11 years ago

Well done luran, you've reached the end of the tutorial! The issue you're facing is intentional -- it leads into a little teaching point I'll explain tomorrow in class.