# Error: Sorry, you have not been signed in

**URL:** <https://community.passbolt.com/t/error-sorry-you-have-not-been-signed-in/5254>\
**Category:** Installation Issues\
**Created:** [April 15, 2022, 10:12pm UTC](https://community.passbolt.com/t/error-sorry-you-have-not-been-signed-in/5254 "2022-04-15T22:12:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![islaam.khaleed](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@islaam.khaleed](https://community.passbolt.com/u/islaam.khaleed)\
**Post date:** [April 15, 2022, 10:12pm UTC](https://community.passbolt.com/t/error-sorry-you-have-not-been-signed-in/5254/1 "2022-04-15T22:12:51Z")

</div>

I had just created my user and token, after that when i try to sign in i get this message.  
 ![Screenshot (19)](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/d/d82c8a92f5281c32a4fdd51e5fd6164841d2b141.png)  
and the log says:

```auto
2022-04-15 22:09:44 Error: [Cake\Core\Exception\CakeException] Could not use the key to sign and encrypt.encrypt-sign failed in /var/www/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 525
Request URL: /auth/login.json?api-version=v2
Client IP: xxx.xxx.xxx.xx

```

---

<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:** [April 16, 2022, 12:41pm UTC](https://community.passbolt.com/t/error-sorry-you-have-not-been-signed-in/5254/2 "2022-04-16T12:41:37Z")

</div>

Hi @islaam.khaleed

When I searched for this error in the forum, it returned this post [Could not import the user OpenPGP key - New users only](https://community.passbolt.com/t/could-not-import-the-user-openpgp-key-new-users-only/4258)

If this does not help please provide 3 and 4 from here [About the Installation Issues category](https://community.passbolt.com/t/about-the-installation-issues-category/12)

Providing the healthcheck helps us help you.

---

<div class="post-metadata">

**Author:** ![islaam.khaleed](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@islaam.khaleed](https://community.passbolt.com/u/islaam.khaleed)\
**Post date:** [April 16, 2022, 6:08pm UTC](https://community.passbolt.com/t/error-sorry-you-have-not-been-signed-in/5254/3 "2022-04-16T18:08:14Z")

</div>

Thanks @garrett  
after doing healthcheck it turned out that the problem was at the private key and after some digging i found that the issue is that the gpg generated the key with passphrase which is something passbolt doesn’t want, so i generated a new one without a passphrase and after that all is good.
