-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passphrase configuration is limited #143
Comments
Using an actual tool designed to do this is a lot more robust and fixes some nasty escaping issues involving secrets containing `~` that were reported in #143.
This fixes the regex issue 78480d4 (and also makes the code a lot cleaner). |
Single quotes are obviously the better choice than double-quotes in YAML; just merged b2bb979 to migrate the project. |
For
It seems to me that we should be making a set variable that's empty fatal here:
@galexrt what's the background here? |
|
@jeaye for this one:
is the block that needs escaping this, or something else?
|
Not sure anymore, but that looks likely. Adding a |
Understood, I'm just noticing we seem to have code checking for blank secrets and just printing a line of output (that surely gets lost in the noise), and I'm curious why. |
On the database front, it looks like it fails here:
That's going to be an upstream issue in https://github.com/docker-library/postgres/. We can report an issue upstream, but I think probably our solution should just be to document that certain characters are invalid in a comment in |
Glad you could repro. Seems like reporting it upstream and making it clear within docker-zulip is the best we can do for now, unless it's a quick fix. If we provided a tool for generating passphrases into |
Agreed re: reporting upstream; can you take reporting this one? And yeah, if we're providing a tool, we can just have the tool not use |
Done. |
docker-library/postgres#488 has been resolved. |
Awesome! I guess we need to wait for them to do a release before we can take advantage of this? |
Yeah, I'm not sure how that works. This was the first time I'd ever used Docker. |
https://hub.docker.com/_/postgres/ appears to have been last pushed to 7 hours ago, so maybe that means we can grab the latest image and we'll be OK? Worth testing... |
The things which currently go wrong
$foo
and requires$$foo
''
~
isn't permitted, due to a regex assumption withinentrypoint.sh
Things which can be fixed
.env
file which docker-compose reads; docs hereThe text was updated successfully, but these errors were encountered: