eventual
eventual copied to clipboard
Activity Token Security
The activity token is currently base64 JSON object which contains the execution id and seq number of the activity.
This has a few issues:
- not secure - could be faked
- the base64 representation will grow with the execution id
Options:
- UUID generated for each activity and stored
- KMS encrypt the json payload before base64
- Encode the sequence number in a reversable way as to not be predictable
Should we re-visit this prior to release? Is it hard to evolve out of?
No, the tokens are versioned and opaque.