From 102dc3cb2e161dac000b190d8b19d6e9b305ca14 Mon Sep 17 00:00:00 2001 From: Nguyen Van Nguyen Date: Tue, 5 Nov 2024 17:29:22 +0700 Subject: [PATCH] WIP Signed-off-by: Nguyen Van Nguyen --- src/Packet/SecretSubkey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Packet/SecretSubkey.php b/src/Packet/SecretSubkey.php index 91379e5..0cbbbb8 100644 --- a/src/Packet/SecretSubkey.php +++ b/src/Packet/SecretSubkey.php @@ -105,7 +105,7 @@ public static function fromBytes(string $bytes): self public static function generate( KeyAlgorithm $keyAlgorithm = KeyAlgorithm::RsaEncryptSign, RSAKeySize $rsaKeySize = RSAKeySize::Normal, - Ecc $curve = Ecc::Ed25519, + Ecc $curve = Ecc::Secp521r1, ?DateTimeInterface $time = null ): self { $keyMaterial = self::generateKeyMaterial(