Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2024 23:45:20 GMT
From:      Gordon Tetlow <gordon@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4086a0635d38 - main - openssl: Update upgrade instructions.
Message-ID:  <202409072345.487NjKt0094602@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gordon:

URL: https://cgit.FreeBSD.org/src/commit/?id=4086a0635d38d5e6ca29684c2ea2e927f8866e32

commit 4086a0635d38d5e6ca29684c2ea2e927f8866e32
Author:     Gordon Tetlow <gordon@FreeBSD.org>
AuthorDate: 2024-09-07 23:45:05 +0000
Commit:     Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2024-09-07 23:45:05 +0000

    openssl: Update upgrade instructions.
    
    Update download locations.
    Remove references to FREEBSD-Xlist.
    Remove reference to the fips module that has been removed.
---
 crypto/openssl/FREEBSD-upgrade | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/crypto/openssl/FREEBSD-upgrade b/crypto/openssl/FREEBSD-upgrade
index 76943efdbde6..ebe2d85bd8f7 100644
--- a/crypto/openssl/FREEBSD-upgrade
+++ b/crypto/openssl/FREEBSD-upgrade
@@ -9,14 +9,14 @@
 01) Switch to the vendor branch:
 
     $ cd src/freebsd/main
-    $ git worktree add ../vendor/openssl-X.Y freebsd/vendor/openssl-X.Y
+    $ git worktree add -b vendor/openssl-X.Y ../vendor/openssl-X.Y freebsd/vendor/openssl-X.Y
     $ cd ../vendor/openssl-X.Y
 
 02) Download the latest OpenSSL tarball and signature from the official
     website (https://www.openssl.org/source/).
 
-    $ (cd .. && fetch https://openssl.org/source/openssl-X.Y.Z.tar.gz)
-    $ (cd .. && fetch https://openssl.org/source/openssl-X.Y.Z.tar.gz.asc)
+    $ (cd .. && fetch https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz)
+    $ (cd .. && fetch https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz.asc)
 
 03) Verify the signature:
 
@@ -24,11 +24,11 @@
 
 04) Unpack the OpenSSL tarball to the parent directory:
 
-    $ tar -x -X FREEBSD-Xlist -f ../openssl-X.Y.Z.tar.gz -C ..
+    $ tar xf ../openssl-X.Y.Z.tar.gz -C ..
 
 05) Copy to the vendor branch:
 
-    $ rsync --exclude FREEBSD.* --delete -av ../openssl-X.Y.Z/* .
+    $ rsync --exclude .git --delete -av ../openssl-X.Y.Z/ .
 
 06) Take care of added / deleted files:
 
@@ -112,19 +112,11 @@
 
 16) Build and install world, reboot, test.
 
-17) Test the legacy and fips providers as well: (here with "test" as the password)
+17) Test the legacy provider as well: (here with "test" as the password)
 
     $ echo test | openssl rc4 -provider legacy -e -a -pbkdf2
     enter RC4 encryption password:
     Verifying - enter RC4 encryption password:
     U2FsdGVkX1+JvhqxLMOvlxvTi1/h
 
-    # openssl fipsinstall -out /etc/ssl/fipsmodule.cnf -module /usr/lib/ossl-modules/fips.so
-    INSTALL PASSED
-    # vi /etc/ssl/openssl.cnf
-    [enable the FIPS module]
-    # echo test | openssl aes-256-cbc -provider fips -e -a -pbkdf2
-    U2FsdGVkX19lTexiYsnMX83ZLSojBOFwv7GB0Plhgmw=
-
 18) Commit and hope you did not miss anything.
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409072345.487NjKt0094602>