Skip to content

Commit

Permalink
Fix security vulnerability in DAEMON_ALLOW_DOWNLOAD_BINARIES setting
Browse files Browse the repository at this point in the history
  • Loading branch information
husonghua committed Nov 19, 2021
1 parent cf8e39f commit f7b31d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/juno/files/cosmovisor.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RestartSec=3
LimitNOFILE=4096
Environment="DAEMON_NAME=junod"
Environment="DAEMON_HOME=/home/ubuntu/.juno"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
Environment="DAEMON_LOG_BUFFER_SIZE=512"

Expand Down
2 changes: 1 addition & 1 deletion roles/sifchain/files/cosmovisor.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RestartSec=3
LimitNOFILE=4096
Environment="DAEMON_NAME=sifnoded"
Environment="DAEMON_HOME=/home/ubuntu/.sifnoded"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
Environment="DAEMON_LOG_BUFFER_SIZE=512"

Expand Down
2 changes: 1 addition & 1 deletion roles/sifchain/files/profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
export DAEMON_NAME=sifnoded
export DAEMON_HOME=$HOME/.sifnoded
export DAEMON_RESTART_AFTER_UPGRADE=true
export DAEMON_ALLOW_DOWNLOAD_BINARIES=true
export DAEMON_ALLOW_DOWNLOAD_BINARIES=false
export UNSAFE_SKIP_BACKUP=true

0 comments on commit f7b31d5

Please sign in to comment.