Create two-factor keys on macOS (and without third-party apps) — 2022

Security and privacy are increasingly in question in a totally digital world. However, Apple is a company that gives users a lot of tools to protect and preserve their users' data. One of these is double-factor authentication, which we are going to talk about at length in this post.

What is two-factor authentication?

First of all, what we want to tell you is what double-factor authentication really consists of. It is a additional security layer to those already existing for your Apple ID, so that you can rest assured that you are the only person who can access your account, and therefore, all the data you have in it.

This mechanism allows you to ensure that whenever you want log in to a device for the first time , you have to provide two types of information to correctly identify yourself and prevent someone else from accessing it with just your Apple ID and password. It is done by sending a Verification code that is sent to your trusted devices or your phone number. In this way your account, your data and your privacy will always be much more protected. Obviously, it is a function that from La Manzana Mordida we recommend you use to provide greater security and privacy to all your data, for this you just have to follow the following steps.

  1. On your Mac, select the Apple menu.
  2. Click System Preferences, and then Apple ID. Two factor authentication
  3. Select Password & security in the sidebar.
  4. Click Set up two-factor authentication and click Continue.
  5. Answer the verification questions and tap Verify.
  6. Enter your phone number to verify, select a verification method, and then click Continue.
  7. If prompted, verify your identity with the six-digit verification code sent to your trusted phone.

So you can use them

Once you know what double-factor authentication consists of and how you can activate it from your Apple computer, it's time to tell you how you can use it in different scenarios and situations. We encourage you to pay close attention to all the situations in which the use of this function can occur, since it is very important that you know how this system works.

Log in to a device or browser

Once you've turned on two-factor authentication, whenever you buy an Apple device and go to sign in to it for the first time, you'll automatically need to carry out two actions . First you will be asked your Apple ID password , and immediately afterwards the Verification code . It is a temporary code, which is only sent to your trusted devices or to your phone number and it is very important that for your security and privacy you do not share this code with anyone. The steps to be able to use this code when logging in on a new device or browser are as follows.

  1. When you are asked for the verification code, check your devices or trusted number to know it. In case you want to send it to your phone number, you just have to click on Did you not receive a verification code?, in the notification and then select the phone number.
  2. On a trusted device, tap Allow to view the code.
  3. Enter the code.

get double factor code

Get a verification code when you're offline

A problem in which you can find yourself is that at the moment in which you want to log in for the first time on a device or in the browser you cannot receive the verification code on your phone or any of your trusted devices, because they are not available or not at hand. However, Apple gives you the opportunity to get a verification code even if the Mac is not connected . To do this, you just have to follow the following steps.

  1. On your Mac, choose the Apple menu.
  2. Click System Preferences and then Apple ID.
  3. Select Password & security.
  4. Click Get verification code.
  5. Write down the verification code or enter it in the notification.
  6. Click OK.

trusted devices

Add or remove trusted device

Another aspect that you have to take into account is managing all trusted devices, both when adding new devices and if you want to remove them from the list so that they never receive any type of verification code again. . If you like see what your current devices are trusted, follow the steps below.

  1. On Mac, select Apple menu.
  2. Click on System Preferences and then on Apple ID
  3. At the bottom of the sidebar you can see which devices you trust.
  4. If you want to see the details of one of the devices, select it.

add number

It is possible that at any time you acquire another Apple device such as a Mac, an iPad or an iPhone and you want to add it to the list of trusted devices. To do this you have to follow a series of steps that we are going to indicate below and that will take you very few seconds to carry them out.

    To add a Mac with macOS Catalina or later:
    1. Select System Preferences.
    2. Click Sign in
    3. Enter your Apple ID and follow the instructions on the screen.
    To add a Mac with macOS 10.14 or earlier:
    1. Select the Apple menu.
    2. Click on System Preferences.
    3. Tap iCloud, and then tap Sign In.
    4. Enter your Apple ID and follow the instructions on the screen.
    To add an iOS or iPadOS device:
    1. Open Settings.
    2. Click on your name at the top of the screen.
    3. Verify your identity with a six-digit verification code.

Once you have performed these steps on your device, you will never be asked for it again , unless you sign out of your Apple ID completely, wipe your device, or need to change your password for security reasons. However, adding trusted devices is not the only thing you can do, you can also remove them, just follow the steps below.

Add or remove a trusted number

Finally, we also want to tell you, since it is of vital importance, how you can both add and remove trusted phone numbers. Have at least one , is one of the essential requirements that you have to meet if you want to use two-factor authentication. Follow the steps below if you want to add or remove a number to your list of trusted numbers.

  1. On your Mac, select the Apple menu.
  2. Click System Preferences and then Apple ID.
  3. Select Password & security in the sidebar.
  4. Click Edit, and then do any of the following.
      If you want to add a phone number.
      1. Click the Add button.
      2. Enter your Mac login password.
      3. Enter a phone number that can be used to verify your identity. 4. Select whether you want to be contacted by text or phone and click Continue. 5. Enter the code sent to the email address or phone number and click Next.
      If you want to remove an email address or phone number.
      1. Select a phone number or email.
      2. Click the Delete button.
      3. Click Delete.