Skip to content

Commit

Permalink
fix: incorrect key type
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Jan 2, 2021
1 parent 6744a05 commit 0c9c411
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Command/GenerateKeyPairCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ private function buildOpenSSLConfiguration(): array
'HS256' => \OPENSSL_KEYTYPE_DH,
'HS384' => \OPENSSL_KEYTYPE_DH,
'HS512' => \OPENSSL_KEYTYPE_DH,
'ES256' => \OPENSSL_KEYTYPE_DSA,
'ES384' => \OPENSSL_KEYTYPE_DSA,
'ES512' => \OPENSSL_KEYTYPE_DSA,
'ES256' => \OPENSSL_KEYTYPE_EC,
'ES384' => \OPENSSL_KEYTYPE_EC,
'ES512' => \OPENSSL_KEYTYPE_EC,
];

$curves = [
Expand Down

0 comments on commit 0c9c411

Please sign in to comment.