浏览代码

HUE-8976 [libsaml] Change default to avoid SignatureError Signature missing for response

Most of setups have it false by default
Romain 6 年之前
父节点
当前提交
21dfc367d4
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      desktop/conf.dist/hue.ini
  2. 2 2
      desktop/conf/pseudo-distributed.ini.tmpl
  3. 2 2
      desktop/libs/libsaml/src/libsaml/conf.py

+ 2 - 2
desktop/conf.dist/hue.ini

@@ -1873,10 +1873,10 @@
   ## authn_requests_signed=false
 
   # Have Hue initiated authn response be signed.
-  ## want_response_signed=true
+  ## want_response_signed=false
 
   # Have Hue initiated authn assertions response be signed.
-  ## want_assertions_signed=true
+  ## want_assertions_signed=false
 
   # Have Hue initiated logout requests be signed and provide a certificate.
   ## logout_requests_signed=false

+ 2 - 2
desktop/conf/pseudo-distributed.ini.tmpl

@@ -1861,10 +1861,10 @@
   ## authn_requests_signed=false
 
   # Have Hue initiated authn response be signed.
-  ## want_response_signed=true
+  ## want_response_signed=false
 
   # Have Hue initiated authn assertions response be signed.
-  ## want_assertions_signed=true
+  ## want_assertions_signed=false
 
   # Have Hue initiated logout requests be signed and provide a certificate.
   ## logout_requests_signed=false

+ 2 - 2
desktop/libs/libsaml/src/libsaml/conf.py

@@ -144,13 +144,13 @@ AUTHN_REQUESTS_SIGNED = Config(
 
 WANT_RESPONSE_SIGNED = Config(
   key="want_response_signed",
-  default=True,
+  default=False,
   type=coerce_bool,
   help=_t("Have Hue initiated authn response be signed."))
 
 WANT_ASSERTIONS_SIGNED = Config(
   key="want_assertions_signed",
-  default=True,
+  default=False,
   type=coerce_bool,
   help=_t("Have Hue initiated authn assertions response be signed."))