GpgKeyGenerate: The data entered are not correct

Hello, I’ve installed passbolt and on the installation wizard on step 3 when I have to create a GPG Key, I will get the message “The data entered are not correct: The public key cannot be used to encrypt.; The private key cannot be used to decrypt. Please note that passbolt does not support GPG key protected with a secret.”

Nginx Logs, System Healthcheck, Timezone and the Console Logs looks fine. I tried with different Browsers on different devices.

I’ve tried reinstalling the whole server, which has no effect on this error.
Can you help me? Or am I just too dump to set it up right? :smiley:

I have the same issue. New install on ubuntu 18.04 installed using script.

Hello,

I just tried to on ubuntu using CE installation scripts and I could not reproduce the issue. So this is an issue specific to your setup.

We have seen this issue before when the server and client time are not in sync. This error can happen when the client (browser) clock is ahead of the server. Can you double check you have NTP installed on the server and that the clock is set correctly?

Hi,

Yes you where correkt and the time on the server was wrong but fixing that does not make this problem go away.

@grymphen We’ve seen sometimes some issues with keys where there are some emoji. Hard to guess what else could it be without more info.

Okey but what I dont understand im using the webinterface and have no control of character or passwords.

Have played a litele did the install on ubuntu/centos/debian. It Allways stalls when we come to the Create a new GPG key for your server page.

““The data entered are not correct: The public key cannot be used to encrypt.; The private key cannot be used to decrypt. Please note that passbolt does not support GPG key protected with a secret.””

In the meantime, I’ve tried again with a different browser on another device.
Now it works for me! :slight_smile:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.