From de236915c001d6a1d05ae22b1e369564cad5e44a Mon Sep 17 00:00:00 2001 From: Michael de Hoog Date: Thu, 2 Jan 2025 16:12:12 -1000 Subject: [PATCH] Increase RSA encryption key to 4096-bits --- op-enclave/enclave/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-enclave/enclave/server.go b/op-enclave/enclave/server.go index c80abc7..1fb0d9f 100644 --- a/op-enclave/enclave/server.go +++ b/op-enclave/enclave/server.go @@ -108,7 +108,7 @@ func NewServer() (*Server, error) { random = session } - decryptionKey, err := rsa.GenerateKey(random, 2048) + decryptionKey, err := rsa.GenerateKey(random, 4096) if err != nil { return nil, fmt.Errorf("failed to generate decryption key: %w", err) }