Skip to content

feat: use URNs as outputs #51

@cmdoret

Description

@cmdoret

Context:

Uniform Resource Name (URNs) are URIs that use the urn scheme without any prefix.

Currently we hash the whole URI, and replace the fragment with the hash, retaining the original prefix. This poses 2 issues:

  • we need to extract the prefix, which fails when urns are in the input
  • sensitive data may be present in the prefix. This should be removed

Proposed solution

Using URNs (format: <urn:hash>) as output would provide a solution to both issues as the pseudonymized data would not have a namespace.

Objective: original domain is absent from pseudonymized URIs.

Requirements:

  • Implement Hash for rdf types -> urn:
  • (optional?) additional method to hash with optional domain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions