public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH] acme: add missing include for Crypt::OpenSSL::Random
@ 2026-04-09 11:10 Fiona Ebner
  2026-05-12  0:20 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2026-04-09 11:10 UTC (permalink / raw)
  To: pve-devel

While this seems to not happen or be rare in practice, the
import_random_seed() function from Crypt::OpenSSL::RSA might call into
Crypt::OpenSSL::Random::random_bytes() if the random number generator
is not already seeded enough.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/ACME.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/ACME.pm b/src/PVE/ACME.pm
index f1e9bb7..e6fb9c2 100644
--- a/src/PVE/ACME.pm
+++ b/src/PVE/ACME.pm
@@ -15,6 +15,7 @@ use Digest::SHA qw(sha256 sha256_hex hmac_sha256);
 use HTTP::Request;
 use LWP::UserAgent;
 
+use Crypt::OpenSSL::Random;
 use Crypt::OpenSSL::RSA;
 
 use PVE::Certificate;
-- 
2.47.3





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

* applied: [PATCH] acme: add missing include for Crypt::OpenSSL::Random
  2026-04-09 11:10 [PATCH] acme: add missing include for Crypt::OpenSSL::Random Fiona Ebner
@ 2026-05-12  0:20 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-05-12  0:20 UTC (permalink / raw)
  To: pve-devel, Fiona Ebner

On Thu, 09 Apr 2026 13:10:11 +0200, Fiona Ebner wrote:
> While this seems to not happen or be rare in practice, the
> import_random_seed() function from Crypt::OpenSSL::RSA might call into
> Crypt::OpenSSL::Random::random_bytes() if the random number generator
> is not already seeded enough.

Applied, thanks!

[1/1] acme: add missing include for Crypt::OpenSSL::Random
      commit: f5ca24e874cb19003ad3a5945ec808a19e09fe49




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

end of thread, other threads:[~2026-05-12  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 11:10 [PATCH] acme: add missing include for Crypt::OpenSSL::Random Fiona Ebner
2026-05-12  0:20 ` applied: " 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