Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

khorben/openssl 3.0.9 rebased #770

Closed
wants to merge 22 commits into from

Commits on Mar 1, 2023

  1. Import OpenSSL 1.1.1s

    juikim authored and ngie-eign committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    aba33b3 View commit details
    Browse the repository at this point in the history
  2. Import OpenSSL 1.1.1t

    juikim authored and ngie-eign committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    3c320f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. openssl: Vendor import of OpenSSL-3.0.8

    Summary:
    
    Release notes can be found at
    https://www.openssl.org/news/openssl-3.0-notes.html .
    
    Obtained from:  https://www.openssl.org/source/openssl-3.0.8.tar.gz
    Differential Revision:	https://reviews.freebsd.org/D38835
    
    Test Plan:
    ```
    $ git status
    On branch vendor/openssl-3.0
    nothing to commit, working tree clean
    $ (cd ..; fetch http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz.asc)
    openssl-3.0.8.tar.gz                                    14 MB 4507 kBps    04s
    openssl-3.0.8.tar.gz.asc                               833  B   10 MBps    00s
    $ set | egrep '(XLIST|OSSLVER)='
    OSSLVER=3.0.8
    XLIST=FREEBSD-Xlist
    $ gpg --list-keys
    /home/ngie/.gnupg/pubring.kbx
    -----------------------------
    pub   rsa4096 2014-10-04 [SC]
          7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C
    uid           [ unknown] Richard Levitte <richard@levitte.org>
    uid           [ unknown] Richard Levitte <levitte@lp.se>
    uid           [ unknown] Richard Levitte <levitte@openssl.org>
    sub   rsa4096 2014-10-04 [E]
    
    $ gpg --verify openssl-${OSSLVER}.tar.gz.asc openssl-${OSSLVER}.tar.gz
    gpg: Signature made Tue Feb  7 05:43:55 2023 PST
    gpg:                using RSA key 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C
    gpg: Good signature from "Richard Levitte <richard@levitte.org>" [unknown]
    gpg:                 aka "Richard Levitte <levitte@lp.se>" [unknown]
    gpg:                 aka "Richard Levitte <levitte@openssl.org>" [unknown]
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: 7953 AC1F BC3D C8B3 B292  393E D5E9 E43F 7DF9 EE8C
    $ (cd vendor.checkout/; git status; find . -type f -or -type l | cut -c 3- | sort > ../old)
    On branch vendor/openssl-3.0
    nothing to commit, working tree clean
    $ tar -x -X $XLIST -f ../openssl-${OSSLVER}.tar.gz -C ..
    $ rsync --exclude FREEBSD.* --delete -avzz ../openssl-${OSSLVER}/* .
    $ cat .git
    gitdir: /home/ngie/git/freebsd-src/.git/worktrees/vendor.checkout
    $ diff -arq ../openssl-3.0.8  .
    Only in .: .git
    Only in .: FREEBSD-Xlist
    Only in .: FREEBSD-upgrade
    $ git status FREEBSD*
    On branch vendor/openssl-3.0
    nothing to commit, working tree clean
    $
    ```
    
    Reviewers: emaste, jkim
    
    Subscribers: imp, andrew, dab
    
    Differential Revision: https://reviews.freebsd.org/D38835
    ngie-eign committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    e4520c8 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. openssl: Vendor import of OpenSSL-3.0.9

    Summary:
    
    Release notes can be found at
    https://www.openssl.org/news/openssl-3.0-notes.html .
    
    Obtained from:  https://www.openssl.org/source/openssl-3.0.9.tar.gz
    
    Test Plan:
    ```
    $ git status
    On branch vendor/openssl-3.0
    Your branch is up to date with 'origin/vendor/openssl-3.0'.
    
    nothing to commit, working tree clean
    $ (cd ..; fetch http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz.asc)
    openssl-3.0.9.tar.gz                                    14 MB   74 MBps    01s
    openssl-3.0.9.tar.gz.asc                               833  B   10 MBps    00s
    $ set | egrep '(XLIST|OSSLVER)='
    OSSLVER=3.0.9
    XLIST=FREEBSD-Xlist
    $ gpg --list-keys
    /home/khorben/.gnupg/pubring.kbx
    --------------------------------
    pub   rsa4096 2021-07-16 [SC] [expires: 2031-07-14]
          A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C
    uid           [ unknown] Tomáš Mráz <tm@t8m.info>
    uid           [ unknown] Tomáš Mráz <tomas@arleto.cz>
    uid           [ unknown] Tomáš Mráz <tomas@openssl.org>
    sub   rsa4096 2021-07-16 [S] [expires: 2027-07-15]
    sub   rsa4096 2021-07-16 [E] [expires: 2031-07-14]
    
    $ gpg --verify ../openssl-${OSSLVER}.tar.gz.asc ../openssl-${OSSLVER}.tar.gz
    gpg: Signature made Tue May 30 14:32:24 2023 CEST
    gpg:                using RSA key DC7032662AF885E2F47F243F527466A21CA79E6D
    gpg: Good signature from "Tomáš Mráz <tm@t8m.info>" [unknown]
    gpg:                 aka "Tomáš Mráz <tomas@arleto.cz>" [unknown]
    gpg:                 aka "Tomáš Mráz <tomas@openssl.org>" [unknown]
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: A21F AB74 B008 8AA3 6115  2586 B8EF 1A6B A9DA 2D5C
         Subkey fingerprint: DC70 3266 2AF8 85E2 F47F  243F 5274 66A2 1CA7 9E6D
    
    $ tar -x -X $XLIST -f ../openssl-${OSSLVER}.tar.gz -C ..
    $ rsync --exclude FREEBSD.* --delete -avzz ../openssl-${OSSLVER}/* .
    [...]
    $ diff -arq ../openssl-${OSSLVER}  .
    Only in .: .git
    Only in .: FREEBSD-Xlist
    Only in .: FREEBSD-upgrade
    $ git status FREEBSD*
    On branch vendor/openssl-3.0
    Your branch is up to date with 'origin/vendor/openssl-3.0'.
    
    nothing to commit, working tree clean
    ```
    khorben committed May 31, 2023
    Configuration menu
    Copy the full SHA
    68967d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    8f825df View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    6b436be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cd89f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ce2cac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fce9aa4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12c4a91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2056eac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    062e835 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9107c14 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1979115 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fdfe8cf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    07d8d42 View commit details
    Browse the repository at this point in the history
  12. openssl: Automatically disable EC_NISTP_64_GCC_128

    This API is not supported on 32-bit platforms, or on big endian
    platforms.
    khorben committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    1a06ad8 View commit details
    Browse the repository at this point in the history
  13. openssl: Keep OPENSSL_SHLIB_VERSION at 3

    Even though the .so file is at 30 in FreeBSD base (and perhaps wrongly
    at 12 in security/openssl30), calculations for API compatibility should
    match upstream here at 3.
    khorben committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    511a871 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    213c369 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9d82e15 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cc5cacf View commit details
    Browse the repository at this point in the history
  17. openssl: Enable support for RFC3779

    Reported by @otis@bsd.network from Mastodon; thanks!
    khorben committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    34c25cb View commit details
    Browse the repository at this point in the history