This is an automated email from the ASF dual-hosted git repository.

jiahuili430 pushed a commit to branch rm-bcrypt
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 325a6333b8abe30a4155383c966166da91aec98d
Author: Jiahui Li <[email protected]>
AuthorDate: Mon Oct 2 15:22:05 2023 -0500

    Remove `bcrypt`
    
    `bcrypt` is no longer used in CouchDB, so remove them from the codebase.
---
 Makefile                                 | 2 +-
 Makefile.win                             | 2 +-
 src/couch/include/couch_js_functions.hrl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index f66b291d7..0d88199a9 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ DESTDIR=
 
 # Rebar options
 apps=
-skip_deps=meck,mochiweb,triq,proper,snappy,bcrypt,hyper,ibrowse
+skip_deps=meck,mochiweb,triq,proper,snappy,hyper,ibrowse
 suites=
 tests=
 
diff --git a/Makefile.win b/Makefile.win
index 17434de02..817fbccb3 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -78,7 +78,7 @@ DESTDIR=
 
 # Rebar options
 apps=
-skip_deps=meck,mochiweb,triq,proper,snappy,bcrypt,hyper,ibrowse,local
+skip_deps=meck,mochiweb,triq,proper,snappy,hyper,ibrowse,local
 suites=
 tests=
 
diff --git a/src/couch/include/couch_js_functions.hrl 
b/src/couch/include/couch_js_functions.hrl
index 994382b8b..737b71c7f 100644
--- a/src/couch/include/couch_js_functions.hrl
+++ b/src/couch/include/couch_js_functions.hrl
@@ -64,7 +64,7 @@
             });
         }
 
-        var available_schemes = [\"simple\", \"pbkdf2\", \"bcrypt\"];
+        var available_schemes = [\"simple\", \"pbkdf2\"];
         if (newDoc.password_scheme
                 && available_schemes.indexOf(newDoc.password_scheme) == -1) {
             throw({

Reply via email to