Closed RobinR1 closed 10 months ago
Note that I did not test this change against gnupg. I only tested using PGPy.
Many thanks for your PR @RobinR1 :+1:
I just added this additional commit to handle gnupg GPG library.
I published 0.0.12 with your fix: https://galaxy.ansible.com/ui/repo/published/anatomicjc/passbolt/
When the description field is not encrypted, the resource secrets will contain only a password instead of a JSON containing password and description. Fixes #9 by detecting if the decrypted resource secrets is a JSON or not and act accordingly. The description field will be extracted from the resource secrets if present, otherwise it will be retrieved from the unencrypted resource details.