This is not a valid passphrase

Hello together,

after installation was successful, I’ve created my first admin account but I’m not able to login with my correctly entered password.

See the attached screenshot.

I’m running passbolt within a docker container with docker compose. My docker-compose.yml looks like this:

version: '3'
services:
  mysql_passbolt:
    image: mysql:5.7
    container_name: mysqlpassbolt
    environment:
      - MYSQL_ROOT_PASSWORD=${PASSBOLT_MYSQL_ROOT_PASSWORD}
      - MYSQL_DATABASE=${PASSBOLT_DATASOURCES_DEFAULT_DATABASE}
      - MYSQL_USER=${PASSBOLT_DATASOURCES_DEFAULT_USERNAME}
      - MYSQL_PASSWORD=${PASSBOLT_DATASOURCES_DEFAULT_PASSWORD}
    volumes:
      - '/srv/passbolt/mysql:/var/lib/mysql'
    logging:
      driver: gelf
      options:
        gelf-address: 'udp://logs.*****.com:12201'

  passbolt:
    image: 'passbolt/passbolt:2.3.0-debian'
    container_name: passbolt
    environment:
      - VIRTUAL_HOST=passwords.*****.com
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=passwords.*****.com
      - LETSENCRYPT_EMAIL=*****@*****.com
      - DATASOURCES_DEFAULT_HOST=mysql_passbolt
      - DATASOURCES_DEFAULT_PASSWORD=${PASSBOLT_DATASOURCES_DEFAULT_PASSWORD}
      - DATASOURCES_DEFAULT_USERNAME=${PASSBOLT_DATASOURCES_DEFAULT_USERNAME}
      - DATASOURCES_DEFAULT_DATABASE=${PASSBOLT_DATASOURCES_DEFAULT_DATABASE}
      - APP_FULL_BASE_URL=https://passwords.*****.com
      - EMAIL_DEFAULT_FROM=noreply@*****.com
      - EMAIL_TRANSPORT_DEFAULT_HOST=smtp
      - PASSBOLT_KEY_NAME="*****"
      - PASSBOLT_KEY_EMAIL=*****@*****.com
      - PASSBOLT_REGISTRATION_PUBLIC=false
      - PASSBOLT_SSL_FORCE=false
      - SSL=false
      - SECURITY_SALT=${PASSBOLT_SECURITY_SALT}
    restart: always
    links:
      - mysql_passbolt
    logging:
      driver: gelf
      options:
        gelf-address: 'udp://logs.*****.com:12201'

networks:
  default:
    external:
      name: nginx-proxy

After container started i’ve created my first admin user and followed the instructions on the wizard (I replaced the username and email address with my values of course - same applies to the asterisks within the docker-compose.yml file):

docker exec passbolt su -m -c "/var/www/passbolt/bin/cake passbolt register_user -u your@email.com -f yourname -l surname -r admin" -s /bin/sh www-data

Please tell me what information is missing to help me getting started with passbolt successfully :slight_smile:

Best
René

Hello rpardonvimp,

This is an error generated by the web extension. It could come from two issues:

  • a typo during the setup: if you created the key with passbolt you most likely made a typo when entrering the passphrase and therefore it is not valid when you enter it on the login screen. The easiest if this is a new installation would be to delete the old user and create a new one (reinstall and create new user using command line and follow the setup again).
  • if you imported the key: there is an is an issue with this particular key encryption scheme and/or passphrase and openpgp.js something that we have not tested (like maybe using non ascii chars in the passphrase?).

Hi @remy,

thank you very much for your fast reply!
Indeed, I’ve tried to reset the containers and setup everything again for 3 times. But it work’s with version 2.4.0-debian now. I thought it was a typo. But three times? :slight_smile:

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