These two patches allow the Ceph Dashboard to work again as intended.

The first patch provides a backport of a pull request [0] which removes
the dependency on PyJWT. [1]

The second patch removes two usages of functions that use PyOpenSSL, [2]
which prevents running into sub-interpreter-related issues with
PyO3. [3] This is achieved by removing a check during the dashboard's
launch as well as prohibiting users from creating self-signed TLS certs
via the `ceph` CLI. Users may still provide a key/cert pair manually
and are instructed to do so once they try to execute the respective
command. [4]


[0]: https://github.com/ceph/ceph/pull/54710
[1]: https://github.com/jpadilla/pyjwt
[2]: https://github.com/pyca/pyopenssl
[3]: https://tracker.ceph.com/issues/63529
[4]: `ceph dashboard create-self-signed-cert`

Max Carrara (2):
  mgr/dashboard: add backport that allows the dashboard to work again
  mgr/dashboard: add patch that removes PyOpenSSL-related usages

 ...hboard-simplify-authentication-proto.patch | 279 ++++++++++++++++++
 ...move-ability-to-create-and-check-TLS.patch | 101 +++++++
 patches/series                                |   2 +
 3 files changed, 382 insertions(+)
 create mode 100644 
patches/0012-backport-mgr-dashboard-simplify-authentication-proto.patch
 create mode 100644 
patches/0013-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch

-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to