# iOS - Failed to decrypt sign in response

**URL:** <https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773>\
**Category:** Installation Issues\
**Created:** [June 18, 2023, 7:30pm UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773 "2023-06-18T19:30:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbisbee](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bbisbee](https://community.passbolt.com/u/bbisbee)\
**Post date:** [June 18, 2023, 7:30pm UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773/1 "2023-06-18T19:30:59Z")

</div>

Good afternoon,  
I have set up a fresh install of Passbolt CE. I am running in a VM on proxmox with Ubuntu 22.04 LTS. I have it running in docker, and i have used the scripts provided on the website. I am running it in “HTTPS” mode in the docker config and I am reverse proxying it out with Nginx Proxy Manager and Lets Encrypt. I am using cloudflare for DNS and i am proxying through cloudflare. Overall my instance is working, I have Duo MFA enabled. My problem is when i try to set up the iOS app, I get “Failed to decrypt sign in response” I am unsure how to trouble shoot. Does anyone have any ideas? Below are the logs from the app:

## Passbolt: Device: iPhone iPhone OS: 16.6 App: 1.14.2

[2023-06-18 19:23:17] Initializing the app…  
[2023-06-18 19:23:17] …app initialization completed!  
[2023-06-18 19:23:17] Verifying data integrity…  
[2023-06-18 19:23:17] …data integrity verification finished  
[2023-06-18 19:23:17] Fetching server configuration…  
[2023-06-18 19:23:17] …server configuration fetching skipped!  
[2023-06-18 19:23:17] [22EA566E-D279-4D20-B500-858F520B6FD1] HTTP GET /lookup  
[2023-06-18 19:23:18] [22EA566E-D279-4D20-B500-858F520B6FD1] HTTP 200 /lookup  
[2023-06-18 19:23:18] [1D4A759D-6D90-4D70-8763-7C68E2BD16ED] HTTP GET /img/avatar/user\_medium.png  
[2023-06-18 19:23:18] [1D4A759D-6D90-4D70-8763-7C68E2BD16ED] HTTP 200 /img/avatar/user\_medium.png  
[2023-06-18 19:23:25] Beginning authorization…  
[2023-06-18 19:23:25] …creating new access token…  
[2023-06-18 19:23:25] …fetching server public PGP key…  
[2023-06-18 19:23:25] …fetching server public RSA key…  
[2023-06-18 19:23:25] [204F4A8A-8577-44CE-86E2-0B598951285C] HTTP GET /auth/jwt/rsa.json  
[2023-06-18 19:23:25] [E3D6F43E-B7F4-427C-BC2A-B0EF0FC33996] HTTP GET /auth/verify.json  
[2023-06-18 19:23:25] [204F4A8A-8577-44CE-86E2-0B598951285C] HTTP 200 /auth/jwt/rsa.json  
[2023-06-18 19:23:25] [E3D6F43E-B7F4-427C-BC2A-B0EF0FC33996] HTTP 200 /auth/verify.json  
[2023-06-18 19:23:25] …verifying server public PGP key…  
[2023-06-18 19:23:25] …preparing authorization challenge…  
[2023-06-18 19:23:25] [524EA73E-2A1F-414C-B571-EA76256A20F1] HTTP POST /auth/jwt/login.json  
[2023-06-18 19:23:26] [524EA73E-2A1F-414C-B571-EA76256A20F1] HTTP 200 /auth/jwt/login.json  
[2023-06-18 19:23:26] Failed to decrypt sign in response  
[2023-06-18 19:23:26] …authorization failed!  
[2023-06-18 19:23:26] Failed to decrypt sign in response

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/steph/32/2348_2.png) [@Steph](https://community.passbolt.com/u/Steph)\
**Post date:** [June 19, 2023, 7:07am UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773/2 "2023-06-19T07:07:20Z")

</div>

Hi @bbisbee and welcome to the forum !

When everything seems to be configured properly but decryption still doesn’t work, it’s usually because of a problem of time synchronisation between both machines.

So, first, you need to make sure both the server and the smartphone are in time sync (even a few second shift is enough to block the decryption). The server might not run the needed service for that. So you could try on a terminal via SSH:

```bash
sudo systemctl start systemd-timesyncd

```

On your mobile phone you can follow the help page here if you don’t know how to proceed and set the time sync to automatic  
[Change the date and time on iPhone – Apple Support (UK)](https://support.apple.com/en-gb/guide/iphone/iph65f82af3e/ios#:~:text=Go%20to%20Settings%20%3E%20General%20%3E%20Date,automatically%20determine%20the%20local%20time).

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/steph/32/2348_2.png) [@Steph](https://community.passbolt.com/u/Steph)\
**Post date:** [June 19, 2023, 7:49am UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773/3 "2023-06-19T07:49:47Z")

</div>

Sorry ! I forgot about a bug we have on mobile at the moment.  
Duo actually doesn’t work on mobile.  
If you wish to sign-in via MFA on the mobile app, you will need to change the MFA option (OTP or Yubikey if you have).

---

<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:** [June 19, 2023, 12:29pm UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773/4 "2023-06-19T12:29:46Z")

</div>

Related [Mention current lack of DUO support on mobile app by garrettboone · Pull Request #85 · passbolt/passbolt\_help · GitHub](https://github.com/passbolt/passbolt_help/pull/85)

---

<div class="post-metadata">

**Author:** ![bbisbee](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bbisbee](https://community.passbolt.com/u/bbisbee)\
**Post date:** [June 19, 2023, 8:40pm UTC](https://community.passbolt.com/t/ios-failed-to-decrypt-sign-in-response/7773/5 "2023-06-19T20:40:43Z")

</div>

Y’all are awesome. Turning off Duo fixed it.
