You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2023/02/23 22:41:54 UTC

[couchdb-ci] branch main updated: Add --enable-fips Erlang configure option

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

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 74e7543  Add --enable-fips Erlang configure option
74e7543 is described below

commit 74e7543694f169672bf8fc00f326e76a5294b7d9
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Thu Feb 23 15:43:00 2023 -0500

    Add --enable-fips Erlang configure option
    
    By itself this doesn't enable FIPS mode, just allows users to toggle Erlang's
    FIPS mode if their crypto library happens to support it.
    
    After this `crypto:info_fips().` sould start returning `not_enabled` as opposed
    `not_supported` is it does currently.
    
    https://www.erlang.org/docs/23/apps/crypto/fips.html
---
 bin/source-erlang.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/source-erlang.sh b/bin/source-erlang.sh
index 42f5acb..f664d66 100755
--- a/bin/source-erlang.sh
+++ b/bin/source-erlang.sh
@@ -80,7 +80,7 @@ fi
   --without-debugger --without-observer --without-et  --without-cosEvent \
   --without-cosEventDomain --without-cosFileTransfer \
   --without-cosNotification --without-cosProperty --without-cosTime \
-  --without-cosTransactions --without-orber ${DISABLE_JIT}
+  --without-cosTransactions --without-orber --enable-fips ${DISABLE_JIT}
 
 make -j $(nproc)
 make install