docs: def export_public_keys(self, identities):
          """Export SSH public keys from the device."""
          public_keys = []
          with self.device:
              for i in identities:
                  pubkey = self.device.pubkey(identity=i)
                  vk = formats.decompress_pubkey(pubkey=pubkey,
                                                 curve_name=i.curve_name)
                  public_key = formats.export_public_key(vk=vk,
                                                         label=i.to_string())
                  public_keys.append(public_key)
          return public_keys