-
Notifications
You must be signed in to change notification settings - Fork 353
Description
As I stated in the title, I have a working passbolt instance, it's working without issues for everyone with both the browser extension and the android app.
I'm trying to retrieve a password for a service via python (3.13), using python_gnupg and requests (via passbolt-python-api package).
I can login, I can retrieve a list of resources, the problem hits when I try to decrypt the "metadata" attributes for the resources, I retrieve a list of 450 resources from the passbolt instance, and trying to decrypt them with my private key leads to only 73 of them being decrypted, for the other 377 resources the gnupg decrypt call results in no output.
Dumping some of them in a text file and trying to decrypt them with gpg
from command line gives this error:
gpg: encrypted with ECDH key, ID 5D63FC2A359597CE
gpg: public key decryption failed: No secret key
gpg: decryption failed: No secret key
I will add that doing the same (dump metadata in a file, decrypt with gpg) for a resource that my script would decrypt, correctly yelds the metadata JSON object, so I don't think that my code is doing anything funky.