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

hash_password doesn't work with python 3 #4159

Closed
peterhoeg opened this issue Nov 7, 2018 · 1 comment
Closed

hash_password doesn't work with python 3 #4159

peterhoeg opened this issue Nov 7, 2018 · 1 comment
Assignees

Comments

@peterhoeg
Copy link

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
@hawkowl hawkowl added the py3 label Nov 7, 2018
@hawkowl hawkowl self-assigned this Nov 7, 2018
@hawkowl
Copy link
Contributor

hawkowl commented Nov 7, 2018

Fixed in #4161

@hawkowl hawkowl closed this as completed Nov 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants