<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Improve Wallet Interoperability and Federation in Blockchain-Based User-Centric Authentication for Healthcare</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Biagio Boi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Franco Cirillo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco De Santis</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christian Esposito</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Salerno</institution>
          ,
          <addr-line>Via G. Paolo II 132, Fisciano, 84084</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>31</fpage>
      <lpage>42</lpage>
      <abstract>
        <p>The continuous enhancement and extensive digitalization of medical services have raised various challenges regarding security and privacy. Among these, authentication is one of the most critical, considering identity spoofing and weak passwords. Recently, novel authentication methods such as user-centric authentication are trying to solve the problem by moving identity data and relative claim verification away from a centralized identity manager. When turning this paradigm into the medical domain, it is needed to encompass that not all users are equal, but certain classes are characterized by precise privileges with respect to authentication, such as doctors that must be prioritized over patients. Moreover, it is unfeasible to impose a single technology and infrastructure within an ecosystem characterized by current medical applications; therefore, multiple diferent solutions need to coexist. In this paper, we discuss a novel framework able to cope with the interoperability, backup and restore of Blockchain-based Self-Sovereign Identity (SSI) wallets. We particularly evaluated the system in a medical context by outlining the diferent roles of holders with related wallet typologies. Our approach demonstrates its feasibility through the use of a shared registry and smart contract that can smoothly work with two kinds of wallet implementation in a federation of issuers and verifiers.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;User-centric authentication</kwd>
        <kwd>Verifiable Credentials</kwd>
        <kwd>Medical Authentication</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In the continuous evolution of digital applications in the medical domain, the need for robust
