Skip to content

Couchdb >=1.3 uses pbkdf2 as pw hashing algorhythm

http://docs.couchdb.org/en/1.4.x/configuring.html#configuring-server-administrators

it uses 10 iterations per default:

root@couch16:/etc/couchdb/local.d# /etc/init.d/couchdb stop
Stopping database server: couchdb.
root@couch16:/etc/couchdb/local.d# cp /tmp/admin.ini .
root@couch16:/etc/couchdb/local.d# cat admin.ini 
[admins]
admin = SH5NjqD3hksBQjLvcfR5gMTfJQAI7EN8
root@couch16:/etc/couchdb/local.d# /etc/init.d/couchdb start
Starting database server: couchdb.
root@couch16:/etc/couchdb/local.d# cat admin.ini 
[admins]
admin = -pbkdf2-1bdb1240e931757107b0899786425651cabc7c4f,cf9fb36fac6c160d6e8e3c19f9475be4,10

[couchdb]
uuid = 9e2930066e0a170f29d1911da084ec9c

(from redmine: created on 2015-06-09, closed on 2015-06-22, relates #6067 (closed), relates #7616 (closed))