opencve / opencve-docker

Docker Image packaging for OpenCVE
https://www.opencve.io
Other
41 stars 38 forks source link

Probable bug while creating users #51

Open CountyWorker opened 6 months ago

CountyWorker commented 6 months ago

Expected Behavior

Creating a user with following command: docker exec -it webserver opencve create-user user user@domain.com

Actual Behavior

docker exec -it webserver opencve create-user user user@domain.com          
Password:                                                                                                               
Repeat for confirmation:                                                                                                
(trapped) error reading bcrypt version                                                                                  
Traceback (most recent call last):                                                                                        
File "/app/venv/lib/python3.8/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin                 version = _bcrypt.__about__.__version__                                                                             
AttributeError: module 'bcrypt' has no attribute '__about__'                                                            
[*] User user created.      

But I was able to login with the created admin user.

Steps to Reproduce the Problem

Specifications

Screenshots (optional)