Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for GDHCN via Android FHIR SDK #2768

Open
fredhersch opened this issue Jan 15, 2025 · 4 comments
Open

Support for GDHCN via Android FHIR SDK #2768

fredhersch opened this issue Jan 15, 2025 · 4 comments
Labels
P1 High priority issue type:research Research or prototype something new

Comments

@fredhersch
Copy link
Collaborator

The Global Digital Health Certification Network by the WHO enables a number of use-cases that leverage FHIR IPS.

We want to enable developers to be able to use the Android FHIR SDK as the underlying SDK for different use-cases.

To do this, the SDK needs to be able to manage the GDHCN keys in a secure manner.

@MJ1998
Copy link
Collaborator

MJ1998 commented Jan 16, 2025

These GDHCN keys are typically public keys used to verify digital signatures on health certificates. They correspond to private keys held by trusted certificate issuers (e.g., national health authorities).

Storing private keys on device is probably discouraged and not clear to me also as its something that is owned by national health authorities.
Is storing (& managing perhaps) public keys on android devices what you are suggesting ?
Are you also suggesting to build capabilities to sync and verify GDHCN certificates (which will be some fhir resources I guess ?) using the stored public keys ?
Is it something without our libraries won't work in the GDHCN network ? (=> I think its not a P1)

@MJ1998 MJ1998 added P2 Medium priority issue and removed P1 High priority issue labels Jan 20, 2025
@jingtang10 jingtang10 added P1 High priority issue type:research Research or prototype something new and removed P2 Medium priority issue labels Jan 20, 2025
@vitorpamplona
Copy link
Collaborator

Should it be renamed to support GDHCN in the SDK instead? I am not convinced the Engine module is the place for GDHCN since they are not FHIR models but W3C DIDs.

@fredhersch fredhersch changed the title Support for IPS and GDHCN in FHIREngine Support for GDHCN via Android FHIR SDK Feb 20, 2025
@fredhersch
Copy link
Collaborator Author

@vitorpamplona Has there been any further discussion with Carl about this work from your side?

@vitorpamplona
Copy link
Collaborator

Not really. Just a basic evaluation after our discussion last year.

There are basically three buckets to this work:

  1. Download and Store (or cache in memory) the keys themselves;
  2. Run the cryptographic verification using those keys; and
  3. Integrate hashing and cryptographic signatures in the IPS data models.

1 is basically data sync and management like the Engine does, but for DIDs.

2 will include a bunch of cryptographic libraries to the SDK since the DID spec allows the use any cryptographic scheme the user chooses.

3 will need some definitions on how to hash the IPS outside of the QR codes already defined for covid. Maybe this needs a new IG. But hopefully the hashing mechanism gets standardized and becomes part of the main Fhir spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority issue type:research Research or prototype something new
Projects
Status: No status
Development

No branches or pull requests

4 participants