# GpgKeyGenerate: The data entered are not correct

**URL:** <https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953>\
**Category:** Installation Issues\
**Created:** [July 25, 2020, 3:09pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953 "2020-07-25T15:09:53Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiniskaWolfiii](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@DiniskaWolfiii](https://community.passbolt.com/u/DiniskaWolfiii)\
**Post date:** [July 25, 2020, 3:09pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/1 "2020-07-25T15:09:53Z")

</div>

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? 😃

---

<div class="post-metadata">

**Author:** ![grymphen](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@grymphen](https://community.passbolt.com/u/grymphen)\
**Post date:** [July 26, 2020, 8:52pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/2 "2020-07-26T20:52:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![remy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/remy/32/17_2.png) [@remy](https://community.passbolt.com/u/remy)\
**Post date:** [July 27, 2020, 9:24am UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/3 "2020-07-27T09:24:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![grymphen](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@grymphen](https://community.passbolt.com/u/grymphen)\
**Post date:** [July 27, 2020, 11:31am UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/4 "2020-07-27T11:31:29Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![remy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/remy/32/17_2.png) [@remy](https://community.passbolt.com/u/remy)\
**Post date:** [July 27, 2020, 1:19pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/5 "2020-07-27T13:19:52Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![grymphen](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@grymphen](https://community.passbolt.com/u/grymphen)\
**Post date:** [July 27, 2020, 5:33pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/6 "2020-07-27T17:33:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![grymphen](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@grymphen](https://community.passbolt.com/u/grymphen)\
**Post date:** [July 27, 2020, 9:54pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/7 "2020-07-27T21:54:01Z")

</div>

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.””

---

<div class="post-metadata">

**Author:** ![DiniskaWolfiii](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@DiniskaWolfiii](https://community.passbolt.com/u/DiniskaWolfiii)\
**Post date:** [July 28, 2020, 7:52am UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/8 "2020-07-28T07:52:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [August 2, 2020, 7:52am UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/9 "2020-08-02T07:52:09Z")

</div>

Closed on August 2, 2020, 7:52am UTC

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

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 3, 2020, 4:36pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/10 "2020-12-03T16:36:10Z")

</div>

Opened on December 3, 2020, 4:36pm UTC



---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 3, 2020, 4:41pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/11 "2020-12-03T16:41:12Z")

</div>

I am experiencing this on a fresh Ubuntu 18.04 install.

So far:

- There was no MTA installed, but once installed I see there is a MySQL error being repeatedly reported `Exception: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in [/var/www/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php, line 92] `But I can log into mariadb fine with the user/password combo being used in the wizard.
- I’m using Firefox83 and the console is complaining about an inline script on the page, but I cannot find one yet

Investigating further…

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 4, 2020, 6:05pm UTC](https://community.passbolt.com/t/gpgkeygenerate-the-data-entered-are-not-correct/2953/12 "2020-12-04T18:05:05Z")

</div>

Coincidentally, my client machine was set to the wrong timezone, but its time was set to the correct time in a different timezone - so essentially putting it three hours into the future. The server was rebooted but otherwise nothing else changed. So it appears it was a timezone problem again. Working okay now.
