security upgrade #17

Merged
fauno merged 6 commits from upgrade into main 2025-04-23 19:46:19 +00:00
Owner

but it comes with a change i was discussing with @3wordchant over matrix. this currently works for our sqlite deploy

but it comes with a change i was discussing with @3wordchant over matrix. this currently works for our sqlite deploy
fauno added 2 commits 2025-04-10 18:31:47 +00:00
fauno added 1 commit 2025-04-10 18:42:36 +00:00
fix: provide default values for variables
Some checks failed
continuous-integration/drone/pr Build is failing
29a7d585dc
Author
Owner

ok! got the set -u back by providing default empty values to variables that could be unset

ok! got the `set -u` back by providing default empty values to variables that could be unset
decentral1se reviewed 2025-04-11 19:55:15 +00:00
decentral1se left a comment
Owner

I'm not sure what -z does but isn't CMD_DB_URL always set from the compose.yml and so the check never gets in to re-setting it for the postgres case? I might be missing something here 🤔 Also yes, this PR became more than a "security upgrade" 🙃 Let's update the title for those coming later?

I'm not sure what `-z` does but isn't `CMD_DB_URL` always set from the `compose.yml` and so the check never gets in to re-setting it for the postgres case? I might be missing something here 🤔 Also yes, this PR became more than a "security upgrade" 🙃 Let's update the title for those coming later?
Author
Owner

yeah you're right! -z checks the variable is empty, but since pg doesn't rewrite it to an empty string, the check never passes

yeah you're right! `-z` checks the variable is empty, but since pg doesn't rewrite it to an empty string, the check never passes
fauno added 3 commits 2025-04-11 20:01:48 +00:00
Author
Owner

ok now it checks for password file presence

ok now it checks for password file presence
fauno force-pushed upgrade from 954bfae9ee to 29968706fc 2025-04-11 20:02:53 +00:00 Compare
decentral1se approved these changes 2025-04-12 11:54:11 +00:00
decentral1se left a comment
Owner

LGTM

LGTM
Author
Owner

@3wordchant would you test it before release?

@3wordchant would you test it before release?
Author
Owner

i tested it myself and works ok! just a note @decentral1se before upgrading abra (i was on 0.10 rc but i'm not sure which one now) i could tell when a new config was being installed, with 0.10 this info isn't shown. let me know if i should open an issue about it.

i tested it myself and works ok! just a note @decentral1se before upgrading abra (i was on 0.10 rc but i'm not sure which one now) i could tell when a new config was being installed, with 0.10 this info isn't shown. let me know if i should open an issue about it.
fauno merged commit 8d23542076 into main 2025-04-23 19:46:19 +00:00
fauno deleted branch upgrade 2025-04-23 19:46:19 +00:00
Owner

just a note @decentral1se before upgrading abra (i was on 0.10 rc but i'm not sure which one now) i could tell when a new config was being installed, with 0.10 this info isn't shown. let me know if i should open an issue about it.

@fauno yes, please open an issue: https://git.coopcloud.tech/toolshed/abra/issues/new

This output could come back but it'd be good to understand why and see if others want that also.

> just a note @decentral1se before upgrading abra (i was on 0.10 rc but i'm not sure which one now) i could tell when a new config was being installed, with 0.10 this info isn't shown. let me know if i should open an issue about it. @fauno yes, please open an issue: https://git.coopcloud.tech/toolshed/abra/issues/new This output could come back but it'd be good to understand why and see if others want that also.
Sign in to join this conversation.
No description provided.