Recently I acquired a security Fido key that allows me to use the U2F protocol on some of my accounts. Now I know that these keys use public/private keys for the specified account but I'm stuck on the logic of one part. How does the Fido Key know what account to extract the Keys for?
Example: When I'm signing into my GitHub account and I click the button my key, how does it know that it needs my keys for GitHub?