Checklist
[x] I have read intro post: About the Installation Issues category
[x] I have read the tutorials, help and searched for similar issues
[x] I provide relevant information about my server (component names and versions, etc.)
[x] I provide a copy of my logs and healthcheck
[x] I describe the steps I have taken to trouble shoot the problem
[x] I describe the steps on how to reproduce the issue
I’m facing a problem when trying to access Passbolt API via CLI when using the Docker version. I’m able to create my admin user, but when I try to use it in the CLI, it doesn’t let me login.
The command I’m trying to issue is:
passbolt auth login -p "my-user-pw"
And the error that I receive is:
gpg: F2BF207A8804158A751CA53E6D9DB718DB2BA65D: skipped: No public key
gpg: [stdin]: encryption failed: No public key
My config.json file looks like this:
{
"domain" : {
"baseUrl": "https://<base-url>",
"publicKey" : {
"fingerprint" : "F2BF207A8804158A751CA53E6D9DB718DB2BA65D"
}
},
"user" : {
"firstname": "myname",
"lastname" : "mylastname",
"email" : "myemail",
"privateKey" : {
"fingerprint": "5685ADF16E71C5C2C44E1B8550985A516CB6959A"
}
},
"mfa": {
"providers": ["yubikey","totp"]
},
"agentOptions": {
"rejectUnauthorized": false
},
"gpg" : {
"trust": "always"
}
}
I tried it both locally and in a kubernetes cluster, but the error is the same.