identity management solutions has never been more pressing. With each passing day, the threat
of data breaches looms large, casting a shadow of uncertainty over the integrity of personal
information, especially in sensitive areas such as medical records. In this situation, the traditional
centralized approach to identity and claim management systems has come under intense scrutiny.
Recently, novel authentication methods rely on delegation to ease the usability for non-expert
or impaired users [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], but this may cause the issue of user profiling because it could result
in the delegate engaging in malicious actions by exploiting the acquired data. To overcome
these problems, novel authentication means have been proposed with the help of hardware
devices. The concept of password-less authentication and more in general of mechanisms
based on Proof of Possession (PoP) started to take place in almost all contexts, including the
medical one, though the usage of Hardware Security Module (HSM)[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. By eliminating the
reliance on easily compromised passwords, this approach not only enhances security but also
streamlines the user experience, making access to critical medical information more seamless
and intuitive. This new approach well aligns with the concept of Self-Sovereign Identity (SSI)[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
Empowering individuals with the ability to assert and verify their identities without the need
for intermediaries, SSI represents a paradigm shift towards greater autonomy and control
over personal data. By leveraging cryptographic principles, SSI ensures that individuals retain
ownership of their digital identities, mitigating the risks associated with centralized authority.
Moreover, SSI aligns seamlessly with the principles of Verifiable Credentials (VCs)[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], ofering
individuals the ability to securely manage and share self-verifiable attributes. Through the use
of cryptographic properties, VCs enable individuals to selectively disclose pertinent information
while maintaining privacy and confidentiality. Anyway it’s essential to recognize that in the
medical context not all users bear the same level of responsibility. For instance, the role of
physicians and doctors is paramount and should be prioritized over patients. Consequently,
physicians should have stronger authentication measures, as the compromise of their identity
carries a more significant impact, whereas patients may have less stringent requirements. This
consideration leads to the conclusion that imposing a single technology and infrastructure
within a medical ecosystem is not feasible. Various approaches exist for managing SSI wallets,
which serve as the sole component necessary for storing credentials in almost all SSI-based
solutions. Typically, the relationship between privacy and information security is further
reinforced by integrating biometrics within SSI wallets. Technologies like fingerprint scans,
facial recognition, and voice recognition ofer unique physiological or behavioral identifiers
that authenticate users and safeguard access to their SSI wallets, thereby reducing the risk of
unauthorized access. Biometric data is directly tied to the individual and is less susceptible
to compromise or theft compared to traditional passwords or PINs. On the contrary, these
wallets often employ QR code-based authentication procedures, posing challenges for parties
with limited time to complete such processes, such as doctors. Healthcare professionals are
accustomed to traditional identity verification methods and access to medical records, which
typically involve centralized systems and familiar procedures. Introducing new technologies like
SSI wallets necessitates substantial education and training to ensure healthcare professionals
can use them efectively and securely [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Additionally, SSI requires users to locally store the
credentials used for identification. While this enhances privacy, it also presents challenges for
users who frequently change devices, such as doctors who often switch devices used for access.
      </p>
      <p>In this paper, we exploit existing SSI solutions to provide a definite solution to credentials
restore and distinguish diferent kinds of users based on their responsibilities. The proposed
solution also enhances the participation to the protocol from the parties, such as the doctors,
that currently use hardware-based mechanism for the verification of the ownership of a VC.
Rather than having to remember complex passwords or undergo time-consuming authentication
processes, doctors can simply insert their USB device into a computer or mobile device to securely
access their SSI wallet. This streamlined authentication process saves time and reduces potential
frustration for busy healthcare professionals.
The key contributions of the current manuscript are listed below:
• Propose an interoperable authentication framework in the medical context that is able to
authenticate all parties w.r.t. their needs using user-centric authentication.
• Demonstrate the feasibility of a federative context where multiple hospitals collaborate
to enhance trust and reliability.
• Provide a smart contract-based system able to provide backup and restore features to</p>
      <p>Verifiable Credentials (VCs) through the use of a Trusted Platform Module (TPM).</p>
      <p>The rest of the paper is structured as follows: Section 2 provides background on the need
for robust identity management solutions in the medical domain. In Section 3, the proposed
interoperable authentication framework for user-centric authentication in the medical context
is discussed. Section 4 explores the implementation of a federated approach to authentication
among multiple hospitals, ensuring interoperability and data sharing, along with the smart
contract-based system for backup and restore features to Verifiable Credentials (VCs) using a
Trusted Platform Module (TPM). Section 5 delves into the advantages and challenges of the
proposed architecture. Finally, Section 6 concludes the paper by summarizing the key findings
and contributions in user-centric authentication and interoperability in the medical domain.</p>
    </sec>
    <sec id="sec-2">
      <title>2. State of The Art</title>
      <p>
        Decentralization in the medical domain has demonstrated its eficiency through multiple
applications [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], with the most relevant ones being patient-centric health information [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and
blockchain-based solutions [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. These solutions aim to remove the necessity for a centralized
server where users’ data are stored. Despite these advancements in data management solutions,
some solutions still leverage centralized or federated authentication, which, if not developed
securely, may potentially lead to illegal access [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ]. User-centric authentication is paving
the way for a more secure paradigm for identifying patients [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. However, considering the
diferent use cases where SSI can be applied, there is a need to make these multiple solutions
interoperable and always available, in both terms of time and space. Focusing our research on
the second layer of SSI, identified as Communications and Interfaces in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], it is possible to better
understand which are the current limitations of existing solutions. A Communication protocol
in SSI context is defined by DIDComm [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], which ofers transport-agnostic, flexible, and
interoperable communication. This protocol is currently implemented in a huge number of solutions,
guaranteeing a good level of interoperability among diferent solutions. Transitioning the SSI
paradigm into the medical domain necessitates wallets with enhanced functionalities compared
to traditional contexts. Through our analysis, two primary requirements have surfaced: wallets
interoperability [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and the ability to restore credentials.
      </p>
      <p>
        Wallets interoperability addresses the need to transcend the constraints imposed by a singular
user definition [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The existence of multiple wallets enables tailored solutions for diferent
use cases, accommodating the diverse needs of various stakeholders within the system.
Technical interoperability, crucial for seamless communication and information exchange among
diferent software entities, remains paramount. Noteworthy eforts have been made to achieve
interoperability across various wallets and technologies, as evidenced by recent discussions
[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>
        In device-sharing contexts or contexts where users frequently change devices to authenticate
in a system, the credentials restore is another crucial point to make SSI available in any space
and at any time. This is clearly dificult to award if we consider that credentials are typically
stored on a single device, without any duplicates. This aspect highlights the importance of a
mechanism to restore credentials seamlessly to ensure continuous access to essential services
and information. Backup and restore mechanisms are currently implemented in commercial
solutions such as Sovrin [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] uses a kind of social backup through the usage of custodians; while
uPort [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] uses a smart contract as a mechanism for swapping private keys. In [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] an auditing
service has been defined in conjunction with a distributed ledger which is able to promote new
users and restore credentials. All the described mechanisms are based on the loss of the private
key associated with the wallet, however, in our use case, the challenge lies not in key loss, but
in seamlessly transitioning between devices for doctors who maintain control over their keys.
Existing solutions, while efective in other domains, may not directly translate to the medical
scenario, which involves diverse actors interacting with a shared registry. Our proposal aims
to address this specific challenge by focusing on the implementation of each role within the
medical ecosystem, along with their interactions and backup mechanisms. Instead of dealing
with key loss, our solution will prioritize the seamless transfer of credentials between devices
used as temporary or long-term wallets by doctors.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed System</title>
      <p>This section illustrates how the medical context employs SSI-based Decentralized Identifiers
(DIDs) and VCs to award user-centric authentication. Considering the complexity of the medical
domain, these parties operate at diferent levels, all awarding the decentralized authentication.
This procedure necessitates an evaluation of their roles concerning the security equipment.
Given the current focus of the work, which is to deploy interoperable solutions among all
parties in the trust triangle, we will relax some technical details about the issuer and verifier’s
cryptographic wallet used while focusing more on the various typologies of cryptographic
wallets owned by the holders and their interoperability.</p>
      <sec id="sec-3-1">
        <title>3.1. Overview</title>
        <p>The overarching system depicted in Fig. 1 delineates the hospital’s role as the issuer of
credentials and a web-based platform as the verifier. This platform, situated within the hospital’s
infrastructure, serves as the operational hub housing pertinent patient information. Aligned
with the trust triangle paradigm, all involved parties necessitate interaction with a shared
registry to facilitate user-centric authentication processes, encompassing the issuance,
verification, and revocation of credentials. Central to our proposed system is the critical challenge of
ensuring interoperability across diverse cryptographic wallet types, specifically hardware-based
and mobile wallets. Currently, multiple implementations exist for the creation of SSI solutions,
but we have to consider that none of them gives us direct interoperability with heterogeneous
wallets. In fact, most of the solutions ofer a single way of providing wallets, which can be
a desktop or a mobile wallet. Some experimental solutions, instead leverages IoT devices to
ofer authentication. In what follows, we want to cover this aspect by exploiting the security
motivation behind the imperative for dual wallet implementations, along with a comprehensive
analysis of the system components and possible technologies implementing interoperability.
Finally, a practical demonstration showcasing the implementation of an access control system
grounded in this model will be provided.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Scenario</title>
        <p>Alice arrives at a hospital due to issues related to diabetes. Upon Alice’s arrival at the hospital,
she presents her identification documentation to the triage staf. Meanwhile, in the hospital’s
backend infrastructure, a robust authentication mechanism is at play to ensure secure access
to Electronic Health Records (EHR). Dr. Bob, specializing in diabetes management, recognizes
Alice’s need for immediate attention. To provide efective care, Bob must access Alice’s medical
history stored in her EHR. However, accessing this sensitive information requires adherence
to strict authentication protocols. Bob, like all healthcare professionals, possesses credentials
issued by the hospital. These credentials, serving as his digital identity within the healthcare
system, are fundamental to accessing patient records. When Bob attempts to log in to the
platform, his credentials are verified through a secure authentication process. Once Bob identity
is confirmed, the platform checks his authorization level. As a diabetes specialist, Bob is granted
access to relevant medical records related to Alice’s condition. This authorization verification
ensures that Bob can only view information pertinent to his area of expertise, safeguarding
patient privacy and confidentiality. In addition to facilitating access to medical records for
healthcare professionals like Dr. Bob, the platform also ofers a user-friendly interface for
patients like Alice to engage with their EHR. Through the platform’s patient portal, Alice gains
the ability to review her medical history, upcoming appointments, and any prescriptions issued
by Dr. Bob or other healthcare providers across diferent hospitals. Empowered by her mobile
wallet, Alice can seamlessly access and navigate her EHR, ensuring a user-friendly experience.
The mobile wallet serves as her digital gateway to the platform, providing convenient access to
critical health information at her fingertips.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Roles Definition</title>
        <p>The entities involved in a typical medical system bear various responsibilities. For instance, a
physician should possess the capability to access patient data pertinent to their specialty while
being restricted from accessing the data of other patients. Furthermore, given the critical role
of physicians, stringent access control measures must be ensured. We delve into the three roles
implicated in SSI-based authentication, which find applicability within a medical framework.</p>
        <p>The issuer assumes the responsibility for issuing new Verifiable Credentials (VCs), establishing
a schema, and potentially executing the revocation of issued VCs. In our scenario, hospitals
are regarded as autonomous issuers. They maintain a wallet integrated into the platform,
enabling them to issue credentials to patients seeking access to the platform, thereby mitigating
the involvement of malicious nodes. This approach also facilitates the depiction of hospital
federation, wherein hospitals are enlisted to participate in the system either by other hospitals
already authorized or by the System Administrator (SA). As we will introduce later in this
section, the issuer is also responsible for releasing new keys to the doctors, needed for the
authentication procedures. By now, we identify the hospitals with a unique public decentralized
identifier ℎ associated with an asymmetric key pair ℎ = (, ). We do not
focus on the technical implementation of these keys, but simply suppose that these keys are
connected to the DID, and securely managed by the owner. We refer to the set of hospitals
authorized to the release of new credentials as  = {ℎ1, ℎ2, ..., ℎ}. Moreover,
depending on the type of wallet and on the nature of the user (which as said, can be a doctor or
patient), will check for the needed requirement and then release the credentials.</p>
        <p>The holders of our system can be both patients and doctors, acting with diferent wallets,
depending on their responsibilities and priority in the system. As depicted in Fig. 1 there are
two holders:
• Patient(s) - Constituting the typical users of the proposed system, patients are tasked
with receiving information from doctors within a hospital setting. Not confined to a
singular hospital, patients possess the ability to authenticate across multiple platforms. A
feasible means of categorizing patients involves the utilization of the Tax Identification
(ID) code, which serves as a unique identifier within a federated system, thus transcending
individual system boundaries. Given the imperative for patients to access the system
at their discretion and from various devices, the facilitation of authentication through
a mobile wallet proves advantageous. Furthermore, considering the ubiquity of mobile
devices among patients, it is reasonable to assume the presence of an identity management
application tasked with receiving credentials from the respective hospital(s). A backup
system it is not needed since the users can always ask to the physical hospital to re-issue
the credentials in order to access the system.
• Doctor(s) - Representing the most critical component of the proposed system, doctors
engage with the system at a heightened frequency relative to patients. Given the exigencies
of their professional obligations, doctors are unable to feasibly engage in authentication
procedures reliant upon QR codes and mobile applications, as necessitated by patient data
lfows. Moreover, owing to the fluidity of doctors’ work arrangements and the potential
for device turnover, the adoption of a robust backup system becomes imperative for
credential retrieval across disparate wallets. In this context, the employment of FIDO2
keys emerges as a viable means of doctor authentication within the medical system, with
authentication predominantly facilitated through desktop-based wallets.</p>
        <p>According to the description given in the scenario, the role of verifier is depicted by the
platform used for managing EHR, such as the hospital platform. We suppose that this platform
is a decentralized data management platform able to manage all the EHRs from the patients.
Notice that it is also possible to consider a federation of verifier, where each platform store the
data coming from a single patient and connect with the other with purpose-specific API. As it is
conceivable that a federation comprising multiple hospitals adopts the proposed system for the
release of credentials, the same is true for the verification platforms housing the comprehensive
medical records of their respective patient cohorts. Under this framework, each hospital profers
its individualized platform, all of which are underpinned by a unified identification system,
thereby ensuring seamless interoperability and data sharing among disparate healthcare entities.
This party, as in the general SSI framework request Verifiable Presentation (VP) to the users to
authenticate for the resources available in the system. At the end of this section we will exploit
a role-based system for the access control of a medical system.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Patients Wallet</title>
        <p>Patient(s) are normal users of the system, with no responsibilities in the system because they
cannot influence other users as doctors can instead accomplish this. Anyway, such users must
be able to protect their data, as well as the credentials needed for access to the platform. A
wellestablished platform is Credo.js, which ofers all the support for interacting with a distributed
ledger and provides all the tools needed for securing communication. As depicted in Fig. 2 we
developed a mobile application able to perform all the tasks required by the platform, requiring
the users to access it using the biometric source (i.e. face, fingerprint), depending on the device
in which the application is installed. On the left side of Fig. 2 we show the standard procedure
used to accept proposals for new VCs. This procedure entails users scanning a QR Code for
connection establishment and subsequently either accepting or rejecting proposals for new VCs.
Once the user stores the credentials in his wallet, it is possible to use them for authentication on
the platform. Likewise, as shown in the right side of Fig. 2, users can access services by initiating
connections with the service provider and awaiting requests for Verifiable Presentations (VPs).
As it is possible to notice, once the VP has been received by the patient, it can be both accepted
or rejected. Moreover, by looking at the top of the right side, it is possible to notice a case where
the service is asking the user to provide a VP about non-existing credentials, blocking access.
This authentication method aligns with the familiarity of the majority of users, particularly
considering that the national authentication system relies on QR Codes.</p>
      </sec>
      <sec id="sec-3-5">
        <title>3.5. Doctor Wallet</title>
        <p>Despite presenting a valuable solution for identity management, mobile wallets are not
recommended for the role of doctors. As we can imagine, within a hospital, doctors do not care about
mobile phones and do not have enough time for the authentication procedure, or more critically
change the device. We demonstrated that the QR Code-based approach requires much more
time and actions by the users (i.e. scan the QR Code, accept the request, and so on). Doctors,
instead, already trust the service, which is the platform used within the hospital, and do not
need to check for the VPs before releasing credentials. To be more clear, the doctors will always
connect with the same hospital, without requiring to change hospitals or to check for which
hospital is asking the credential.</p>
        <p>In light of the motivation explained, we adopted a Trusted Platform Module (TPM) able to
protect the key pairs used in the SSI ecosystem. Each doctor will leverage this module for the
authentication procedure. A typical TPM used in the context of authentication is the FIDO2
hardware key. As depicted in Fig. 3, the doctors hold a key that is used for the authentication
procedure. By going deeper in analyzing the proposed approach, we outlined a desktop wallet
instead of a mobile wallet. The key diference between these two systems is the usage of a
single device as a multiple wallets container. In this way, a single desktop computer may be
used by multiple doctors who will authenticate themselves with a diferent key.</p>
        <p>This is possible through the usage of Veramo SDK, which ofers the possibility to manage
multiple wallets in one device through the encryption of this wallet with a custom key. Let
the doctor hold a single key pair associated with the FIDO2 device, and define it as  =
(, ). The private key will be used by the desktop wallet to both generate a public DID
for the wallet and the encryption of the associated wallet, as well as encrypt the credentials. In
this way, more than a single doctor can access a desktop and authenticate itself in the system.</p>
        <p>To perform the authentication as illustrated in Fig. 3, the enrollment procedure requires that
when a new doctor is taken by the hospital, then a FIDO2 key will be given to him. This choice
eficiently solves the problem of identify the doctors across multiple platforms. To be more
precise, this also solves the problem related to the backup. If the user loses the wallet or changes
the desktop then he also misses the credentials contained in it. In what follows we will give
a detailed explanation of this backup system that has been described as WalletNotFound alt
in Fig. 3. If the user has already logged in on a computer, the desktop wallet has already been
recovered and should only be unlocked. This is easily done by sending the cyphered wallet to
the user, which by pressing the button on the FIDO2 key will be able to decrypt the wallet with
the related secret key. As soon as he finishes the session, will remove the FIDO2 key, and the
wallet will be again locked, waiting for a new key to authenticate.</p>
      </sec>
      <sec id="sec-3-6">
        <title>3.6. VCs Backup</title>
        <p>As introduced, it is hard to consider that doctors use a single desktop, which is used by only one
doctor. Doctors typically use desktop computers in exchangeable ways and frequently change
machines. When this happens from the patient side, there is no problem since they will be able
to ask for new credentials without impacting the overall availability of the system. When this is
turned on in the case of doctors, a challenge arises since they may not be able to ask the issuer
for the release of a new credential in a timely way.</p>
        <p>In Fig. 3, we depicted an alternative flow when a doctor uses a desktop without his credentials
saved on a wallet. The proposed approach uses a smart contract for the retrieval of credentials
previously released by the issuer. To be more precise, each time the issuer releases a new FIDO2
key, it then registers into the blockchain a new record. By looking at Fig. 4, we defined a
mapping between a public address and a string named addressToEncryptedUrl. This mapping
allows the issuer to map a credential release request to a given user wallet associated with the
FIDO2 key by leveraging the key generation function. To prevent attacks we decided to encrypt
the credential issue URL with the  stored in the key so that only the real owner can decrypt
the content using the . When the wallet retrieves the credential request, it can proceed
with the recovery by automatically receiving the credential from the issuer.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Discussion</title>
      <p>One of the key challenges in implementing a decentralized authentication system in the medical
domain is ensuring interoperability and federation among various stakeholders, including
hospitals, healthcare providers, and patients. To address this challenge, our proposed system
adopts a federated approach, wherein multiple hospitals use the proposed trust triangle to
release credentials and authenticate users. Each hospital acts as an independent issuer within
the federation, responsible for issuing and managing credentials for its respective patients and
healthcare providers. However, users are able to change hospitals and to demonstrate their
identity in a new platform through the usage of a Verifiable Data Registry (VDR), which is at
the basis of the trust triangle. The proposed system well adapts to the needs of each party of
the systems by using a diferent approach for managing the identities of the users. To ensure
seamless technical interoperability, our system implements standardized protocols and data
formats for credential exchange and verification. This interoperability has been made possible
by using an SSI implementation able to cope with multiple wallet representations. In fact,
we implemented our system by leveraging Credo.js from patients side and Veramo SDK from
doctors side. Both implementations communicate with a shared VDR which is supported by
Cosmos. This VDR takes the name of Cheqd and tries to solve the problem of interoperability,
by supporting semanthical interoperability. Additionally, our system leverages the Cosmos
ecosystem to facilitate interoperability among diferent cryptographic wallet types and platforms.
By adopting a modular and extensible architecture, we enable seamless integration with existing
healthcare systems and third-party applications, allowing for easy adoption and scalability.
Furthermore, our federated approach to authentication enables patients to access healthcare
services across multiple hospitals using a single set of credentials. This not only simplifies the
user experience but also enhances security by centralizing credential management and reducing
the risk of credential misuse or duplication. Through the use of DIDs, which are unique and
intrinsically linked to the identity of an individual or entity; it is not possible to replicate or
duplicate a party. Each DID is unique and uniquely represents the specific identity associated
with it. This fundamental feature ensures the integrity and uniqueness of identities in the
context of credential management and decentralized authentication. Suppose the doctor’s DID
is represented as follows: doctor = did:example:1234... This DID is unique and uniquely
represents the doctor’s identity in the system. This ensures that the system is secure and unique
for both patients who have their own wallets in their devices and for doctors who keep it
associated with the hardware security module (HSM). Furthermore, the smart contract mapping
mechanism ensures secure credential management by establishing a link between users’ wallet
addresses and encrypted URLs. This ensures only the issuer can access the original URL and be
able to release the VC. Clearly, if a malicious node tries to get the VC of a doctor, it will not be
possible since VCs are encrypted with the public key of the original owner.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>Decentralization of medical systems presents a promising avenue for enhancing eficiency,
security, and patient-centricity in healthcare. Throughout this paper, we have explored the role
of user-centric authentication, considering all the parties involved in a traditional application
within the medical domain. These innovations aim to shift away from traditional centralized
authentication models towards more secure and transparent systems. Further enhancements to
the proposed system are related to the integration of other parties, such as Internet of Medical
Things (IoMT) devices, as new holders able to perform sensing tasks. More fine-grained access
control may be considered for the access of doctors to the platform. Finally, the introduction of
eIDAS wallet must be taken into account when designing future SSI-based authentication.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>This work was partially supported by the project "DHEAL – COM- Digital Health Solutions in
Community Medicine" under the Innovative Health Ecosystem (PNC) - National Recovery and
Resilience Plan (NRRP) program funded by the Italian Ministry of Health.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>U.</given-names>
            <surname>Khalil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ahmad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.-H.</given-names>
            <surname>Abdel-Aty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Elhoseny</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. W. A.</given-names>
            <surname>El-Soud</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zeshan</surname>
          </string-name>
          ,
          <article-title>Identification of trusted iot devices for secure delegation</article-title>
          ,
          <source>Computers &amp; Electrical Engineering</source>
          <volume>90</volume>
          (
          <year>2021</year>
          )
          <fpage>106988</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. U.</given-names>
            <surname>Din</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Majali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.-S.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <article-title>A survey of authentication in internet of things-enabled healthcare systems</article-title>
          ,
          <source>Sensors</source>
          <volume>22</volume>
          (
          <year>2022</year>
          )
          <fpage>9089</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Preukschat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Reed</surname>
          </string-name>
          ,
          <article-title>Self-sovereign identity</article-title>
          ,
          <source>Manning Publications</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Sedlmeir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Smethurst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rieger</surname>
          </string-name>
          , G. Fridgen,
          <article-title>Digital identities and verifiable credentials</article-title>
          ,
          <source>Business &amp; Information Systems Engineering</source>
          <volume>63</volume>
          (
          <year>2021</year>
          )
          <fpage>603</fpage>
          -
          <lpage>613</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Shuaib</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Alam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Alam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Nasir</surname>
          </string-name>
          ,
          <article-title>Self-sovereign identity for healthcare using blockchain</article-title>
          ,
          <source>Materials Today: Proceedings</source>
          <volume>81</volume>
          (
          <year>2023</year>
          )
          <fpage>203</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>H.</given-names>
            <surname>Taherdoost</surname>
          </string-name>
          ,
          <article-title>The role of blockchain in medical data sharing</article-title>
          ,
          <source>Cryptography</source>
          <volume>7</volume>
          (
          <year>2023</year>
          )
          <fpage>36</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhuang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. R.</given-names>
            <surname>Sheets</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.-W.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.-Y.</given-names>
            <surname>Shae</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Tsai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.-R.</given-names>
            <surname>Shyu</surname>
          </string-name>
          ,
          <article-title>A patient-centric health information exchange framework using blockchain technology</article-title>
          ,
          <source>IEEE Journal of Biomedical and Health Informatics</source>
          <volume>24</volume>
          (
          <year>2020</year>
          )
          <fpage>2169</fpage>
          -
          <lpage>2176</lpage>
          . doi:
          <volume>10</volume>
          .1109/JBHI.
          <year>2020</year>
          .
          <volume>2993072</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Dubovitskaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Baig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Shukla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. S.</given-names>
            <surname>Zambani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Swaminathan</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. M. Jahangir</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Chowdhry</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Lachhani</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Idnani</surname>
          </string-name>
          , et al.,
          <article-title>Action-ehr: Patient-centric blockchain-based electronic health record data management for cancer care</article-title>
          ,
          <source>Journal of medical Internet research 22</source>
          (
          <year>2020</year>
          )
          <article-title>e13598</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>U.</given-names>
            <surname>Khalil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O. A.</given-names>
            <surname>Malik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Uddin</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.-L. Chen</surname>
          </string-name>
          ,
          <article-title>A comparative analysis on blockchain versus centralized authentication architectures for iot-enabled smart devices in smart cities: A comprehensive review</article-title>
          ,
          <source>recent advances, and future research directions, Sensors</source>
          <volume>22</volume>
          (
          <year>2022</year>
          ). URL: https://www.mdpi.com/1424-8220/22/14/5168. doi:
          <volume>10</volume>
          .3390/s22145168.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Z. A.</given-names>
            <surname>Khattak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Sulaiman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-L. A.</given-names>
            <surname>Manan</surname>
          </string-name>
          ,
          <article-title>A study on threat model for federated identities in federated identity management system</article-title>
          ,
          <source>in: 2010 International Symposium on Information Technology</source>
          , volume
          <volume>2</volume>
          ,
          <year>2010</year>
          , pp.
          <fpage>618</fpage>
          -
          <lpage>623</lpage>
          . doi:
          <volume>10</volume>
          .1109/ITSIM.
          <year>2010</year>
          .
          <volume>5561611</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Constantinides</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Belk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Fidas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pitsillides</surname>
          </string-name>
          ,
          <article-title>Design and development of a patientcentric user authentication system</article-title>
          ,
          <source>in: Adjunct Publication of the 28th ACM Conference on User Modeling, Adaptation and Personalization</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>201</fpage>
          -
          <lpage>203</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Satybaldy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Ferdous</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nowostawski</surname>
          </string-name>
          ,
          <article-title>A taxonomy of challenges for self-sovereign identity systems</article-title>
          ,
          <source>IEEE Access 12</source>
          (
          <year>2024</year>
          )
          <fpage>16151</fpage>
          -
          <lpage>16177</lpage>
          . doi:
          <volume>10</volume>
          .1109/ACCESS.
          <year>2024</year>
          .
          <volume>3357940</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>D. D.</given-names>
            <surname>Commun</surname>
          </string-name>
          .WG,
          <source>Didcomm messaging v2.1 editor's draft</source>
          ,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>H.</given-names>
            <surname>Yildiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Küpper</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Thatmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Göndör</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Herbke</surname>
          </string-name>
          ,
          <article-title>A tutorial on the interoperability of self-sovereign identities</article-title>
          ,
          <year>2022</year>
          . arXiv:
          <volume>2208</volume>
          .
          <fpage>04692</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Z. E.</given-names>
            <surname>Ansaroudi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Carbone</surname>
          </string-name>
          , G. Sciarretta,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ranise</surname>
          </string-name>
          ,
          <article-title>Control is nothing without trust a first look into digital identity wallet trends</article-title>
          ,
          <source>in: IFIP Annual Conference on Data and Applications Security and Privacy</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>113</fpage>
          -
          <lpage>132</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>V.</given-names>
            <surname>Bolgouras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Angelogianni</surname>
          </string-name>
          , I. Politis,
          <string-name>
            <given-names>C.</given-names>
            <surname>Xenakis</surname>
          </string-name>
          ,
          <article-title>Trusted and secure self-sovereign identity framework</article-title>
          ,
          <source>in: Proceedings of the 17th International Conference on Availability, Reliability and Security</source>
          , ARES '22,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2022</year>
          . URL: https://doi.org/10.1145/3538969.3544436. doi:
          <volume>10</volume>
          .1145/3538969. 3544436.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>P.</given-names>
            <surname>Windley</surname>
          </string-name>
          , How sovrin works, Sovrin
          <string-name>
            <surname>Foundation</surname>
          </string-name>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>C.</given-names>
            <surname>Lundkvist</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Heck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Torstensson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Mitton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sena</surname>
          </string-name>
          ,
          <article-title>Uport: A platform for self-sovereign identity</article-title>
          , URL: https://whitepaper. uport. me/uPort_ whitepaper_DRAFT20170221. pdf (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>P.</given-names>
            <surname>Jakubeit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Dercksen</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Peter,
          <article-title>Ssi-aware: Self-sovereign identity authenticated backup with auditing by remote entities</article-title>
          ,
          <source>in: Information Security Theory and Practice: 13th IFIP WG 11</source>
          .2 International Conference,
          <source>WISTP 2019</source>
          , Paris, France,
          <source>December 11-12</source>
          ,
          <year>2019</year>
          , Proceedings 13, Springer,
          <year>2020</year>
          , pp.
          <fpage>202</fpage>
          -
          <lpage>219</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>