Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Add client side state configuration variables to syndesis-rest #343

Closed
syndesis-bot opened this issue Nov 15, 2017 · 3 comments
Closed

Add client side state configuration variables to syndesis-rest #343

syndesis-bot opened this issue Nov 15, 2017 · 3 comments
Labels
group/install Installing Syndesis (templates, scripts)

Comments

@syndesis-bot
Copy link
Collaborator

@zregvart 2017-07-26

Environment variables that need to be set:

  • CLIENT_STATE_AUTHENTICATION_ALGORITHM, value: HmacSHA1
  • CLIENT_STATE_AUTHENTICATION_KEY, value: random 20 bytes
  • CLIENT_STATE_ENCRYPTION_ALGORITHM, value: AES/CBC/PKCS5Padding
  • CLIENT_STATE_ENCRYPTION_KEY, value: random 16 bytes
  • CLIENT_STATE_TID, value: 1

Random values could be set in the environment of the user adding templates (similar to GITHUB_CLIENT_ID).

@syndesis-bot syndesis-bot added the group/install Installing Syndesis (templates, scripts) label Nov 15, 2017
@syndesis-bot
Copy link
Collaborator Author

@zregvart 2017-07-28

If these are not specified random key are generated and default algorithms are used. TID is set to a random long value. This is not well suited for clustered deployments and will not failover.

@syndesis-bot
Copy link
Collaborator Author

@rhuss 2017-08-09

Would a randomly generated default value for the random data above be sufficient (as described in https://docs.openshift.com/container-platform/3.5/dev_guide/templates.html#writing-parameters) ?

@gashcrumb
Copy link
Contributor

This seems stale, re-open if it needs to be a thing and maybe improve the description so that anybody could fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
group/install Installing Syndesis (templates, scripts)
Projects
None yet
Development

No branches or pull requests

2 participants