on 07-22-2022 12:28 PM
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.