Upgrade Passbolt CE Docker 4.0.2 -> 4.6.1 - TOTP save in Edge Browser Extension not working

  • Passbolt CE non-root 4.6.1
  • Microsoft Edge Extension 4.6.0

After upgrade our local Docker Stack Passbolt CE non-root from 4.0.2 to 4.6.1 we would like to provide the TOTP functionality to our users.

Unfortunately we are not able to save the resource (new or updated) while adding a TOTP secret.

TOTP is show correct after adding a new one and hit [Apply].

While try to save the resource afterwards it throws the following error:

There was an unexpected error…
The message should be of type string.

Developer-Tools shows this detailed error message:


  1. {stack: ‘Error: The message should be of type string.\n a…jhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:440775)’, message: ‘The message should be of type string.’}

  2. message: “The message should be of type string.”

  3. stack: “Error: The message should be of type string.\n at ze (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:40958)\n at mt.encrypt (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:64338)\n at pp.encryptSecrets (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:432662)\n at async pp.updateResourceAndSecret (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:432029)\n at async pp.main (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:431333)\n at async f. (chrome-extension://ljeppgjhohmhpbdhjjjbiflabdgfkhpo/index.min.js:2:440775)”

  4. [[Prototype]]: Object

1. constructor: ƒ Object()
2. hasOwnProperty: ƒ hasOwnProperty()
3. isPrototypeOf: ƒ isPrototypeOf()
4. propertyIsEnumerable: ƒ propertyIsEnumerable()
5. toLocaleString: ƒ toLocaleString()
6. toString: ƒ toString()
7. valueOf: ƒ valueOf()
8. __defineGetter__: ƒ __defineGetter__()
9. __defineSetter__: ƒ __defineSetter__()
10. __lookupGetter__: ƒ __lookupGetter__()
11. __lookupSetter__: ƒ __lookupSetter__()
12. __proto__: (...)
13. get __proto__: ƒ __proto__()
14. set __proto__: ƒ __proto__()

No errors are shown in docker logs for this container.

A clean installation in our test environment without updating from older version of Passbolt CE are working without any issues. For me it seems to correlate with the previously done update.

I would be pleased to receive any information to correct this error. Of course I am also available for further questions.