Ciphering files app expects an other pass

i did enable the ciphering of all the files on my fresh snap nextcloud version 18.0.4 and since then i have this message showin up on all the users:

“Clé privée invalide pour l’application de chiffrement. Veuillez mettre à jour le mot de passe de la clef privée dans vos paramètres personnels pour récupérer l’accès à vos fichiers chiffrés.:heavy_multiplication_x:
which is super annoying, since all files are working well on the desktop folder and in the web UI, this popup just messes up all headers of any app on the web interface in the “Module de chiffrement basique” section, who says:
" Le mot de passe de votre clef privée ne correspond plus à votre mot de passe de connexion.
Remplacez l’ancien mot de passe de votre clé privée par votre mot de passe de connexion actuel : "
so i tried to change the pass for the files encryption in the configuration of my admin user.and it loads for a long time, like 2 minutes and then reloads the page but nothing changes.
the annoying notice is still here for everyone.

Is this the first time you’ve seen this error? (Y/N):
i only saw this error since i used the snap install, not on the regular install i used before.
Steps to replicate it:

  1. install the snap nextcloud for ubuntu 18.0.4, make certbot certificate for https
  2. login with a user, enable ciphering on files
  3. the message appears for any user “Clé privée invalide pour l’application de chiffrement. Veuillez mettre à jour le mot de passe de la clef privée dans vos paramètres personnels pour récupérer l’accès à vos fichiers chiffrés.”.

The output of your Nextcloud log in Admin > Logging:

[PHP] Error: Uninitialized string offset: 0 at /snap/nextcloud/20498/htdocs/lib/private/Files/Node/Node.php#307

PUT /remote.php/dav/uploads/my_admin/fb4ed6340d880e9e57667b38196ebf41/0000000000000000-0000000010239999
from 79.143.250.149 by my_admin at 2020-05-26T20:39:41+00:00

Server configuration detail

Operating system: Linux 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 5.7.30

PHP version: 7.3.18

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gmp, SPL, iconv, intl, json, ldap, mbstring, pcntl, PDO, session, pdo_sqlite, posix, Reflection, standard, SimpleXML, mysqlnd, exif, tokenizer, xml, xmlreader, xmlwriter, zip, pdo_mysql, cgi-fcgi, redis, Zend OPcache

Nextcloud version: 18.0.4 - 18.0.4.2

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

apps:

Enabled:
 - accessibility: 1.4.0
 - activity: 2.11.0
 - announcementcenter: 3.7.0
 - appointments: 1.4.16
 - audioplayer: 2.10.0
 - bbb: 0.3.2
 - bruteforcesettings: 1.6.0
 - calendar: 2.0.3
 - cloud_federation_api: 1.1.0
 - comments: 1.8.0
 - contacts: 3.3.0
 - cookbook: 0.6.5
 - dav: 1.14.0
 - deck: 1.0.1
 - documentserver_community: 0.1.5
 - encryption: 2.6.0
 - federatedfilesharing: 1.8.0
 - federation: 1.8.0
 - files: 1.13.1
 - files_fulltextsearch: 1.4.2
 - files_mindmap: 0.0.22
 - files_pdfviewer: 1.7.0
 - files_rightclick: 0.15.2
 - files_sharing: 1.10.1
 - files_trashbin: 1.8.0
 - files_versions: 1.11.0
 - files_videoplayer: 1.7.0
 - firstrunwizard: 2.7.0
 - fulltextsearch: 1.4.1
 - fulltextsearch_elasticsearch: 1.5.1
 - impersonate: 1.5.1
 - logreader: 2.3.0
 - lookup_server_connector: 1.6.0
 - mail: 1.3.5
 - nextcloud_announcements: 1.7.0
 - notes: 3.4.0
 - notifications: 2.6.0
 - oauth2: 1.6.0
 - onlyoffice: 4.1.4
 - password_policy: 1.8.0
 - photos: 1.0.0
 - privacy: 1.2.0
 - provisioning_api: 1.8.0
 - ransomware_detection: 0.7.1
 - ransomware_protection: 1.6.1
 - recommendations: 0.6.0
 - riotchat: 0.4.2
 - serverinfo: 1.8.0
 - settings: 1.0.0
 - sharebymail: 1.8.0
 - sharerenamer: 2.7.3
 - support: 1.1.0
 - survey_client: 1.6.0
 - systemtags: 1.8.0
 - text: 2.0.0
 - twofactor_backupcodes: 1.7.0
 - twofactor_totp: 4.1.3
 - twofactor_u2f: 5.1.0
 - viewer: 1.2.0
 - workflowengine: 2.0.0
Disabled:
 - admin_audit
 - files_external
 - spreed
 - theming
 - user_ldap