Skip to content

bug: noisy warnings during basic encrypt/decrypt with local platform #870

@marythought

Description

@marythought

Description

Running a basic encrypt/decrypt against a local quickstart platform produces non-blocking warnings that can alarm users:

NetworkError: [https://platform.opentdf.local:8443] [PublicKey] Invalid Platform Configuration: [https://platform.opentdf.local:8443/kas] is missing BaseKey in WellKnownConfiguration
Mismatched wrapping key algorithm: [rsa:2048] is not requested type, [undefined]

Behavior

  • Encryption and decryption both succeed despite these warnings
  • The warnings appear on every operation, not just the first call
  • Tested with @opentdf/sdk@0.4.0 against the standard quickstart platform (Docker Compose setup)

Expected

Either:

  • These conditions should not produce warnings if they're expected/harmless
  • Or if they indicate a real misconfiguration, the error messages should explain what the user needs to fix

Impact

Users following the quickstart guides see these warnings and may think something is broken. This is especially problematic for documentation/onboarding since the expected output doesn't mention them.

Found during

JS/TS SDK quickstart documentation testing against the local quickstart platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions