I am trying to refer below link to access username and password, part of credential store in BTP.
https://blogs.sap.com/2021/09/19/how-to-consume-the-credential-store-with-python/
Getting error for following :
cred = jwe.decrypt(response.content , private_key)
Error :
alg: RSA-OAEP-256 is not supported by the RSA backend.
---
Although, same thing working locally very fine but giving above error when trying to run on BTP space CF APP.
Local output :
>>> from jose import jwe
>>> jwe.decrypt(response_content, private_key)
b'{"id":"8XXXXXXX5","name":"dbXXXXe","modifiedAt":"2022-07-21T15:32:00.687Z","value":"ok######","status":"enabled","username":"L######","type":"password"}'>>>
Please suggest. if i am missing to add any modules in requirement.txt or any other change.
Thanks