Hi. I’ve a self-hosted Passbolt installation. Now, I’m trying to use the API manually (using Postman). The first thing I do it’s:
GET {{BaseUrl}}/auth/verify.json
And I get a fingerprint and a keydate (public key block) as a response. Then, I save this public key block as publickey.pem and try to use it to encrypt a random text saved in random-string.txt using this command:
# openssl rsautl -encrypt -inkey publickey.pem -pubin -in random-string.txt -out random-string-encrypted.txt
unable to load Public Key
Like it’s possible to see, I get an error. Could you help me, please? Thanks.
@kevin maybe we could post that Google doc I was working on as a reference - I recall I used Postman for the steps. I could clean it up a bit for direct use if it may not still be headed for the blog. I would just need access to it again.
Hi @garrett and @remy. I could use the API using your guide. It was very useful. Probably it would be very interesting to publish it on official documentation. Thank you very much.