File tree Expand file tree Collapse file tree 7 files changed +12
-7
lines changed 
doc/source/sections/configuration Expand file tree Collapse file tree 7 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,8 @@ ARG UPGRADE_MOD_AUTH_OPENIDC=False
139139# NOTE: source for optional mod auth openidc upgrade - upstream release if left unset
140140ARG UPGRADE_OIDC_CJOSE_SRC=""
141141ARG UPGRADE_OIDC_AUTH_MOD_SRC=""
142- ARG UPGRADE_PARAMIKO=False
142+ # NOTE: more recent paramiko is required e.g. for modern host key algo and security fixes
143+ ARG UPGRADE_PARAMIKO=True
143144ARG PUBKEY_FROM_DNS=False
144145ARG WITH_PY3=False
145146ARG PREFER_PYTHON3=False
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ ARG UPGRADE_MOD_AUTH_OPENIDC=False
143143# https://github.com/OpenIDC/mod_auth_openidc/releases
144144ARG UPGRADE_OIDC_CJOSE_SRC=""
145145ARG UPGRADE_OIDC_AUTH_MOD_SRC=""
146+ # NOTE: paramiko is a bit dated in OS repo - allow optional upgrade
146147ARG UPGRADE_PARAMIKO=False
147148ARG PUBKEY_FROM_DNS=False
148149# NOTE: python2 support is going away in rocky8+
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ ARG UPGRADE_MOD_AUTH_OPENIDC=False
143143# https://github.com/OpenIDC/mod_auth_openidc/releases
144144ARG UPGRADE_OIDC_CJOSE_SRC=""
145145ARG UPGRADE_OIDC_AUTH_MOD_SRC=""
146+ # NOTE: paramiko is a bit dated in OS repo - allow optional upgrade
146147ARG UPGRADE_PARAMIKO=False
147148ARG PUBKEY_FROM_DNS=False
148149# NOTE: python2 support is gone on rocky9+
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ WWWSERVE_MAX_BYTES=-1
146146#  but using self-signed certs is already a bad hack.
147147ENABLE_SELF_SIGNED_CERTS = True 
148148UPGRADE_MOD_AUTH_OPENIDC = False 
149- UPGRADE_PARAMIKO = False 
149+ #  NOTE: leave the choice of paramiko to the Dockerfile default here as it's only required on old distros
150+ # UPGRADE_PARAMIKO=False
150151PUBKEY_FROM_DNS = False 
151152#  NOTE: stay with wsgidav-1.3 for python2 to avoid CVE-2022-41905, we already get 4.3+ for python3
152153MODERN_WSGIDAV = False 
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ WWWSERVE_MAX_BYTES=-1
146146#  but using self-signed certs is already a bad hack.
147147ENABLE_SELF_SIGNED_CERTS = True 
148148UPGRADE_MOD_AUTH_OPENIDC = False 
149- UPGRADE_PARAMIKO = False 
149+ #  NOTE: leave the choice of paramiko to the Dockerfile default here as it's only required on old distros
150+ # UPGRADE_PARAMIKO=False
150151PUBKEY_FROM_DNS = False 
151152#  NOTE: stay with wsgidav-1.3 for python2 to avoid CVE-2022-41905, we already get 4.3+ for python3
152153MODERN_WSGIDAV = False 
Original file line number Diff line number Diff line change @@ -477,8 +477,8 @@ Variables
477477 - 
478478 - Optional custom source for the cjose OpenIDC dependency package if UPGRADE_MOD_AUTH_OPENIDC is requested 
479479 * - UPGRADE_PARAMIKO
480-  - False 
481-  - Upgrade the default Paramiko version to latest supported one during build  
480+  -
481+  - Upgrade the default Paramiko version to latest supported one during build. Leave unset to pick default from active Dockerfile. 
482482 * - PUBKEY_FROM_DNS
483483 - False
484484 - Advertize to SFTP users that they can find the host key in DNS(SEC).
Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ WWWSERVE_MAX_BYTES=-1
146146ENABLE_SELF_SIGNED_CERTS = False 
147147# BUILD_MOD_AUTH_OPENID=False
148148UPGRADE_MOD_AUTH_OPENIDC = True 
149- #  Use a recent  paramiko for modern host key algo support in grid_sftp (ENABLE_SFTP) 
150- UPGRADE_PARAMIKO = True 
149+ #  NOTE: leave the choice of  paramiko to the Dockerfile default here as it's only required on old distros 
150+ # UPGRADE_PARAMIKO=True
151151PUBKEY_FROM_DNS = False 
152152#  NOTE: stay with wsgidav-1.3 for python2 to avoid CVE-2022-41905, we already get 4.3+ for python3
153153MODERN_WSGIDAV = False 
                                 You can’t perform that action at this time. 
               
                  
0 commit comments