Skip to content

Different KAS URL formats between ZTDF and NanoTDF #73

Open
@ttschampel

Description

@ttschampel

The TDF SDK supports a KAS Url without a protocol; the NanoTDF SDK requires it

NanoSDK Without protocol in KAS Url:

Caused by: java.io.IOException: java.lang.RuntimeException: Unsupported protocol for resource locator
opentdf-nifi-1 |	at io.opentdf.nifi.ConvertToNanoTDF.lambda$processFlowFiles$0(ConvertToNanoTDF.java:72)
opentdf-nifi-1 |	at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:3432)
opentdf-nifi-1 |	... 13 common frames omitted

Example:

  • Encrypt with TDF using KAS Url localhost:8080 works,
  • Encrypt with NanoTDF using KAS Url localhost:8080 fails
  • Encrypt with NanoTDF using Kas Url http://localhost:8080 succeeds

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions