public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v3 ceph 0/2] Complete Workaround For Ceph Dashboard
@ 2024-01-05 14:07 Max Carrara
  2024-01-05 14:07 ` [pve-devel] [PATCH v3 ceph 1/2] mgr/dashboard: add backport that allows the dashboard to work again Max Carrara
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Max Carrara @ 2024-01-05 14:07 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-15 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 14:07 [pve-devel] [PATCH v3 ceph 0/2] Complete Workaround For Ceph Dashboard Max Carrara
2024-01-05 14:07 ` [pve-devel] [PATCH v3 ceph 1/2] mgr/dashboard: add backport that allows the dashboard to work again Max Carrara
2024-01-05 14:07 ` [pve-devel] [PATCH v3 ceph 2/2] mgr/dashboard: add patch that removes PyOpenSSL-related usages Max Carrara
2024-01-15 16:48 ` [pve-devel] applied-series: [PATCH v3 ceph 0/2] Complete Workaround For Ceph Dashboard Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal