pkg_add -iv radicale
with auth htpasswd radicale does not start
what is missing?
/usr/local/lib/python2.7/site-packages/radicale # python2.7 -m radicale
Starting Radicale
Authentication type is htpasswd
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/radicale/__main__.py", line 191, in module
run()
File "/usr/local/lib/python2.7/site-packages/radicale/__main__.py", line 133, in run
make_server(address, port, Application(),
File "/usr/local/lib/python2.7/site-packages/radicale/__init__.py", line 133, in __init__
auth.load()
File "/usr/local/lib/python2.7/site-packages/radicale/auth/__init__.py", line 43, in load
"auth.%s" % auth_type, globals=globals(), level=2)
File "/usr/local/lib/python2.7/site-packages/radicale/auth/htpasswd.py", line 33, in module
import bcrypt
ImportError: No module named bcrypt
pkg_add -iv py-bcrypt
later on...
Traceback (most recent call last):
File "/usr/local/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python2.7/site-packages/radicale/__init__.py", line 289, in __call__
is_authenticated = auth.is_authenticated(user, password)
File "/usr/local/lib/python2.7/site-packages/radicale/auth/htpasswd.py", line 80, in is_authenticated
return globals()["_%s" % ENCRYPTION](hash_value, password)
File "/usr/local/lib/python2.7/site-packages/radicale/auth/htpasswd.py", line 68, in _bcrypt
return bcrypt.checkpw(password, hash_value)
ValueError: Invalid hashed_password salt
py-bcrypt has problems with $2b$ hashes :(
Showing posts with label python. Show all posts
Showing posts with label python. Show all posts
Thursday, September 03, 2015
OpenBSD 5.8 radical CalDAV/CardDAV installation
Saturday, January 25, 2014
setup python-based couchapp on FreeBSD
as root: pkg install couchdb couchdb -b pkg install py27-virtualenv pkg install py27-pip as normal user: virtualenv couchapps cd couchapps . bin/activate pip install couchapp mkdir apps cd apps/ couchapp generate app1 cd app1 git init couchapp push . http://localhost:5984/example
Subscribe to:
Posts (Atom)