Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

hash_password doesn't work with python 3 #4159

@peterhoeg

Description

@peterhoeg

Description

hash_password doesn't work with python 3 while perfectly fine with python 2.

peter@dolores:d8ckawjc9q4wz968ysp2mzabi2ykci7v-matrix-synapse-0.33.8/bin $ ./hash_password                                             
  File "/nix/store/d8ckawjc9q4wz968ysp2mzabi2ykci7v-matrix-synapse-0.33.8/bin/.hash_password-wrapped", line 53
    print bcrypt.hashpw(password + password_pepper, bcrypt.gensalt(bcrypt_rounds))
               ^
SyntaxError: invalid syntax

Version information

  • Homeserver: Own home server
  • Version: 0.33.8
  • Install method: package manager
  • Platform: NixOS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions