Hello,
I’m trying to integrate an application with passbolt to manage passwords. I’m not 100% comfortable with all the encryption and I read the help documentation on the API and few post here and source code in Python.
Basically, I tried to reproduce the very first step with cURL and my request is this:
curl --insecure --noproxy “*” --header “Content-Type: application/json” --request POST --data ‘{“gpg_auth”: {“keyid”: “CFE203C74A423D627ABFC2B8EC52DF2411752689”}}’ https://my-passbolt.myhome.ca/auth/login.json
and I receive the following answer:
{“header”:{“id”:“70c16303-bb36-4bcc-a6d1-0793c3bc9fbe”,“status”:“error”,“servertime”:1604498092,“title”:“app_auth_loginPost_success”,“action”:“a3c19ad2-8920-5395-86d0-8567cb34f382”,“message”:“The authentication failed.”,“url”:"/auth/login.json",“code”:200},“body”:null}(passbolt)
The keyid is correct as it is the same as my username, I tried another one and I had “The authentication failed. There is no user associated with this key. User not found.” I know that I’m sending the right information but something is missing.
Can someone help me with that?
Regards,
Dany