Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

[Bug] Event history is not unencrypted when it is serialized to a file (with --of) #336

@antmendoza

Description

@antmendoza

What are you really trying to do?

Describe the bug

tctl --codec_endpoint 'http://localhost:8888' workflow show --wid my-wf-id the event history is shown in console with the payloads unencrypted

When the flag -of is added to serialize the event history to a file, tctl --codec_endpoint 'http://localhost:8888' workflow show --wid my-wf-id -of my.json the output written in the file has the payloads encrypted

Minimal Reproduction

You can reproduce it by running this example https://github.com/temporalio/samples-typescript/tree/main/encryption

Environment/Versions

Tested with versions:

  • 1.16.3
  • 1.17.1
  • next

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions