Page MenuHomeFreeBSD
Feed Advanced Search

Fri, Sep 22

khorben_defora.org accepted D41941: ossl: Rebuild the openssl asm.

Looks good to me.

Fri, Sep 22, 8:02 PM
khorben_defora.org accepted D41940: aarch64: support BTI and pointer authentication in assembly.

Sounds good to me then!

Fri, Sep 22, 7:58 PM
khorben_defora.org added a comment to D41940: aarch64: support BTI and pointer authentication in assembly.

I found information confirming my doubts about the keccak code.

Fri, Sep 22, 6:57 PM
khorben_defora.org requested changes to D41940: aarch64: support BTI and pointer authentication in assembly.

Can you review the comment I added about crypto/sha/asm/keccak1600-armv8.pl?

Fri, Sep 22, 6:51 PM
khorben_defora.org added a comment to D41940: aarch64: support BTI and pointer authentication in assembly.

We may also want to consider 40c24d74deaad8a0ad7566a68ea5ea757bc3ccef as well, from OpenSSL's Git repository:

Fri, Sep 22, 6:33 PM
khorben_defora.org added a comment to D41940: aarch64: support BTI and pointer authentication in assembly.

FWIW this patch does not conflict with the import of OpenSSL 3.0.11 that I am currently preparing (vendor import in D41943).

Fri, Sep 22, 3:28 PM
khorben_defora.org requested review of D41943: openssl: Vendor import of OpenSSL 3.0.11.
Fri, Sep 22, 3:18 PM

Mon, Sep 18

khorben_defora.org added a comment to D41750: stand/i386: fix booting over TFTP or NFS.

I have the impression that with these changes, pxeldr will fail to build if MK_LOADER_LUA is not enabled. I am preparing a new patch where SUBDIR_DEPEND_pxeldr+= loader_lua_nozfs is protected by .if ${MK_LOADER_LUA} != "no", but then pxeldr is still hard-coded to L=loader_lua_nozfs; that feels wrong.

Mon, Sep 18, 6:29 PM

Fri, Sep 15

khorben_defora.org requested review of D41879: libcrypto: link engines and the legacy provider to libcrypto.
Fri, Sep 15, 5:26 PM

Thu, Sep 14

khorben_defora.org updated the diff for D41720: libcrypto: fix the FIPS provider on amd64.

Also build aes-586.S for i386.

Thu, Sep 14, 5:47 PM

Wed, Sep 13

khorben_defora.org updated the diff for D41750: stand/i386: fix booting over TFTP or NFS.
  • Created a single new loader variant, loader_lua_nozfs
  • Hard-coded the PXE loader to use loader_lua_nozfs instead of ${LOADER_INTERP}
Wed, Sep 13, 2:04 PM

Wed, Sep 6

khorben_defora.org requested review of D41750: stand/i386: fix booting over TFTP or NFS.
Wed, Sep 6, 12:06 AM

Mon, Sep 4

khorben_defora.org added a reviewer for D41720: libcrypto: fix the FIPS provider on amd64: emaste.
Mon, Sep 4, 6:42 PM
khorben_defora.org abandoned D41719: libcrypto: fix the FIPS provider on amd64.

Submitted again after rebase on -CURRENT.

Mon, Sep 4, 6:29 PM
khorben_defora.org requested review of D41720: libcrypto: fix the FIPS provider on amd64.
Mon, Sep 4, 6:28 PM
khorben_defora.org requested review of D41719: libcrypto: fix the FIPS provider on amd64.
Mon, Sep 4, 6:07 PM

Sep 1 2023

khorben_defora.org abandoned D41668: libcrypto: Further improve Makefile.asm to avoid temporary files.

You are right, with a better look I also see differences with the SHA512 files.

Sep 1 2023, 10:12 AM

Aug 31 2023

khorben_defora.org added reviewers for D41668: libcrypto: Further improve Makefile.asm to avoid temporary files: jhb, emaste.
Aug 31 2023, 11:27 AM
khorben_defora.org abandoned D40379: libarchive: Avoid a build failure with OpenSSL 3.0.
Aug 31 2023, 11:26 AM
khorben_defora.org abandoned D40361: unbound: Request the OpenSSL 1.1 API.
Aug 31 2023, 11:25 AM
khorben_defora.org updated the summary of D41668: libcrypto: Further improve Makefile.asm to avoid temporary files.
Aug 31 2023, 11:20 AM
khorben_defora.org requested review of D41668: libcrypto: Further improve Makefile.asm to avoid temporary files.
Aug 31 2023, 11:13 AM
khorben_defora.org updated the diff for D41306: tzsetup: add support for countries in two continents.
Aug 31 2023, 3:31 AM
khorben_defora.org updated the diff for D41306: tzsetup: add support for countries in two continents.
  • Renamed the new member of struct country
  • Use a switch/case for pass 1 to 3
Aug 31 2023, 3:31 AM
khorben_defora.org accepted D41306: tzsetup: add support for countries in two continents.
Aug 31 2023, 3:31 AM

Aug 29 2023

khorben_defora.org requested changes to D41589: libcrypto: Refactor Makefile.asm so it can be run outside of buildenv.

In my tests the output is identical with and without this revision, except for avoiding the generation of temporary files on i386.
ISTM that the same optimization is possible on arm64, arm, and powerpc{,64,64le} as well by the way; would you consider applying it there as well?
Here is how I test locally: (from secure/lib/libcrypto)

#!/bin/sh
Aug 29 2023, 9:39 PM
khorben_defora.org accepted D41588: Makefile.asm: Simplify variable expansions in generated headers.

To me this looks tidier and also more sensible than before; indeed, why did it set the suffix to .pl only to remove it and add it again?

Aug 29 2023, 8:36 PM
khorben_defora.org abandoned D40365: [PATCH] openssl: Vendor import of OpenSSL-3.0.9.
Aug 29 2023, 8:05 PM

Aug 7 2023

khorben_defora.org added a reviewer for D41250: hardening: remember the answers to each item: emaste.
Aug 7 2023, 1:56 PM
khorben_defora.org added a reviewer for D41306: tzsetup: add support for countries in two continents: emaste.
Aug 7 2023, 1:51 PM
khorben_defora.org added a comment to D41298: bsdinstall: revisit the finalconfig step.

If you're moving code around and modifying it at the same time, please make two commits / revisions so it's much easier to review what's going on. Otherwise you have to flick back and forth between files.

Aug 7 2023, 1:50 PM
khorben_defora.org added a reviewer for D41298: bsdinstall: revisit the finalconfig step: emaste.
Aug 7 2023, 1:48 PM

Aug 3 2023

khorben_defora.org updated the test plan for D41306: tzsetup: add support for countries in two continents.
Aug 3 2023, 8:40 PM
khorben_defora.org requested review of D41306: tzsetup: add support for countries in two continents.
Aug 3 2023, 8:38 PM
khorben_defora.org updated the diff for D41250: hardening: remember the answers to each item.

Re-upload with arc this time (for context)

Aug 3 2023, 6:19 PM
khorben_defora.org added a comment to D41250: hardening: remember the answers to each item.

FYI: D40142

I do not know what the hesitation is there, but I know several people would prefer to see this menu disappear completely.

Thanks, I wasn't aware of this proposal. I can probably improve this patch some more, so that the default settings from the current installation are reflected.

Aug 3 2023, 6:17 PM
khorben_defora.org updated the diff for D41298: bsdinstall: revisit the finalconfig step.

Respect the original copyright for the "finalconfig" code.

Aug 3 2023, 3:45 PM
khorben_defora.org updated the test plan for D41298: bsdinstall: revisit the finalconfig step.
Aug 3 2023, 3:42 PM
khorben_defora.org updated the summary of D41298: bsdinstall: revisit the finalconfig step.
Aug 3 2023, 3:41 PM
khorben_defora.org requested review of D41298: bsdinstall: revisit the finalconfig step.
Aug 3 2023, 3:40 PM
khorben_defora.org updated the diff for D41293: openssl: Vendor import of OpenSSL-3.0.10.

Fix the brief summary in the commit

Aug 3 2023, 2:27 PM

Aug 2 2023

khorben_defora.org added a comment to D41293: openssl: Vendor import of OpenSSL-3.0.10.

review heading is wrong?

Aug 2 2023, 6:45 PM
khorben_defora.org retitled D41293: openssl: Vendor import of OpenSSL-3.0.10 from openssl: Vendor import of OpenSSL-3.0.9 to openssl: Vendor import of OpenSSL-3.0.10.
Aug 2 2023, 6:44 PM
khorben_defora.org added reviewers for D41293: openssl: Vendor import of OpenSSL-3.0.10: ngie, emaste, jkim.
Aug 2 2023, 5:13 PM
khorben_defora.org requested review of D41293: openssl: Vendor import of OpenSSL-3.0.10.
Aug 2 2023, 5:12 PM

Aug 1 2023

khorben_defora.org added a comment to D41250: hardening: remember the answers to each item.

Or let's just let this abomination of a menu finally die...

Aug 1 2023, 9:00 AM

Jul 31 2023

khorben_defora.org added a comment to D41250: hardening: remember the answers to each item.

FYI: D40142

I do not know what the hesitation is there, but I know several people would prefer to see this menu disappear completely.

Jul 31 2023, 6:22 PM
khorben_defora.org updated the diff for D41250: hardening: remember the answers to each item.

With this additional change, the previous settings for all 9 possible hardening options are restored when canceling this menu.

Jul 31 2023, 6:19 PM
khorben_defora.org added a comment to D41250: hardening: remember the answers to each item.

Another improvement would be to add a "Cancel" button to this step, and keep the settings as they were before entering the dialog.

Jul 31 2023, 5:57 PM
khorben_defora.org updated the test plan for D41250: hardening: remember the answers to each item.
Jul 31 2023, 5:48 PM
khorben_defora.org requested review of D41250: hardening: remember the answers to each item.
Jul 31 2023, 5:46 PM

Jul 14 2023

khorben_defora.org accepted D41034: Obsoletefiles.inc: A few OpenSSL 3 cleanups..

LGTM!

Jul 14 2023, 5:16 PM
khorben_defora.org added a comment to D40974: OpenSSL 3 in base.

I approve, thanks for your your report.

I think you need that I commit it for you, is that right? Shall I use Pierre Pronchery <pierre@freebsdfoundation.org> as author of the commit? By the way you should also be added to https://docs.freebsd.org/en/articles/contributors/: is that contact the one to use for that list too?

Thanks.

Jul 14 2023, 1:37 PM
khorben_defora.org added a comment to D41034: Obsoletefiles.inc: A few OpenSSL 3 cleanups..

Thanks for the patch and explanation!
Did you not mean OLD_LIBS instead of OLD_DIRS for capi.so and padlock.so inside the patch itself?

Jul 14 2023, 1:34 PM

Jul 13 2023

khorben_defora.org requested review of D41018: libcrypto: add missing symbols to the FIPS provider.
Jul 13 2023, 3:18 PM

Jul 11 2023

khorben_defora.org added a comment to D40974: OpenSSL 3 in base.

Another relevant link about how to setup the FIPS module, from the documentation within OpenSSL's source code: https://github.com/openssl/openssl/blob/master/README-FIPS.md.

Jul 11 2023, 5:26 PM
khorben_defora.org added a comment to D40974: OpenSSL 3 in base.

I have pushed my branch at https://github.com/khorben/freebsd-doc/tree/khorben/report-openssl3 FWIW.

Jul 11 2023, 5:09 PM
khorben_defora.org added a comment to D40974: OpenSSL 3 in base.

I think the links section is good. I would add only one link into the body of the report (see inline comment).

Jul 11 2023, 4:51 PM
khorben_defora.org updated the diff for D40974: OpenSSL 3 in base.

Apply suggestions from salvadore@; thanks!

Jul 11 2023, 4:50 PM
khorben_defora.org added a comment to D40974: OpenSSL 3 in base.

I'm not familiar with AsciiDoc yet, so I have used only plain text so far. Let me know if I should make use of its capabilities somehow.
I suppose I should also capitalize the title, or add a few links. I was not sure about the right balance for not enough or too many links; I had in mind:

Jul 11 2023, 3:27 PM
khorben_defora.org requested review of D40974: OpenSSL 3 in base.
Jul 11 2023, 3:22 PM

Jul 8 2023

khorben_defora.org accepted D40914: openssl: include d2i_KeyParams() and d2i_KeyParams_bio().

I can confirm that this file does belong in the build indeed (as per crypto/asn1/build.info). Thanks for the heads up, sorry I missed it.

Jul 8 2023, 5:48 PM

Jun 30 2023

khorben_defora.org abandoned D40417: openssl: Import the changes specific to FreeBSD.

Imported in https://github.com/freebsd/freebsd-src/commit/b077aed33b7b6aefca7b17ddb250cf521f938613

Jun 30 2023, 6:01 PM

Jun 5 2023

khorben_defora.org updated the diff for D40417: openssl: Import the changes specific to FreeBSD.

openssl: Enable support for RFC3779
openssl: Fix typos in manual pages
openssl: Limit the changes to obsolete files to us

Jun 5 2023, 4:14 PM

Jun 4 2023

khorben_defora.org requested review of D40417: openssl: Import the changes specific to FreeBSD.
Jun 4 2023, 7:38 PM

Jun 1 2023

khorben_defora.org requested review of D40379: libarchive: Avoid a build failure with OpenSSL 3.0.
Jun 1 2023, 6:53 PM

May 31 2023

khorben_defora.org updated the test plan for D40365: [PATCH] openssl: Vendor import of OpenSSL-3.0.9.
May 31 2023, 10:37 PM
khorben_defora.org updated the summary of D40365: [PATCH] openssl: Vendor import of OpenSSL-3.0.9.
May 31 2023, 10:36 PM
khorben_defora.org requested review of D40365: [PATCH] openssl: Vendor import of OpenSSL-3.0.9.
May 31 2023, 10:32 PM
khorben_defora.org added a reviewer for D40361: unbound: Request the OpenSSL 1.1 API: ngie.
May 31 2023, 7:31 PM
khorben_defora.org added a comment to D40361: unbound: Request the OpenSSL 1.1 API.

As per https://github.com/freebsd/freebsd-src/pull/758.

May 31 2023, 7:00 PM
khorben_defora.org requested review of D40361: unbound: Request the OpenSSL 1.1 API.
May 31 2023, 6:54 PM
khorben_defora.org accepted D40353: dumpon: update OpenSSL initialization call.
May 31 2023, 6:08 PM
khorben_defora.org added a comment to D40343: decryptcore: update for OpenSSL 1.1 API.

The documentation from OpenSSL 3 is more clear about the behaviour of OPENSSL_init_crypto() with regard to the OPENSSL_INIT_LOAD_CONFIG option:

With this option an OpenSSL configuration file will be automatically loaded and used by
calling OPENSSL_config(). This is a default option. Note that in OpenSSL 1.1.1 this was the
default for libssl but not for libcrypto (see OPENSSL_init_ssl(3) for further details about
libssl initialisation). In OpenSSL 1.1.0 this was a nondefault option for both libssl and
libcrypto. See the description of OPENSSL_INIT_new(), below.
May 31 2023, 5:49 PM
khorben_defora.org added a comment to D40343: decryptcore: update for OpenSSL 1.1 API.

In the case of dumpon (similar situation), I found that some initialisation code is in .init in libcrypto.so. I think it comes from ossl_init_base() which in turns calls OPENSSL_cpuid_setup() (caught in gdb below). If I understand it correctly, OPENSSL_init_crypto() makes sure ossl_init_base() has been called or calls it explicitly. But then OPENSSL_init_crypto() also does more than that, and I do not see it being called at all here.

May 31 2023, 5:40 PM
khorben_defora.org accepted D40355: dumpon: check OPENSSL_init_crypto return value.
May 31 2023, 5:10 PM
khorben_defora.org added a comment to D40343: decryptcore: update for OpenSSL 1.1 API.

The documentation also says "This is not a default option for libcrypto." and this call is for libcrypto (OPENSSL_init_crypto() and not OPENSSL_init_ssl()) so @def is probably right.

May 31 2023, 4:50 PM
khorben_defora.org added a comment to D40343: decryptcore: update for OpenSSL 1.1 API.

Are you sure that it is still necessary to call OPENSSL_init_crypto() before entering capability mode?
OpenSSL 1.1 seems to use getentropy(3) on FreeBSD >= 12, or arc4rand(9) otherwise (through sysctl).
Anyway, better safe than sorry.

May 31 2023, 4:27 PM
khorben_defora.org accepted D39832: x11-clocks/wmitime: Revive port.
May 31 2023, 3:27 PM

May 25 2023

khorben_defora.org accepted D40265: libfetch: do not call deprecated OpenSSL functions.

LGTM; and this also builds fine with OpenSSL 3.0.8 in src.

May 25 2023, 3:49 PM

May 24 2023

khorben_defora.org added a comment to D40226: ldns: Upgrade to 1.8.3..

With these changes applied on d1639e43c589644510198dc53aef87e8908a1507 (latest main) the build fails for me in usr.bin/drill:

May 24 2023, 3:45 PM

May 23 2023

khorben_defora.org abandoned D39833: Modify the Makefile to simplify the port, use snprintf().

Reviewed with https://reviews.freebsd.org/D39832 instead.

May 23 2023, 4:30 PM
khorben_defora.org added a comment to D40226: ldns: Upgrade to 1.8.3..

I have added this to lib/libldns/Makefile to fix the build with GCC 12, as caught by the CI:

CWARNFLAGS.parse.c=    ${NO_WUSE_AFTER_FREE}

The build with GCC 12 now fails somewhere else (cddl/lib/libzpool) so I suppose this covers ldns.

May 23 2023, 4:03 PM

Apr 26 2023

khorben_defora.org updated the diff for D39833: Modify the Makefile to simplify the port, use snprintf().

Remove the WWW line in pkg-descr.

Apr 26 2023, 2:42 PM
khorben_defora.org updated the diff for D39833: Modify the Makefile to simplify the port, use snprintf().

Remove the patch for the Makefile.

Apr 26 2023, 2:30 PM
khorben_defora.org added a reviewer for D39833: Modify the Makefile to simplify the port, use snprintf(): jrm.
Apr 26 2023, 2:16 PM
khorben_defora.org requested review of D39833: Modify the Makefile to simplify the port, use snprintf().
Apr 26 2023, 2:15 PM