Skip to content

Commit 43e4d18

Browse files
tgonzalezorlandoarmgowthamsk-arm
authored andcommitted
keymgmt: Change to RSA-PSS as the supported algorithm
As the TLS handshake expects PSS signatures for RSA, make the keymgmt of the provider support the RSA-PSS scheme when dealing with RSA. Signed-off-by: Tomás González <[email protected]>
1 parent a309e29 commit 43e4d18

File tree

1 file changed

+1
-1
lines changed
  • parsec-openssl-provider/src

1 file changed

+1
-1
lines changed

parsec-openssl-provider/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mod catch;
2626
use catch::r#catch;
2727

2828
// Parameter names that Providers can define
29-
pub const PARSEC_PROVIDER_RSA_NAME: &[u8; 39] = b"RSA:rsaEncryption:1.2.840.113549.1.1.1\0";
29+
pub const PARSEC_PROVIDER_RSA_NAME: &[u8; 41] = b"RSA-PSS:RSASSA-PSS:1.2.840.113549.1.1.10\0";
3030
pub const PARSEC_PROVIDER_ECDSA_NAME: &[u8; 36] = b"EC:id-ecPublicKey:1.2.840.10045.2.1\0";
3131
const PARSEC_PROVIDER_DESCRIPTION_RSA: &[u8; 11] = b"Parsec RSA\0";
3232
const PARSEC_PROVIDER_DESCRIPTION_ECDSA: &[u8; 13] = b"Parsec ECDSA\0";

0 commit comments

Comments
 (0)