gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Add base64 flag to gp env

Open loujaybee opened this issue 3 years ago • 2 comments

Extend gp env to natively support base64 uploads, for multi-line files. Basically, this blog post, but built-in to Gitpod.

The use-case for this is for SSH key uploads, which should also be improved with:

  • https://github.com/gitpod-io/gitpod/issues/9932
  • https://github.com/gitpod-io/gitpod/issues/6794

Related:

  • https://github.com/gitpod-io/gitpod/issues/2058

However there might be more scenarios / edge cases where multi-line support would be generally useful.

Relates to:

  • https://github.com/gitpod-io/website/issues/2277

loujaybee avatar Jun 21 '22 16:06 loujaybee

If the core of this feature request is "add some way to serialize data before storing with gp env", then I think Base64 is the best way to encode but is there any other method we should consider? Binary? Gzip?

jacobparis avatar Jun 21 '22 18:06 jacobparis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 02:09 stale[bot]