Passbolt v2.0.0-rc hangs at "decrypting..."

Hi,
I’m currently evaluating Passbolt for our IT Team, and I have an issue when trying to edit an existing entry.
I want to update the password, so I click the “click here to unlock” field, under “Password”, then the field status changes for “decrypting…”, a little wheel is turning next to it, and I also noticed a kind of progress bar (thin red bar at the bottom of the browser window) that loads up to half of the screen and stays there. The window then seems to be frozen, nothing happens, the “decrypting…” message and the turning wheel stay forever but nothing happens. No elements of the window are selectable nor clickable, all I can do then is close the browser window or tab from the browser commands. This is a little bit annoying as I’m not able to change existing passwords because of that. For now, my only solution is to delete the entry and create a new one.
Everything else seems to work just fine with my Passbolt installation.

Using Passbolt 2.0.0-rc2 on CentOS 7 (centos-release-7-4.1708.el7.centos.x86_64). Components are nginx, php7, mariaDB.
Healthcheck is clean (except the certificate warning, which is weird because I use a GoDaddy certificate - wildcard):
[root@passbolt2 ~]# su -c “/var/www/passbolt_v2/bin/cake passbolt healthcheck” -s /bin/bash nginx

 ____                  __          ____
/ __ \____  _____ ____/ /_  ____  / / /_

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/
/ _
,
/
//.__/__//_/

Open source password manager for teams

Healthcheck shell

Environment

[PASS] PHP version 7.0.27.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable.
[PASS] The public image directory and its content are writable.
[PASS] The logs directory and its content are writable.
[PASS] GD or Imagick extension is installed.
[PASS] Intl extension is installed.
[PASS] Mbstring extension is installed.

Config files

[PASS] The application config file is present
[PASS] The passbolt config file is present

Core config

[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to xhttps://xxxx.xxxxxxxxx.com
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.

SSL Certificate

[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
[HELP] fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
fopen(): Failed to enable crypto
fopen(xhttps://xxxx.xxxxxxxxx.com/healthcheck/status.json): failed to open stream: operation failed

Database

[PASS] The application is able to connect to the database
[PASS] 18 tables found
[PASS] Some default content is present
[PASS] The database schema up to date.

GPG Configuration

[PASS] PHP GPG Module is installed and loaded.
[PASS] The server gpg key is not the default one
[PASS] The environment variable GNUPGHOME is set to /var/lib/nginx/.gnupg.
[PASS] The directory /var/lib/nginx/.gnupg containing the keyring is writable by the webserver user.
[PASS] The public key file is defined in config/passbolt.php and readable.
[PASS] The private key file is defined in config/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in config/passbolt.php.
[PASS] The server public key defined in the config/passbolt.php is in the keyring.
[PASS] There is a valid email id defined for the server key.
[PASS] The public key can be used to encrypt a message.
[PASS] The public key can be used to sign a message.
[PASS] The public key can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.

Application configuration

[PASS] Using latest passbolt version (2.0.0-rc2).
[PASS] Passbolt is configured to force SSL use.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[PASS] Registration is closed, only administrators can add users.
[PASS] Serving the compiled version of the javascript app
[PASS] All email notifications will be sent.

2 error(s) found. Hang in there!

I didn’t find any relevant errors in /var/www/passbolt_v2/logs/error.log.
I tried with different computers (VM) and browsers (Firefox and Chrome), and always end up with the frozen window saying “decrypting…”.

Any idea about what is wrong? Other log files I should check for clues? Anybody else having the same issue with the v2.0.0-rc2?

Thanks.

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

Hi @LudovicG, this looks like an issue with the decryption in extension.

Could you open the web extension browser console to check for error there?
Firefox: https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
Chrome: https://stackoverflow.com/a/10258029/4063145

Thanks,

Hi Remy,
In Chrome, using the console, I only get 2 warnings while being on the main Passbolt page ([Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/. - and - Controller id is defined by options and by template, the template id will be overriden by the option id.), but I get the following error as soon as I click an entry in the password list (to view or edit it):

Uncaught TypeError: Cannot read property ‘Profile’ of undefined
at func (passbolt.js:2)
at u.mapObject (passbolt.js:2)
at u.insertItem (passbolt.js:2)
at u.insertItem (passbolt.js:2)
at u.load (passbolt.js:2)
at Object.eval (passbolt.js:2)
at Object.eval (passbolt.js:2)
at u (passbolt.js:2)
at Object.fireWith [as resolveWith] (passbolt.js:2)
at Object.eval (passbolt.js:2)

Is this error giving you a clue?
I’m a sysadmin, not a programmer nor a web developer, so this kind of message doesn’t tell me anything…

If I then select the “edit” button, once in the entry, and try to change the password, the Chrome browser console clears and I don’t see any error anymore, it just stays empty, even if I click in the password field.

Thanks.

Thanks for the report Ludovic, it’s helpful indeed. This is the first time we’re seeing this issue.

Just to clarify, did you check the background page console on chrome? It is different from the regular console as it includes errors from the extension. You need to go to chrome://extensions/ and click on inspect view.

48

Hi Remy, I can confirm I used the method you describe to access the console, from “Chrome://extensions” and then “Inspect views”, as I did follow the instructions you sent in the previous post.
By testing a little bit more, I also have the same kind of problem when trying to share a password, the window freezes and becomes unresponsive as soon as I click “save”, and I can see the same “Uncaught TypeError” error in the console, so I guess this issue is related to the original problem as well.

I just upgraded our version 2.0.0-rc2 to latest version 2.0.1 and the issue with editing the password is now fixed.
I guess you changed something in the new version about that…

Thanks for the update, we’ll continue to test the features, and will probably stick with Passbolt, if it fits our needs.

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