A surgical hub configured to authenticate surgical devices (235, 241) coupled to the surgical hub, the surgical hub comprising: a processor; and a memory coupled to the processor, the memory storing instructions executable by the processor to: detect that a surgical device is communicatively coupled to the surgical hub; receive an encrypted identifier and a source ID from the surgical device; transmit a first message from the surgical hub to a server of a surgical device manufacturer associated with the source ID, wherein the first message comprises the encrypted identifier, and wherein the first message is encrypted using a public key associated with the surgical device manufacturer; receive a second message from the server of the surgical device manufacturer, wherein the second message is encrypted using a public key associated with the surgical hub, and wherein the encrypted second message comprises a shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted second message using a private key associated with the public key used to encrypt the second message to reveal the shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted identifier of the surgical device using the shared secret to reveal the identifier to authenticate the surgical device and its manufacturer; compare the decrypted identifier to a list of authorized identifiers; and permit use of the surgical device based on a match of the decrypted identifier to an authorized identifier in the list. a processor; and a memory coupled to the processor, the memory storing instructions executable by the processor to: detect that a surgical device is communicatively coupled to the surgical hub; receive an encrypted identifier and a source ID from the surgical device; transmit a first message from the surgical hub to a server of a surgical device manufacturer associated with the source ID, wherein the first message comprises the encrypted identifier, and wherein the first message is encrypted using a public key associated with the surgical device manufacturer; receive a second message from the server of the surgical device manufacturer, wherein the second message is encrypted using a public key associated with the surgical hub, and wherein the encrypted second message comprises a shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted second message using a private key associated with the public key used to encrypt the second message to reveal the shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted identifier of the surgical device using the shared secret to reveal the identifier to authenticate the surgical device and its manufacturer; compare the decrypted identifier to a list of authorized identifiers; and permit use of the surgical device based on a match of the decrypted identifier to an authorized identifier in the list. detect that a surgical device is communicatively coupled to the surgical hub; receive an encrypted identifier and a source ID from the surgical device; transmit a first message from the surgical hub to a server of a surgical device manufacturer associated with the source ID, wherein the first message comprises the encrypted identifier, and wherein the first message is encrypted using a public key associated with the surgical device manufacturer; receive a second message from the server of the surgical device manufacturer, wherein the second message is encrypted using a public key associated with the surgical hub, and wherein the encrypted second message comprises a shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted second message using a private key associated with the public key used to encrypt the second message to reveal the shared secret associated with the encrypted identifier of the surgical device; decrypt the encrypted identifier of the surgical device using the shared secret to reveal the identifier to authenticate the surgical device and its manufacturer; compare the decrypted identifier to a list of authorized identifiers; and permit use of the surgical device based on a match of the decrypted identifier to an authorized identifier in the list.