2023 Feb 16 8:29 AM
Hallo,
how to sign a given xString in ABAP with RSA-PSS algorithm.
Please also provide a code example. Thank you!
Greeting
Philipp Wallutis
2023 Feb 17 2:53 PM
Why is this voted down?
According to the new documentation, SAPCryptoLib supports the RSA-PSS algo.
But I am having problems getting this to run in ABAP.
Any help is appreciated.
2023 Feb 17 5:48 PM
Hey Robert,
your code runs well with the 'PKCS-V1.5' format.
When I run your Code with the str_format = 'PKCS1-PSS' i get a CRC of 2 - "Invalid security format".
My current system uses the following specs:
SSFLIB Version 1.850.40 ; CommonCryptoLib (SAPCRYPTOLIB) Version 8.5.39 (+MT) #Copyright (c) SAP, 2011-2021#compiled for linux-gcc-4.3-x86-64
2023 Feb 17 7:31 PM
philippwa
CCL 8.5.39 is not the newest, but I guess it supports PSS.
Most probably it is the kernel, which is not supporting it.
With CCL 8.5.44, Kernel 7.89 PL52 from S/4HANA FOUNDATION 2022 - it works.
But with CCL 8.5.35 and kernel 7.53 PL800 it does not.
If the combination kernel/ccl is not supporting it, there is nothing you can do, except using OS commands like openssl.
EDIT: tested with Kernel 7.77 PL200 - does not work, but with 7.77 PL500 it works.
2023 Feb 20 9:54 AM
2023 Feb 20 10:58 AM
2023 Jul 11 11:59 AM