coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Secrets with spaces do not work

Open chikof opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Example public repository

coolify

Description

When I create a secret with a value containing spaces, the secret is not registered.

Steps To Reproduce

  1. Create a secret, the name doesn't matter
  2. Put a value with spaces, in my case "462780441594822687 893135042111479808"
  3. Deploy the application
  4. Try to get the Secret

Version

3.12.17

chikof avatar Feb 14 '23 00:02 chikof

Nvm

chikof avatar Feb 18 '23 15:02 chikof

xD, I thought it was something else, but yea, it's a bug

chikof avatar Feb 18 '23 15:02 chikof

The same problem with newlines - e.g. a public key like the one below is not usable in Coolify:

-----BEGIN PUBLIC KEY-----
abcd
efgh
-----END PUBLIC KEY-----

MartinKavik avatar Feb 20 '23 16:02 MartinKavik

I can confirm I'm experiencing the same issue, and currently my workaround is to base64 encode the value and decode it within the app. Though that isn't always possible with 3rd party docker images/apps.

davidwinter avatar Aug 16 '23 18:08 davidwinter

@andrasbacsai was this resolved elsewhere? I see the issue was unassigned so I'm just curious. Thanks.

davidwinter avatar Aug 16 '23 18:08 davidwinter

I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.

Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.

Thanks for your understanding.

andrasbacsai avatar Sep 08 '23 09:09 andrasbacsai