passkey
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| passkey [2024.03.13 04:51] – [Passkey vs Password. What's the difference?] Steve Isenberg | passkey [2024.03.13 05:47] (current) – Steve Isenberg | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOCACHE~~ <fc # | ~~NOCACHE~~ <fc # | ||
| visits {{counter|today| time| times}} today, {{counter|yesterday| time| times}} yesterday, and {{counter|total| time total| total times}}]</ | visits {{counter|today| time| times}} today, {{counter|yesterday| time| times}} yesterday, and {{counter|total| time total| total times}}]</ | ||
| - | |||
| - | Presentation can be include [[https:// | ||
| Line 11: | Line 9: | ||
| [[https:// | [[https:// | ||
| - | The following digested from [[https:// | + | The following digested from [[https:// |
| ===Passwords - shared secret=== | ===Passwords - shared secret=== | ||
| - | - When you create an account, you choose a password, a '' | + | - When you create an account, you choose a password, a '' |
| - The website uses a math algorithm to encrypt/ | - The website uses a math algorithm to encrypt/ | ||
| - | - When you login, the website uses the same math to encrypt/ | + | - When you login, |
| + | - The website uses the same math to encrypt/ | ||
| - If the two hashes match then you're in | - If the two hashes match then you're in | ||
| + | |||
| + | ===Passwords: | ||
| + | * Passwords can be guessed | ||
| + | * Passwords can be seen in transit | ||
| + | * Passwords need to be complex (u/l case, #, special chars) and long so hard to guess | ||
| + | * Some websites may save the password and not the hash (and passwords are compromised in a breech) | ||
| + | * Best to use a password manager to create and store complex passwords different for each website (e.g., BitWarden, 1Password, Dashland, KeePass) | ||
| ===Passcodes - use public key cryptology=== | ===Passcodes - use public key cryptology=== | ||
| * Each passkey is a pair of keys: a public key and a private key | * Each passkey is a pair of keys: a public key and a private key | ||
| * These are mathematically linked together | * These are mathematically linked together | ||
| - | * Public key is stored by the website | + | * Public key is given to and stored by the website |
| * Private key is never shared | * Private key is never shared | ||
| + | |||
| + | Public info: your public key and the algorithm used (e.g., 3DES, AES, RSA)\\ | ||
| + | f( f(number, public key) , private key) = number\\ | ||
| + | [[https:// | ||
| ===Signing in using Passcodes=== | ===Signing in using Passcodes=== | ||
| - | - Your device asks website to log in | + | - Your device asks website to log you in |
| - Website encrypts some arbitrary number (a '' | - Website encrypts some arbitrary number (a '' | ||
| - Your device uses your private key to decrypt this and sends back the decrypted number | - Your device uses your private key to decrypt this and sends back the decrypted number | ||
| - The website verifies that what you sent in #3 matches the arbitrary number it encrypted in #2 | - The website verifies that what you sent in #3 matches the arbitrary number it encrypted in #2 | ||
| + | - If there' | ||
| ===Passcodes: | ===Passcodes: | ||
| Line 35: | Line 46: | ||
| * Attackers can't do anything if they get your public key (it's useless without your private key that you never share) | * Attackers can't do anything if they get your public key (it's useless without your private key that you never share) | ||
| * Attackers can't see anything useful in transit like they can with passwords | * Attackers can't see anything useful in transit like they can with passwords | ||
| + | * You can have many public-private key pairs (I haven' | ||
| + | | ||
| + | (Argument: passkeys can be guessed. Yes, you can guess a 1024-bit or ~300 digit number given enough time and computing resources. | ||
| | | ||
| - | |||
| - | ====Using passwords==== | ||
| - | - Sign up with a website, eg, buystuff.com | ||
| - | - Buystuff accepts a password you create, Buystuff needs to remember this password | ||
| - | - You need to remember this password, using a password manager like KeePassXC or others or writing it down | ||
| - | - When you log in, you need to send the password to buystuff.com | ||
| - | - Buystuff makes sure you entered the correct password and if so lets you in | ||
| - | |||
| - | ====Using passkeys==== | ||
| - | - You are using a password manager that supports Passkeys | ||
| - | - Sign up with a website that supports Passkeys, eg, betterstuff.com | ||
| - | - Betterstuff may first require that you create a password to log in | ||
| - | - You tell Betterstuff that you want to use Passkeys | ||
| - | - Your password manager creates a Public and Private key that's unique for you | ||
| - | - You give the Public key to betterstuff.com | ||
| - | - The Private key never leaves your device (stays in password manager)\\ | ||
| - | - When you want to log into betterstuff.com, | ||
| - | - Only you can decrypt the message as only you have the Private key | ||
| - | - You decrypt the message and send back the secret number or character string to betterstuff.com | ||
| - | - The website betterstuff.com receives this, compares it to the number or string that they encrypted and sent, and if matches they know it is you, and you're logged in | ||
| - | //A lot of this happens behind the scenes.// | ||
| ===1. Passkey Example=== | ===1. Passkey Example=== | ||
| Line 93: | Line 86: | ||
| ==2b. Creating passkey== | ==2b. Creating passkey== | ||
| + | < | ||
| This from video [[https:// | This from video [[https:// | ||
| Line 104: | Line 98: | ||
| - Log out, log in. Select the icon where userID is entered, select Shopify. | - Log out, log in. Select the icon where userID is entered, select Shopify. | ||
| - You're logged in. | - You're logged in. | ||
| + | </ | ||
| + | |||
| + | At Nintendo | ||
| + | - In BitWarden, create login for Nintendo(name, | ||
| + | - Go to nintendo.com (the website) | ||
| + | - Sign-up | ||
| + | - Select the login info f/BitWarden | ||
| + | - Get verification email w/code, enter 4-digit code on Nintendo | ||
| + | - Log out, log in using new acct | ||
| + | - Account settings > Sign-in and security settings | ||
| + | - Scroll to Passkey, Edit | ||
| + | - Register a New Passkey | ||
| + | - Follow verification process: Submit to start it | ||
| + | - Enter 6-digit code | ||
| + | - Register | ||
| + | - BitWarden: select the login you just created to save the passkey | ||
| + | |||
| + | Let's try it | ||
| + | - Sign out | ||
| + | - Sign in '' | ||
| + | - BitWarden: select the login you just created to use its saved passkey | ||
| + | You're in. | ||
passkey.1710330701.txt.gz · Last modified: by Steve Isenberg
